-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test DPC UI app crashes immediately as soon as it is launched #223
Comments
I confirm this is an issue on Android 13, OneUI 5.1 too. In my case no crash occurs, but the UI is not reacting at all. The only way to remove the device owner is via the app itself which is not possible right now. |
I've tried again after installing the 07/17 update. Still crashes on launch but the error message has changed, now Android suggests me to clear cache or tells me that the app is buggy instead of suggesting me to put it to Deep Sleep. |
Tried again after installing the 07/19 update. Issue still persists, same behavior as before. |
Can you share some additional information and logs / bugreport about this crashes? How are you installing TestDPC and setting it up as Device Owner or Profile Owner? |
I've set it as up as a Device Owner following the instructions on the README. I'm not a dev, just using the app for productivity, so I don't really know how to generate a log ATM. |
TestDPC is a test application and should not be used in production. I'm closing the issue as we can't reproduce it. |
Hello, I'm aware of the fact it's an application meant for testing. We use it when we don't want to use a real UEM. I've just installed the TestDPC app from the Google Play:
I've set the device owner using this adb command:
When I start the app the logcat in Android Studio is immediately flooded with new logs the app crashes. When I filtered the logs for
The notifications permission is mentioned and indeed, I have not granted the app the notifications permission. Looks like a stack overflow caused by the permission not being granted, because granting the permission in the Settings -> Apps -> etc. makes the app working again :) |
Can you please open a different issue? Also, please review your reproduction steps. Installing TestDPC from Play requires setting up an account on the device and that block setting TestDPC as device owner:
|
I've been unable to launch Test DPC's policy settings app since last May, it crashes instantly when I try to launch it. Device is Samsung Galaxy A34 5G. OS is Android 14 w/ Samsung's OneUI 6.0. The version I'm running is the one available at Google Play.
The text was updated successfully, but these errors were encountered: