简体   繁体   中英

Json error in SAP oData service iOS application

I created sample app using SAP Cloud platform, it also generated Proxy classes with backend url " http://staging .*****.com/OData/sapiOS.svc/". When I running the app it didn't display the details and shows an error: " JsonError: Expected token start character, found '<'." JsonError .

You can ignore all app transport security restrictions with a single key add these to the Info.plist open as Source Code :

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
</dict>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM