diff options
| -rw-r--r-- | 100.md | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -4,13 +4,13 @@ | |||
| 4 | 4 | ||
| 5 | `draft` `optional` | 5 | `draft` `optional` |
| 6 | 6 | ||
| 7 | This NIP describes a method for 2-way communication between a android signer and any Nostr client on Android. The Android signer is an Android Application and the Client can be a Web Client or an Android Application. | 7 | This NIP describes a method for 2-way communication between an Android signer and any Nostr client on Android. The Android signer is an Android Application and the client can be a web client or an Android application. |
| 8 | 8 | ||
| 9 | # Usage for Android applications | 9 | # Usage for Android applications |
| 10 | 10 | ||
| 11 | The Android signer uses Intents and Content Resolvers to communicate between applications. | 11 | The Android signer uses Intents and Content Resolvers to communicate between applications. |
| 12 | 12 | ||
| 13 | To be able to use The Android signer in your application you should this to your AndroidManifest.xml: | 13 | To be able to use the Android signer in your application you should add this to your AndroidManifest.xml: |
| 14 | 14 | ||
| 15 | ```xml | 15 | ```xml |
| 16 | <queries> | 16 | <queries> |
| @@ -38,7 +38,7 @@ fun isExternalSignerInstalled(context: Context): Boolean { | |||
| 38 | 38 | ||
| 39 | ## Using Intents | 39 | ## Using Intents |
| 40 | 40 | ||
| 41 | To get the result back from the Signer Appication you should use registerForActivityResult or rememberLauncherForActivityResult in Kotlin. If you are using another framework check the documentation of your framework or a third party library to get the result. | 41 | To get the result back from the Signer Application you should use `registerForActivityResult` or `rememberLauncherForActivityResult` in Kotlin. If you are using another framework check the documentation of your framework or a third party library to get the result. |
| 42 | 42 | ||
| 43 | Create the Intent using the **nostrsigner** scheme: | 43 | Create the Intent using the **nostrsigner** scheme: |
| 44 | 44 | ||