Hi,
we do this steps Getting started with SMP3 Native OData iOS appsto get a native iOS application functioning through the SAP Mobility platform version 3.0 SP05 and retrieving data from OData services.
But we do not understand the register process completely.
If we install the app and do the register process and retrieve the data everything is ok. A user with the ApplicationConnectionID is registered in in SMP. But if we start the app again (without a new installation) we do not register the user again an set the connection id we get in the registration process:
[self.clientConnsetApplicationConnectionID:[selfreadInPlistMitKey:@"appConnectionID"]];
we set the encryptionKey in the manager and initialize the Cache once for the application launch.
[EncryptionKeyManagersetEncryptionKey:key withError:nil];
But if we want to retrieve the data we get a Request Failed.
2015-01-15 18:13:31.885 AuthTest[12663:5b07] Firing requests from DB...
2015-01-15 18:13:31.886 AuthTest[12663:4c07] UrlString: http://smpServerAdress:8080
2015-01-15 18:13:31.889 AuthTest[12663:4c07] Connectivity changed...
2015-01-15 18:13:31.889 AuthTest[12663:4c07] Detected network...
2015-01-15 18:13:31.889 AuthTest[12663:4c07] Start queue...
2015-01-15 18:13:31.900 AuthTest[12663:4c07] UrlString: http://smpServerAdress:8080
2015-01-15 18:13:31.906 AuthTest[12663:907] Request Failed
What do we wrong? Where is the different between the request with registration an without.
Thanks,
André