For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 6 replies, 2 voices, and was last updated 13 years, 6 months ago by
support-michael.
-
AuthorPosts
-
schbMemberwhen 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
schbJanuary 25, 2013 at 3:03 am #334584
schbMemberno 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
schbJanuary 25, 2013 at 2:41 pm #334605
support-michaelKeymasterhi
>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.January 25, 2013 at 2:59 pm #334608
schbMember(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
SchbP.s. This does NOT happen when my mobione App. Is shown (executed) in a Tab within safari
January 25, 2013 at 3:23 pm #334610
support-michaelKeymaster>(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.
January 26, 2013 at 4:36 am #334618
schbMemberNo, it’s Not a native iOS App !
Schb
January 26, 2013 at 7:19 am #334619
support-michaelKeymaster>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.
-
AuthorPosts
