cancel
Showing results for 
Search instead for 
Did you mean: 

Offline login with SUP 2.0 on IOS native app

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I had faced same issue while I was trying offline login.

The solution is, if you successfully online logged in previously and brought data successfully by subscribing package from sup mbo,use same credential for offline login and don't delete previously created data base and also as u already subscribed package successfully previously don't call subscribe sup api again just call beginsynchronise .

Former Member
0 Kudos

Hello Experts ,

Can anybody help me understand how to achieve OFFLINE communication using SUP 2.0 .

Do we need to import something to achieve that or any specific method that needs to be called.

If i want to pass data to backend using offline communication how do i achieve that .

Thanks ,

Rockkky.