Backendless Support
 
Solved

FLASH (not Flex) iOS not working on device

Ok, I've managed to make it work on Flash Pro (not flex) and in desktop it works, but... Once I export to AIR for iOS and install it on a device, on my first function (very simple one):

  1. var query:BackendlessDataQuery = new BackendlessDataQuery();
  2. query.whereClause = "titulo != 'PIM'";
  3. Backendless.Data.of(Noticias).find(query,responder);

I get this error:

ERROR: ---[FaultEvent fault=[RPC Fault faultString="" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://api.backendless.com/v1/binary'"] messageId="FB7F1D29-5FB6-A5AA-BAB2-2CF29D6CD56F" type="fault" bubbles=false cancelable=true eventPhase=2]

What am I doing wrong?

Thanks,

Leave a Comment

Comments (1)

photo
1

OK, Solved. Nothing to do with Backendless ;-)

This was missing on my XML config:

<key>NSAppTransportSecurity</key>

<dict>

<key>NSAllowsArbitraryLoads</key><true/>

</dict>

THANKS!!!