[NIP 55] - Instructions on how to use the get_public_key method with content resolver (#2086)

This commit is contained in:
greenart7c3
2025-10-13 15:21:07 -03:00
committed by GitHub
parent 179e421011
commit d54c426709

4
55.md
View File

@@ -295,6 +295,8 @@ For the other types Signer Application returns the column "result"
If the user chose to always reject the event, signer application will return the column "rejected" and you should not open signer application
Clients SHOULD save the user pubkey locally and avoid calling the `get_public_key` after the user is logged in to the Client
#### Methods
- **get_public_key**
@@ -303,7 +305,7 @@ If the user chose to always reject the event, signer application will return the
```kotlin
val result = context.contentResolver.query(
Uri.parse("content://com.example.signer.GET_PUBLIC_KEY"),
listOf("login"),
listOf(hex_pub_key),
null,
null,
null