Skip to content

Commit a288117

Browse files
committed
Code review
1 parent 9893cf0 commit a288117

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

android/src/main/java/com/proyecto26/inappbrowser/RNInAppBrowser.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import android.graphics.BitmapFactory;
99
import android.graphics.Color;
1010
import android.net.Uri;
11+
import android.os.Build;
1112
import android.os.Bundle;
1213
import android.provider.Browser;
1314
import android.text.TextUtils;

example/android/app/src/main/java/com/example/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ protected String getMainComponentName() {
1717
@Override
1818
protected void onStart() {
1919
super.onStart();
20-
RNInAppBrowserModule.onStart(this);
20+
RNInAppBrowserModule.onStart(this);
2121
}
2222
}

example/utils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export const tryDeepLinking = async () => {
8282
enableUrlBarHiding: true,
8383
enableDefaultShare: false,
8484
});
85+
await sleep(800);
8586
Alert.alert('Response', JSON.stringify(result));
8687
} else {
8788
Alert.alert('InAppBrowser is not supported :/');

0 commit comments

Comments
 (0)