React Native: Android app crash after location permission is denied by user

I have a problem with React Native Permissions on Android 23+. If user denies the location permission, my app crashes right after that.

Here is my code:

It works well till user taps "DENY" in location permission dialog and then the app crashes. enter image description here

In my AndroidManifest.xml I have these lines:

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>

I'm using:

"react": "^16.0.0-alpha.6",
"react-native": "^0.43.4",

compileSdkVersion 26
buildToolsVersion '26.0.1'
minSdkVersion 18
targetSdkVersion 26

Is there any way to fix this?

List item