Viťa Morávek
Viťa Morávek

Reputation: 122

Android in-app update activity not respecting edge to edge

I have my android app in which I'm implementing the in-app update. I'm using the recommended start update for result method:

startUpdateFlowForResult(AppUpdateInfo appUpdateInfo, ActivityResultLauncher<IntentSenderRequest> activityResultLauncher, AppUpdateOptions options)

this is called in main activity since rest of the app is using Compose with compose navigation.

And now to my issue. Since I have edge to edge enabled, the Immediate android activity is not respecting the insets, so closing button is actually hidden behind the top bar etc.

In-app update with edge to edge enabled

Am I doing something wrong or is there a way to set the insets for actual Google activity?

Upvotes: 2

Views: 33

Answers (0)

Related Questions