Skip to content

Commit b40a9b3

Browse files
authored
Merge pull request #67 from farfromrefug/patch-1
dont throw on activity will crash
2 parents 0450e8e + ac75852 commit b40a9b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/InAppBrowser.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ function setup() {
257257
BROWSER_ACTIVITY_EVENTS.off(DISMISSED_EVENT);
258258

259259
if (!InAppBrowserModule.redirectResolve) {
260-
throw new AssertionError();
260+
return;
261261
}
262262
const browserEvent = <ChromeTabsEvent>event.object;
263263
InAppBrowserModule.redirectResolve({

0 commit comments

Comments
 (0)