Open BlakeKaufman opened 1 month ago
Hi @BlakeKaufman , there was some incompatibility in kotlin types with react native. Fix android bindings and more related stuff in https://github.com/lvaccaro/lwk-rn/pull/11 . Could you check again your code?
I could make a new tag and publish a npm release, if it makes your tests easier. thanks
Ya, could you make another tag on npm? It will ensure I don't add any user error when copying changes.
Merged #11 and tag new release 0.1.1 available at https://www.npmjs.com/package/lwk-rn
I have installed the LWK into a bare react-native test environment You can reproduce the issue here: https://github.com/BlakeKaufman/lwkTest
Everything seems to be working fine on IOS, however, Android is returning errors when calling methods.
When calling
wollet.getAddress();
I am getting an error saying: LwkRnModule.getAddress got 4 arguments, expected 3. This error is crashing the app.When calling
wollet.getTransactions()
I am getting a warning saying: java.lang.illegalArgumentException: Could not convert class lwk.Txid. Although it is just a warning nothing is returned.when calling
wollet.getBalance()
I am getting a warning saying: java.lang.RuntimeException: Cannot convert argument of type class koltin.collections.builders.MapBuilder. Although this is just a warning, nothing is returned.The code I am running is