We are experiencing an issue using Intune combined with Realm that results in a crash. When the app is used by a user that does not have an Intune policy, no issues/crashes occur.
When a user with an Intune policy logs in, the device is successfully registered and enrolled with Intune and authenticated with our backend.
Once data from the backend starts being written to the Realm files, the app will crash with a Decryption Failed, SIGABRT, or SIGSEGV error when trying to commit a transaction. The first 1-2 transactions will typically commit successfully.
Once the crash occurs, the app will not launch, and results in the app and Intune Company Portal needing to be deleted and re-installed in order for the app to launch again.
Repro Steps
Login to app triggering Intune registration and enrollment
Store data in Realm
Expectation:
Data can be written to the Realm files
Observation:
App crashes and Realm files are corrupt
Intune Android App SDK Policy Enforcement Issue - Crash
Questions to Ask Before Submission
Summary
We are experiencing an issue using Intune combined with Realm that results in a crash. When the app is used by a user that does not have an Intune policy, no issues/crashes occur.
When a user with an Intune policy logs in, the device is successfully registered and enrolled with Intune and authenticated with our backend.
Once data from the backend starts being written to the Realm files, the app will crash with a
Decryption Failed
,SIGABRT
, orSIGSEGV
error when trying to commit a transaction. The first 1-2 transactions will typically commit successfully.Once the crash occurs, the app will not launch, and results in the app and Intune Company Portal needing to be deleted and re-installed in order for the app to launch again.
Repro Steps
Expectation: Data can be written to the Realm files
Observation: App crashes and Realm files are corrupt
Details
Logs
Company Portal Logs
App Logs/Callstack
AndroidX Dependencies
If your app includes any AndroidX libraries, please list them here, along with the version info:
Third-Party Library Dependencies
If your app includes any third-party libraries, please list them here, along with the version info: