For Android, set the Remote Path to assets\internal
For iOS, set the Remote Path to StartUp\Documents
// XE3 : DBJSON
// Seattle: System.JSON
var
LJsonArr : TJSONArray;
LJsonValue : TJSONValue;
LItem : TJSONValue;
begin
memo1.Lines.Clear;
LJsonArr := TJSONObject.ParseJSONValue(TEncoding.utf8.GetBytes(memo2.Lines.Text),0) as TJSONArray;
for LJsonValue in LJsonArr do
begin
for LItem in TJSONArray(LJsonValue) do
memo1.lines.add(Format('%s : %s',[TJSONPair(LItem).JsonString.Value, TJSONPair(LItem).JsonValue.Value]));
memo1.Lines.Add('');
end;
end;
QA description
*.info.plist doesn’t contain NSAllowsArbitraryLoads key to enable http, although “Enable HTTP protocol request” project option is checked. The issue is reproduced with Seattle Update 1, but works fine on Berlin 24.0.22128.5503.
乍看之下沒啥,不過最後那句but works fine on Berlin 24.0.22128.5503.。告訴了下一版本Berlin的存在!
三不五時瞄一下QC的文件,果然有驚喜!