Commit graph

12 commits

Author SHA1 Message Date
Geert-Johan Riemer
6f3f0ef295
feat: added support for ByteArrays (#19) 2023-05-20 22:05:15 +05:30
Tanay Neotia
c5a7a93e5b
fix: encode URI and ArrayList in JSON data (#14)
* Encode URI in JSON data

* Support ArrayList encoding
2022-10-21 11:37:56 +05:30
Harsh Bhikadia
05a1c3db09 fix: handleIntent: null check added for Intent.categories 2021-06-20 12:58:46 +05:30
Harsh Bhikadia
1f74c72b44 fix: convert intent.categories to List
`Intent.categories` is `Set` but is not supported by "fluter/dart"
2021-06-18 17:56:12 +05:30
Harsh Bhikadia
a5541aa248 - [Intent] renamed ReceivedIntent -> Intent
- [ReceiveIntent] renamed `giveResult` -> `setResult`
- [ReceiveIntentPlugin] removed `intentToMap`, in favour of creating it inside `handleIntent`
2021-04-25 09:20:20 +05:30
Harsh Bhikadia
07f81ea602 - [giveResult] not sending data param if null
- [Utils] `getApplicationSignature`: returning `SHA-256` signature instead of `SHA`
- [Utils] `jsonToBundle`: changed approach
2021-04-24 23:38:30 +05:30
Harsh Bhikadia
61ca0ffb41 typo fix 2021-04-24 21:38:42 +05:30
Harsh Bhikadia
004189b425 [giveResult] added shouldFinish param and integrated 2021-04-24 21:29:33 +05:30
Harsh Bhikadia
b369590279 minor 2021-04-23 18:52:15 +05:30
Harsh Bhikadia
5e109bed8f mapping fixes 2021-04-23 18:45:30 +05:30
Harsh Bhikadia
ed77c100f0 initial working functionality
- `pupsec`: added `>=2.12.0` constraints to `environment.sdk`
- `ReceivedIntent`: added
- `ReceiveIntent`: `getInitialIntent`, `receivedIntentStream` and `giveResult` added
- `example`: simple working example added
- `ReceiveIntentPlugin`: handling `getInitialIntent` and `giveResult` methods and sending "newIntent" events
2021-04-23 14:06:07 +05:30
Harsh Bhikadia
c1edf13ee3 [genesis] initial plugin from project-template 2021-04-23 10:45:26 +05:30