-
Notifications
You must be signed in to change notification settings - Fork 62
RGB Tribe integration
Shashank Shinde edited this page Jun 12, 2023
·
5 revisions
RGB client building blocks
- A native module bridge is used to establish bidirectional asynchronous communication with the native kotlin/swift lib.
- The native module interacts with rgb-lib-kotlin on android and rgb-lib-swift on ios using helper artifact.
- Both native libs are basically bindings of the rgb-lib rust lib.
- JS interface calls RGB native module which consists of required methods exposed from the native lib.
- These method calls trigger the execution of native code with required parameters passed in the arguments.
- The native functions are exposed from a helper class
- On the response from the native lib, en event is conveyed back to the JS interface through the native bridge.