Not able to resume current page in my Windows Phone app using Cordova

143 Views Asked by At

I am working on a AngularJS project. I am running it on a Windows Phone using Cordova. When I minimize my app and click the app icon again in home screen, the app is restarting and opening again from home page. How am I able to resume my current page in the app using Cordova?

1

There are 1 best solutions below

0
On

@Abraham, I do NOT runs windows, nor do I have windows phone. However under Android and iOS you need to extend the config.xml to the native configuration. I DO NOT KNOW if you can do this under windows.

With Phonegap Build you would extend the configuration via Config File Elements and gap:config-file With Android you would set android:alwaysRetainTaskState. On iOS you would do similar. However, in the documentation I DO NOT see windows, but I have to image there is a method. I would go to the Phonegap Build forum. They have people from phonegap that monitor that.