microsoftconnect / intune-app-wrapping-tool-ios

This is the software for the Intune App Wrapping Tool for iOS.
55 stars 12 forks source link

Wrapped iOS App stuck on the default Splash screen #120

Open rambabupittala opened 3 months ago

rambabupittala commented 3 months ago

Describe the bug: Issue with wrapped iOS build. When the user launches the app, it asks for the organization's pin; after entering the pin, it will be stuck on the default splash screen and will not move forward.

To Reproduce Steps to reproduce the behavior:

  1. Wrap the IPA file with the intune wrapping tool (v19.4.0)
  2. Install the app on user device and launch the app
  3. Enter the organization pin to access the app
  4. It will be stuck on the default splash screen.

Expected behavior: The app should move forward to the next screen.

Screenshots and logs: There are no logs showing, and it is not crashing. It is happening only with the Wrapper iOS build. For a normal iOS build, it is working fine.

Smartphone (please complete the following information):

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

Additional context: On the iPhone XR and 13 Pro devices, issue is not replicating.

wangxiaoms commented 3 months ago

Hi, can you try the latest version 19.5.0. If it still fails, can you get a screenshot, is this happening intermittently or constantly? for one user or any users? can you also share the wrapping command parameters and info plist file.

rambabupittala commented 3 months ago

Hi @wangxiaoms , Thank you for your response. I am checking with version 19.5.0. I will update you on this.

rambabupittala commented 3 months ago

Hi @wangxiaoms,

I have tested with version 19.5.0, but still the same issue is coming. It is happening constantly when the user enters a pin to access the app. After entering the pin, it stops on the blue screen (the default splash screen); if the user closes the app and opens it again, it works fine.

Command and Parameters used: ./IntuneMAMPackager -i ~/Desktop/MyApp.ipa -o ~/Desktop/MyAppWrapped.ipa -p ~/Desktop/myapp.mobileprovision -c “SHA-1” -v true

Kindly check the below mobile screenshots and info plist file screenshot

screen11 screen3

info_plist
wangxiaoms commented 3 months ago

The parameters -ac and -ar are required parameters. Each app will need a unique set of these parameters. -aa is required for single tenant applications. https://learn.microsoft.com/en-us/mem/intune/developer/app-wrapper-prepare-ios#register-your-app-with-microsoft-entra-id

rambabupittala commented 2 months ago

Hi @wangxiaoms,

Thank you for the response. Let me implement this and update you.

rambabupittala commented 2 months ago

Hi @wangxiaoms ,

I have used the Azure login app details (client ID, redirect URI, authorization URI), which I am using for user login to the application (Microsoft login). I am getting the below error once I provide my login details and click submit to access the app. Could you please help me on this?

Command and Parameters used: ./IntuneMAMPackager -i ~/Desktop/MyApp.ipa -o ~/Desktop/MyAppWrapped.ipa -p ~/Desktop/myapp.mobileprovision -c “SHA-1” -ac “client ID” -ar “redirect URI“ -aa authorizationURI v true

screenshot-1721639502598

wangxiaoms commented 2 months ago

Can you provide the values of parameters -ar and -aa. Can you try if you can get logs with below procedure https://learn.microsoft.com/en-us/mem/intune/developer/app-wrapper-prepare-ios#collecting-logs-for-your-wrapped-applications-from-the-device

You can send me email for privacy if needed at wangxiao@microsoft.com

rambabupittala commented 2 months ago

Hi @wangxiaoms ,

I am using my client data. Those details are confidential.its similar to the one below. Regarding logs, since the application is deployed in the Intune company portal, we don't have access to it.

-ar "https://mycompanyname.com"

aa https://login.microsoftonline.com/tenantID/

Are there any settings or permissions to be enabled in the Azure portal?

wangxiaoms commented 2 months ago

The redirect URL should be in format of: msauth.://auth In Azure portal please register app registration, add an iOS/macOS platform then add your bundle ID and get the redirect url. https://learn.microsoft.com/en-us/mem/intune/developer/app-wrapper-prepare-ios#register-your-app-with-microsoft-entra-id Give your app access to the Intune Mobile App Management service https://learn.microsoft.com/en-us/mem/intune/developer/app-sdk-get-started#give-your-app-access-to-the-intune-mobile-app-management-service

rambabupittala commented 2 months ago

Hi @wangxiaoms ,

I am checking the given settings and working on the implementation.

Thank you.

rambabupittala commented 1 month ago

Hi @wangxiaoms , We have not configured the MSAL library. Is it required to add the parameters -ar and -aa ?

Could you please help on this?

wangxiaoms commented 1 month ago

Hi @rambabupittala The parameters -ac and -ar are required parameters. Each app will need a unique set of these parameters. -aa is only required for single tenant applications. See below procedure. https://learn.microsoft.com/en-us/mem/intune/developer/app-wrapper-prepare-ios#register-your-app-with-microsoft-entra-id The redirect URL should be in format of: msauth.://auth