-
Notifications
You must be signed in to change notification settings - Fork 110
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
Errors on xiaomi device #23
Comments
Could you post the entire error log please. Which model are you trying this on? |
im trying this on the xiaomi redmi note 7 |
@ItsKlork Just tried it out on the redmi note 7 and works fine. Could you post the error log along with the android version and miui version on the phone. Have you run the example app from the repo, does that work? |
2019-12-07 11:28:04.696 21706-21706/com.dev.mapup W/System.err: at com.judemanutd.autostarter.AutoStartPermissionHelper.startIntent(AutoStartPermissionHelper.kt:268) |
nothing is happening |
@ItsKlork Which miui version are you on? |
MIUI Global 11.0.4 |
Got the same phone with the same version, works perfectly fine, no clue what's up. |
If you could create a separate repo recreating this exact bug I could give this a try else looks like there's something local to your phone that's causing the issue |
How should I use the AutoStarter in code (in onCreate)? Just to be sure |
Yep that should work fine, it doesn't really depend on any activity lifecycle as such but any lifecycle events after onCreate should be more than safe to use the code in, instead of using the application context try using the activity context instead and see if that works |
closing this issue as there is no further action to be taken |
W/System.err: com.judemanutd.autostarter.AutoStartPermissionHelper.startIntent(AutoStartPermissionHelper.kt:268)
I get 5 more errors when doing
AutoStartPermissionHelper.getInstance().getAutoStartPermission(getApplicationContext());
get this on a xiaomi device. help?
The text was updated successfully, but these errors were encountered: