Skip to Content

sap.Logon.init and sap.Logon.initPasscodeManager datavaults mutually exclusive on IOS

Sep 07, 2017 at 06:38 PM


avatar image
Former Member


I start my application with sap.Logon.init when it's online (so it fires the SAML2 authentication) and sap.Logon.initPasscodeManager when it's offline so it unblocks the datavault. However, every data I set on the datavault is only accesible under it's own init method, let me explain:

- I'm online, I start my application with sap.Logon.init

- I set any key with sap.Logon.set

- I close the application and turn on airplane mode.

- I'm offline, I start my application with sap.Logon.initPasscodeManager

- I get the previous key with sap.Logon.get

- Key is null.

However, if I come back online and get it again, they key is not null.

This happens on both, simulator and in an iPad device. I have already setup $(CFBundleIdentifier) and clienthubEntitlements in xcode keychain groups.
In Android it's working flawlessly.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers