I have a native Android SDK that I need to interact with from a React Native application. For this I have built a native module to interact with the SDK on the application level
Unfortunately I have encountered a problem while implementing, the SDK exposes a delegator that the client can override to influence the SDKs behavior. Most of its methods were simple to implement with events, but two of them need to return a boolean value.
I need to somehow be able to call a js method from my native module and get a boolean value back. I have seen this solution but it does not suit my needs as this method does not return a value.
A google search has yielded no information on this matter, is it even possible?
I would be happy to share code if necessary, any help would be appreciated.