Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

Android: Use walletHandle and poolHandle #6

Merged
merged 4 commits into from
Feb 7, 2020

Conversation

gnarula
Copy link
Contributor

@gnarula gnarula commented Feb 7, 2020

Updated the android module to use walletHandle and poolHandles.

This closes #2

Also added packMessage(), unpackMessage(), cryptoSign() and cryptoVerify()

Makes the API compatible with libindy nodejs wrapper

Signed-off-by: Gaurav Narula <gnarula94@gmail.com>
Signed-off-by: Gaurav Narula <gnarula94@gmail.com>
Signed-off-by: Gaurav Narula <gnarula94@gmail.com>
@gnarula gnarula requested a review from jakubkoci February 7, 2020 19:53
@jakubkoci
Copy link
Contributor

Thanks @gnarula 👍 Good idea with this:

throw new Error(`Unsupported operation! Platform: ${Platform.OS}`)

It allows us to keep information about what's implemented without too much investigation all over again.

@jakubkoci jakubkoci merged commit dc302ad into AbsaOSS:master Feb 7, 2020
jakubkoci pushed a commit that referenced this pull request Jul 14, 2021
* Store pool and wallet handles in maps

Makes the API compatible with libindy nodejs wrapper

* Update exported methods to use walletHandle and buffers

iOS native calls remain untested

* android: Update module name
* crypto: fix return types

Signed-off-by: Gaurav Narula <gnarula94@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add capability to have more wallet instances in Android
2 participants