Skip to Content
author's profile photo Former Member
Former Member

Offline login with SUP 2.0 on IOS native app


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?


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2011 at 07:23 AM

    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 .

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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 ,


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.