Skip to content

Commit f7273b5

Browse files
author
Quoc Khanh
committed
fix dismiss func
1 parent 3c015d2 commit f7273b5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

android/src/main/java/com/incomingcall/IncomingCallModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void dismiss() {
6262

6363
// assert activity != null;
6464

65-
UnlockScreenActivity.onDestroy();
65+
UnlockScreenActivity.finish();
6666

6767
return;
6868
}

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"react-native": "0.62.2",
1818
"react-native-bootsplash": "^2.2.4",
1919
"react-native-callkeep": "git://github.com/jpudysz/react-native-callkeep",
20-
"react-native-incoming-call": "git+https://github.com/bkdev98/react-native-incoming-call.git#v2",
20+
"react-native-incoming-call": "git+https://github.com/bkdev98/react-native-incoming-call.git",
2121
"uuid": "^8.3.0"
2222
},
2323
"devDependencies": {

example/yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5441,9 +5441,9 @@ react-native-bootsplash@^2.2.4:
54415441
version "3.0.13"
54425442
resolved "git://github.com/jpudysz/react-native-callkeep#31118a0c90ca5d58824b33ed9ddb80b63e930ea7"
54435443

5444-
"react-native-incoming-call@git+https://github.com/bkdev98/react-native-incoming-call.git#v2":
5444+
"react-native-incoming-call@git+https://github.com/bkdev98/react-native-incoming-call.git":
54455445
version "2.0.0"
5446-
resolved "git+https://github.com/bkdev98/react-native-incoming-call.git#ea8fe8c4711fa39c316f34c5ed412de3f07a12f1"
5446+
resolved "git+https://github.com/bkdev98/react-native-incoming-call.git#3c015d2506b5b0f4c5fe7151ababeb0b31512c5a"
54475447

54485448
react-native@0.62.2:
54495449
version "0.62.2"

0 commit comments

Comments
 (0)