mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 08:25:53 -05:00
Add intent flags
This commit is contained in:
parent
5bcb2d834a
commit
061d2ac47d
6
55.md
6
55.md
|
@ -72,6 +72,12 @@ Set the Signer package name:
|
||||||
intent.`package` = "com.example.signer"
|
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:
|
Send the Intent:
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
|
|
Loading…
Reference in New Issue
Block a user