Skip to content

Commit 46fd78c

Browse files
committed
fix: edittext null 체크
1 parent e26762e commit 46fd78c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cordova-plugin-inappbrowser",
3-
"version": "5.0.16-hogangnono",
3+
"version": "5.0.17-hogangnono",
44
"description": "Cordova InAppBrowser Plugin",
55
"types": "./types/index.d.ts",
66
"cordova": {

plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
2222
id="cordova-plugin-inappbrowser"
23-
version="5.0.16-hogangnono">
23+
version="5.0.17-hogangnono">
2424

2525
<name>InAppBrowser</name>
2626
<description>Cordova InAppBrowser Plugin</description>

src/android/InAppBrowser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ public void onResume(boolean multitasking) {
382382
}
383383

384384
// onelink를 통해 이동 후, 앱에 재 진입 시, 기존 페이지로 전환
385-
if(edittext.getText().toString().contains("onelink.me")) {
385+
if(edittext != null && edittext.getText().toString().contains("onelink.me")) {
386386
goBack();
387387
}
388388
}

0 commit comments

Comments
 (0)