Add intent flags

This commit is contained in:
greenart7c3 2024-11-01 08:03:10 -03:00
parent 5bcb2d834a
commit 061d2ac47d
No known key found for this signature in database
GPG Key ID: 885822EED3A26A6D

6
55.md
View File

@ -72,6 +72,12 @@ Set the Signer package name:
intent.`package` = "com.example.signer"
```
If you are sending multiple intents without awaiting you can add some intent flags to sign all events without opening multiple times the signer
```kotlin
intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP or Intent.FLAG_ACTIVITY_CLEAR_TOP)
```
Send the Intent:
```kotlin