Closed CliveTeow closed 6 years ago
Seems the promise.reject(new Throwable("disabled")); is called twice. (1st time: cancel or first hardware back press, 2nd time: 2nd hardware back press.
RN and android version ?
react-native: 0.48.0 Android version: 4.4 (real device)
I only able to test this on real devices. My another real device is XiaoMi Redmi Note 2, which will prompt its own request GPS dialog.
@CliveTeow remove this code and its working correctly in my app. BackHandler.addEventListener('hardwareBackPress', () => { LocationServicesDialogBox.forceCloseDialog(); });
The app will crash scenarios: