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

Difference in App Un-enrollment behavior in iOS and Android #4

Closed AbhijitParate closed 4 years ago

AbhijitParate commented 5 years ago

When un-enrolling the app by calling

MAMEnrollmentManager::unregisterAccountForMAM(String upn)

in iOS, method accepts additional flag 'withWipe' but in Android app's data gets wiped forcefully.

Is there any way we can get similar behavior as iOS? We don't really want to wipe the app's data in Android.

meghandaly commented 4 years ago

@AbhijitParate Please see the section for registering for notifications from the SDK in our public documentation specifically the section regarding the WIPE_USER_DATA notification.

It is worth noting that the expectation on unenrollment is that app data associated with the managed account in a single identity app would be removed upon unenrollment.