diff options
| author | greenart7c3 <greenart7c3@proton.me> | 2024-11-01 08:16:06 -0300 |
|---|---|---|
| committer | greenart7c3 <greenart7c3@proton.me> | 2024-11-01 08:16:06 -0300 |
| commit | 93e6c3880beb3818b47d22c07fd11aa5f1356c41 (patch) | |
| tree | 011cf14f377985715f4112ed6163ec3774320f54 /55.md | |
| parent | 061d2ac47d79819e0efa938f231f2511ac40b419 (diff) | |
Add launchMode for signers
Diffstat (limited to '55.md')
| -rw-r--r-- | 55.md | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -78,6 +78,12 @@ If you are sending multiple intents without awaiting you can add some intent fla | |||
| 78 | intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP or Intent.FLAG_ACTIVITY_CLEAR_TOP) | 78 | intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP or Intent.FLAG_ACTIVITY_CLEAR_TOP) |
| 79 | ``` | 79 | ``` |
| 80 | 80 | ||
| 81 | If you are developing a signer application them you need to add this to your AndroidManifest.xml so clients can use the intent flags above | ||
| 82 | |||
| 83 | ```kotlin | ||
| 84 | android:launchMode="singleTop" | ||
| 85 | ``` | ||
| 86 | |||
| 81 | Send the Intent: | 87 | Send the Intent: |
| 82 | 88 | ||
| 83 | ```kotlin | 89 | ```kotlin |