Commit graph

10 commits

Author SHA1 Message Date
Chris Tomlinson
1aa0f00345
Allow receipt of intents with no action (#9) 2022-02-04 12:19:36 +05:30
TheLastGimbus
4a7bc30f10
Implement toString nicely 2021-10-23 19:38:48 +02:00
Harsh Bhikadia
bbe177a744 feat: added result constant
add `kActivityResultOk` and `kActivityResultCanceled` constant
2021-05-09 11:45:35 +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
004189b425 [giveResult] added shouldFinish param and integrated 2021-04-24 21:29:33 +05:30
Harsh Bhikadia
27029a82f6 minor 2021-04-23 18:52:59 +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