element-android icon indicating copy to clipboard operation
element-android copied to clipboard

Crash - App restarts in a loop

Open yostyle opened this issue 3 years ago • 0 comments

Steps to reproduce

  1. Install the app
  2. 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

yostyle avatar Sep 23 '22 11:09 yostyle