Steps to Reproduce
- The issue is only reproducible with one of my apps: https://play.google.com/store/apps/details?id=com.svprdga.birthdays
- Launch the previous app in a Galaxy A3 (2017), I haven't tested if the bug also happens in other devices
Expected results:
The app is launched successfully.
Actual results:
The app crashes just after the native splash screen.
Stacktrace:
2020-12-03 06:55:44.035 4910-4910/? E/flutter: [ERROR:flutter/shell/platform/android/platform_view_android_jni_impl.cc(44)] java.lang.SecurityException: Permission Denial: broadcast from android asks to run as user -1 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL or android.permission.INTERACT_ACROSS_USERS
at android.os.Parcel.readException(Parcel.java:1967)
at android.os.Parcel.readException(Parcel.java:1913)
at android.app.IActivityManager$Stub$Proxy.reportActivityFullyDrawn(IActivityManager.java:8579)
at android.app.Activity.reportFullyDrawn(Activity.java:2015)
at io.flutter.embedding.android.e.c(Unknown Source:6)
at io.flutter.embedding.android.f$a.c(Unknown Source:6)
at io.flutter.embedding.android.m$b.c(Unknown Source:28)
at io.flutter.embedding.engine.FlutterJNI.onFirstFrame(Unknown Source:21)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:325)
at android.os.Looper.loop(Looper.java:142)
at android.app.ActivityThread.main(ActivityThread.java:6944)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
NOTE 1: If I try to open the app just after it has crashed, I can open it without problems. It only happens the very first time I open it. (If I kill the process and try to open it again, the crash happens).
NOTE 2: The error doesn't happen in debug builds, only in the production signed build.
Steps to Reproduce
Expected results:
The app is launched successfully.
Actual results:
The app crashes just after the native splash screen.
Stacktrace:
NOTE 1: If I try to open the app just after it has crashed, I can open it without problems. It only happens the very first time I open it. (If I kill the process and try to open it again, the crash happens).
NOTE 2: The error doesn't happen in debug builds, only in the production signed build.