mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 00:25:50 -05:00
Add result from multiple intents
This commit is contained in:
parent
93e6c3880b
commit
03a555beb5
17
55.md
17
55.md
|
@ -84,6 +84,23 @@ If you are developing a signer application them you need to add this to your And
|
||||||
android:launchMode="singleTop"
|
android:launchMode="singleTop"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Signer MUST answer multiple permissions with an array of results
|
||||||
|
|
||||||
|
```kotlin
|
||||||
|
|
||||||
|
val results = listOf(
|
||||||
|
Result(
|
||||||
|
package = signerPackageName,
|
||||||
|
result = eventSignture,
|
||||||
|
id = intentId
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
val json = results.toJson()
|
||||||
|
|
||||||
|
intent.putExtra("results", json)
|
||||||
|
```
|
||||||
|
|
||||||
Send the Intent:
|
Send the Intent:
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
|
|
Loading…
Reference in New Issue
Block a user