Skip to content

Commit

Permalink
CP-9632 Buy flow starts over if app is put in background or inactive …
Browse files Browse the repository at this point in the history
…while native in-app browser is open on Android (#2194)
  • Loading branch information
neven-s authored Jan 20, 2025
1 parent 73286db commit a166731
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
android:exported="true"
android:label="@string/app_name"
android:launchMode="singleTask"
android:launchMode="singleTop"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustResize"
android:theme="@style/BootTheme"
Expand Down
3 changes: 2 additions & 1 deletion packages/core-mobile/app/hooks/useInAppBrowser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ const useInAppBrowser = (): {
navigationBarDividerColor: 'white',
enableUrlBarHiding: false,
enableDefaultShare: true,
forceCloseOnRedirection: false
forceCloseOnRedirection: false,
showInRecents: true
}
openInAppBrowser(url, options)
}
Expand Down

0 comments on commit a166731

Please sign in to comment.