Skip to content

Commit abd294a

Browse files
authored
Merge pull request #68 from kholiavko-roman/master
FIX: "Illegal callback invocation from native module."
2 parents 32c7ea6 + 083eb41 commit abd294a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

android/src/main/java/com/showlocationservicesdialogbox/LocationServicesDialogBoxModule.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ public void checkLocationServicesIsEnabled(ReadableMap configMap, Promise promis
4949
@ReactMethod
5050
public void forceCloseDialog() {
5151
if (alertDialog != null && promiseCallback != null) {
52-
promiseCallback.reject(new Throwable("disabled"));
5352
alertDialog.cancel();
5453
}
5554
}

0 commit comments

Comments
 (0)