mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-14 11:26:23 +00:00
signer can return the application package name when sign in
This commit is contained in:
parent
70a722b5d6
commit
e050386b84
2
100.md
2
100.md
@ -61,6 +61,8 @@ intent.`package` = "com.example.signer"
|
|||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
val npub = intent.data?.getStringExtra("signature")
|
val npub = intent.data?.getStringExtra("signature")
|
||||||
|
// The package name of the signer application
|
||||||
|
val packageName = intent.data?.getStringExtra("package")
|
||||||
```
|
```
|
||||||
|
|
||||||
- **sign_event**
|
- **sign_event**
|
||||||
|
Loading…
Reference in New Issue
Block a user