Closed zalaris closed 5 years ago
Hey @zalaris, could you collect the Intune logs after reproducing the issue, then email them to KyleReis@microsoft.com ? There should be a toggle switch available to enable the Intune diagnostics console in your app's settings under the iOS "Settings" app. Once you enable that, the next time you launch your app you should see our diagnostics console, where you can collect logs and share them out.
Hey @Kyle-Reis, I have sent Intune logs as you asked.
Hey @zalaris, I didn't see anything strange in the logs. I'm going to see if I can reproduce this myself. Just one clarifying question: by local app data, do you mean that files saved to local storage have gone missing, or do you mean items in the keychain can't be found?
Hi @Kyle-Reis, I mean local storage for web app including WEB SQL and Indexed DB items. Those marked in red from screenshot below (Google Chrome console):
@zalaris I'm curious can you give me some idea how you wrapped your Cordova app with Intune? As far as I can tell the Intune Cordova plugin is deprecated. Did you roll your own plugin?
@zalaris, are you still facing this issue?
@jarbot, the Intune App Wrapping Tool for iOS can be used to wrap compiled apps that were developed with Native code as well as cross platform technologies like Cordova or Xamarin.
Closing out this issue due to inactivity. Feel free to reopen if you're still experiencing issues!
Hey, We have Cordova app wrapped using Intune wrapper tool. Everything works fine except it wipes local storage of the app after you kill it. When you run it for the second time and then save some data, it stays untouched event if you kill the app. I noticed that wrapping tool set MAMPolicyRequired property to YES in Info.plist. It is written in the Intune SDK guides that in this case the app is not restarted after MAM policy is fetched. If we manually set that property to NO then it restarts the app after successful authentication and all app data stays in local storage even after the app is manually killed.
Is it possible to fix the tool so it either provide a possibility to change MAMPolicyRequired property in Info.plist (because it set it to YES explicitly during wrapping) or so it would trigger an app restart after policy is acquired and before the app start to save something into local storage.
Thanks!