microsoftconnect / Taskr-Sample-Intune-Android-App

Taskr is a simple, open source, Android app designed to let you test out the capabilities of the Microsoft Intune APP SDK.
MIT License
21 stars 18 forks source link

Demo App Stuck at "Install Company Portal app" dialog #3

Closed AbhijitParate closed 4 years ago

AbhijitParate commented 5 years ago

Trying out Demo app for MAM.

  1. Created app in Intune portal
  2. Added permissions and ran the app
  3. Signed in with assigned user
  4. sign successful
  5. Shows prompt to install Company Portal

Stuck forever at screen 5, ever after app restart, device restart.

Also tried clearing app data while company portal is still installed and then logging in the demo app. It still shows the dialog from step 5.

I upgraded the libraries to latest version -> 5.7.1

image

AbhijitParate commented 5 years ago

@meghandaly Can you please direct me to someone who can help with this?

meghandaly commented 5 years ago

Hi @AbhijitParate,

Can you trying adding android.injected.testOnly=false to the project's gradle properties file?

This should force the application to recognize the Company Portal.

AbhijitParate commented 5 years ago

Hey @meghandaly , That worked. Thanks a lot.

I noticed handing over to Company Portal is not very smooth. I had to login multiple times. While I was entering email and password another login prompt appeared. Several of them. I guess due auto-retry mechanism.

meghandaly commented 5 years ago

@AbhijitParate Of course, happy to hear that resolved the issue for you.

Thank you for that observation. I will investigate further and see what improvements can be made.