diff options
| author | greenart7c3 <greenart7c3@proton.me> | 2024-11-01 08:24:52 -0300 |
|---|---|---|
| committer | greenart7c3 <greenart7c3@proton.me> | 2024-11-01 08:24:52 -0300 |
| commit | 03a555beb58296bef326f6469bbcf2b73ea144f6 (patch) | |
| tree | 8e65a01092b214c63a8e7653d590f9e976bf95f8 | |
| parent | 93e6c3880beb3818b47d22c07fd11aa5f1356c41 (diff) | |
Add result from multiple intents
| -rw-r--r-- | 55.md | 17 |
1 files changed, 17 insertions, 0 deletions
| @@ -84,6 +84,23 @@ If you are developing a signer application them you need to add this to your And | |||
| 84 | android:launchMode="singleTop" | 84 | android:launchMode="singleTop" |
| 85 | ``` | 85 | ``` |
| 86 | 86 | ||
| 87 | Signer MUST answer multiple permissions with an array of results | ||
| 88 | |||
| 89 | ```kotlin | ||
| 90 | |||
| 91 | val results = listOf( | ||
| 92 | Result( | ||
| 93 | package = signerPackageName, | ||
| 94 | result = eventSignture, | ||
| 95 | id = intentId | ||
| 96 | ) | ||
| 97 | ) | ||
| 98 | |||
| 99 | val json = results.toJson() | ||
| 100 | |||
| 101 | intent.putExtra("results", json) | ||
| 102 | ``` | ||
| 103 | |||
| 87 | Send the Intent: | 104 | Send the Intent: |
| 88 | 105 | ||
| 89 | ```kotlin | 106 | ```kotlin |