mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
Android: Makes it impossible to have multiple instances of the app open (#5587)
This commit is contained in:
parent
16d5047379
commit
8b68da4040
@ -44,13 +44,18 @@
|
||||
|
||||
2020-10-08: Changed back again to "singleTop" as it has worked so far. The multiple instance bug was "fixed" in a different way
|
||||
See packages/app-mobile/root.js for more info about the bug.
|
||||
|
||||
2021-11-20: Changed to "singleTask" to ensure deep linking doesn't cause multiple instances.
|
||||
This is recommended in the React docs: https://reactnavigation.org/docs/deep-linking. In practice, "singleTask" and "singleTop" are
|
||||
largely similar, but "singleTask" is more strict in preventing multiple instances of the app from being created if another app
|
||||
explicitly requests it.
|
||||
-->
|
||||
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:label="@string/app_name"
|
||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||
android:launchMode="singleTop"
|
||||
android:launchMode="singleTask"
|
||||
android:windowSoftInputMode="adjustResize">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
Loading…
Reference in New Issue
Block a user