element-android
element-android copied to clipboard
Crash - App restarts in a loop
Steps to reproduce
- Install the app
- Launch the app
Outcome
When the dialog to ask if the app can send notifications is displayed, app restarts in a loop on Android 13 after a fresh install. From Android 13, permission is asked on the first run of the app.
I guess this issue is related to Strandhogg detection because we have this log in logcat in debug : im.vector.app.debug E/VectorActivityLifecycleCallbacks$onActivityCreated: Application is potentially corrupted by an unknown activity
The activity com.android.permissioncontroller.permission.ui.GrantPermissionsActivity launched by OS is detected as corrupted because it is not declared in the app manifest.
To avoid this problem we should add exposed activities by PackageInstaller app in activitiesInfo array
Your phone model
Google Pixel 6A
Operating system version
Android 13
Application version and app store
Element version 1.4.36
Homeserver
matrix.org
Will you send logs?
No
Are you willing to provide a PR?
No