microsoftconnect/intune-app-wrapping-tool-ios

Wrapped IOS app stuck at white screen after re-installation.

lrmakode opened this issue · 15 comments

Describe the bug:
App stuck at white screen on launch after re-installation. If the session is already authenticated(user is not asked for pin) then white screen appears.

To Reproduce
Steps to reproduce the behavior:

  1. Install Wrapped Intune App.
  2. Open and authenticate.
  3. Unistall the App
  4. ReInstall the app.(White screen appears on launch)

Expected behavior:
White screen should not appear.

Smartphone (please complete the following information):

  • Device: iPhone-se,10,11,12. iPad-6thGen, 7thGen.
  • OS: iOS-13,14

Intune app wrapping tool (please complete the following information):

  • What version of the wrapper are you using? Are you using the latest version? Yes(14.4.1)
  • What platform is your app based in (Java, Xamarin based, Cordova, etc)? Cocoa
  • For pre-wrapping errors, does the app build without being wrapped? Yes
  • For post-wrapping errors, does the app launch without being wrapped? Yes

Additional context:
Add any other context about the problem here.
The issue was observed after wrapping with the latest wrapping tool. previously we were using 12.8.0

Hi @lrmakode. I was not able to reproduce this issue. Is your app a native Obj-C/Swift app? Can you provide a screen shot of the white screen you are seeing?

Hi @gastaffo our app is Obj-C app, please find attached video in the following video issue is reproduced.
https://user-images.githubusercontent.com/3403274/120613927-54081b80-c474-11eb-97c3-fa8a555804be.MP4

in the following video issue is not there as user is asked for authentication.
https://user-images.githubusercontent.com/3403274/120614317-b82adf80-c474-11eb-8a8d-a619f34a499a.MP4

Hi @lrmakode. Ok looks like we aren't giving UI control back correctly. Can you send logs from the device? You can bring up the diagnostics console by going to the app in the settings panel Microsoft Intune -> Display Diagnostics Console.

Also does your app do any swizzling at start up?

Hi @gastaffo please find logs attached. we are not using swizzling our iOS app.
IntuneMAMDiagnosticFiles.txt

let me know if anything else is required, if you want I can send the logs for the case in which issue is not reproduced.

Hi @lrmakode. Could you repro the issue again with verbose logging enabled? To enable verbose logging add the key "VerboseLoggingEnabled" to YES in the "IntuneMAMSettings" dictionary of the apps info.plist

Hi @gastaffo please find attached verbose logs with verbose logging enabled.
With Issue
IntuneMAMDiagnosticFiles_WithTheIssue.txt
Without Issue
IntuneMAMDiagnosticFiles_WithoutTheIssue.txt

Hi @lrmakode. We aren't noticing anything out of place in the logs. It would be best if we could start an support ticket. To do this go to https://endpoint.microsoft.com/#home "Troubleshooting + support" -> "Help and support" -> "Intune".

Also another question, is the app linking to MSAL/ADAL before being wrapped?

Hi @gastaffo, Thanks for the help we have raised issue at Microsoft support and to answer you question we are not using MSAL or ADAL in our app.

Issue has been raised with internal support. No longer communicating on this thread. Closing issue.

I am also facing this issue ... Have you found RCA and the fix

@iit2008047 Could you provide logs from your repro like above? With the verbose key enabled.

To Reproduce
https://user-images.githubusercontent.com/76396/142637892-a658759e-d564-4224-875b-af521f94ded9.mp4

Expected behavior:
The wrapped app should open

pen
Screenshots and logs:
IntuneMAMDiagnosticFiles (1).txt

Closing as is solved in #68