Skip to Content
0
Former Member
Oct 10, 2011 at 06:40 PM

Offline login with SUP 2.0 on IOS native app

39 Views

Hi,

WHile trying to achieve offline login I always get NO as answer of the request. My code is:

 BOOL offlineLoginOk = [SAGAOnline_SAGAOnlineDB offlineLogin: user password:pass]; 

With same user and password I always get online login without any problems.

Should I register credential once correctly logged (in online mode)? I've tried that with that piece of code:

[SAGAOnline_SAGAOnlineDB storeCredential:user passwordHash:123];

Does anyone have experience with offline IOS apps with Sybase?

Thanks