You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to replicate:
Call startActivity twice in a row, very quickly.
Error:
Illegal callback invocation from native module. This callback type only permits a single invocation from native code.
com.poberwong.launcher.IntentLauncherModule.onActivityResult (IntentLauncherModule.java:105)
The problem occurs because of this shared promise variable. If startActivity gets called a second time, before the onActivityResult callback, that promise value is replaced with the second one. Then this line gets called twice on that same second Promise object, and fails.
The text was updated successfully, but these errors were encountered:
How to replicate:
Call
startActivity
twice in a row, very quickly.Error:
The problem occurs because of this shared
promise
variable. IfstartActivity
gets called a second time, before theonActivityResult
callback, thatpromise
value is replaced with the second one. Then this line gets called twice on that same secondPromise
object, and fails.The text was updated successfully, but these errors were encountered: