I'm working on a project which integrates 3rd party SDK in it. The SDK method needs my activity to be passed in.
I'm doing this...
processRegistration(getCurrentActivity(), someEncryptedString);
and I'm getting following error...
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@5b558ea
I'm using react-navigation and above code is called on 3rd screen(component). 2nd screen is 'replace'd 3rd
Can someone help to solve this?