IBM-MIL / IBM-Ready-App-for-Retail

Ready App to create a contextual shopping experience based on location (using beacons) in a retail environment.
https://developer.ibm.com/open/ibm-ready-app-for-retail
Other
38 stars 26 forks source link

Getting Started is missing instructions on how to configure the worklight server #28

Open l2fprod opened 8 years ago

l2fprod commented 8 years ago

After I start the iOS app the first time, it complains about "Can't Connect To Server"

1/ I need to modify worklight.plist to point to the MFP server

2/ I need to update the Info.plist with

  <key>NSAppTransportSecurity</key>
  <dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
    <key>NSExceptionDomains</key>
    <dict>
      <key>9.222.11.22</key>
      <dict>
        <key>NSIncludesSubdomains</key>
        <true/>
        <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
        <true/>
      </dict>
    </dict>
  </dict>

so it can connect to the server.

FYI the Ready App for Banking handles all this automatically during its MFP build process.