facebook

switch from & return to mobione webapp on iPad restarts

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #334281 Reply

    schb
    Member

    when i switch away from my mobione app on an iPad (using another iPad app) and then return to my mobione app the mobione-application gets restarted to the start screen and all formerly entered data and status is lost.

    is there an easy way to avoid this or does the app have to become a “native app” ?

    thanks again
    schb

    #334584

    schb
    Member

    no help for my question so far …

    i know that i can save my data to localStorage and restore it from there.
    but why can´t my mobione application just “sleep” in the backround when i switch to another app and then continue where i have left when i return to it ?
    this is common for any other iPad / iPhone appliaction.

    is this the “normal way” a mobione application behaves or is there an application option i have to select ?

    thanks
    schb

    #334605

    support-michael
    Keymaster

    hi

    >but why can´t my mobione application just “sleep” in the backround when i switch to another app and then continue where i have left when i return to it ?

    Can you share more details:

    1) you mention testing on an ipad device, what version of ipad and iOS

    2) can you share details about how your app is being restarted?
    For example I ran a simple mobione iOS app that I fill in some data. I then switch to facebook and back to my app. My app does not restart and the form data I filled in earlier is still present.
    2a) actually if you can share a small project that demonstrates the problem that would be very helpful.

    #334608

    schb
    Member

    (1) i have an iPad 3 with iOs 5

    (2) When i switch to Facebook App. (as an Example) and then back to my App. (NOT just another Safari Page) my App. get’s restartet like i have started it directly from the Desktop for the very first Time (my Data explicitely stored in the localStorage by my app is OK)

    your response indicates that this is NOT normal ?

    Thanks
    Schb

    P.s. This does NOT happen when my mobione App. Is shown (executed) in a Tab within safari

    #334610

    support-michael
    Keymaster

    >(2) When i switch to Facebook App. (as an Example) and then back to my App. (NOT just another Safari Page) my App.

    Since you mention safari let me confirm, that your app is a native iOS app, i.e., you built it using the iOS App Build wizard and installed it via the MobiOne OTA installer or from iTunes? Just need to confirm we are talking about the same context.

    My test was performed by building a native iOS app and installing on an ipad1. I have an ipad2 that I can test on shortly.

    #334618

    schb
    Member

    No, it’s Not a native iOS App !

    Schb

    #334619

    support-michael
    Keymaster

    @schb

    >No, it’s Not a native iOS App !

    Thanks for the info. That is the issue. When mobile safari is backgrounded and then resumed it reloads the webapp. Switching to a native app will resolve this resetting issue.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: switch from & return to mobione webapp on iPad restarts

You must be logged in to post in the forum log in