Hi Team, We are using following different concepts for storing the users data in the device in our hybrid mobile application and even though the app is killed or closed from background we should get the stored values, Because our app should work in offline as well. We are using below code to store. (language:jquery) 1.localStorage.put("some key", "somevalue") 2.preference.put("some key", "somevalue") 3.globalpreference.put("some key", "somevalue") 4.memorypreference.put("some key", "somevalue") And we are below code to retrive back. 1.localstorage.get("some key") 2.preference.get("some key") 3.globalpreference.get("some key") 4.memorypreference.get("some key) This concept was working 100% till iOS version 12.4.2 But this concept not working in iOS version 13.1, 13.2 The data will retain only when the app is in active state. But the stored key itself is deleted once we kill or destroyed the app from background task in iOS 13 device (iPad)and check back again. Surprisingly, Our above concept is perfectly working in Xcode 11.2 with iPad stimulator and even it will work on on real device debugging, and also for Lower version device. But when we generate the ipa and downloaded in real device, the data is getting deleted when we kill/close the application without uninstalling. But the same ipa working fine in lower version of real device. Kindly help us regarding this, because there is no code changes and we are unable to debug it because it is working as expected in stimulator. Need help on urgent basis because it is impacting our business for higher version of iPad device. Is there any work around for it?
Post
Replies
Boosts
Views
Activity
How to renew the automatically created provisional profile before expiring date, Say it is going to expire in next 1 week and how can I renew it today only. And also how can we check the automatically created a profile in the Apple developer portal account, And can we delete the profile and create the new one?
My app is a hybrid app when I run the Xcode simulator then js alert (alert() function) showing an alert message with the file name as a title, till now it is working fine but I faced this issue only in Xcode 11.5, Xcode 11.4.1.How can we hide the alert title? And also when I kill the application and quit the Xcode and open the app directly from a simulator without running source code from Xcode it is fine.Code we are using:- alert("This is an alert")
How to enable the fold option, or to find the closing tag or closing function on hold of command key in Xcode 11.5 especially for HTML files.This option was enabled in Xcode 10. So it was easy for us to find the closing tag in the HTML page, but it was not there in Xcode 11.5 is there any option to enable it.Please help us.