TypeError: null is not an object (evaluating 'nativeInterface.configure')
Opened this issue · 5 comments
D3vlin commented
Hi coders
I am using version 2.5.0
I've tried the example setup in a test app and it works, but when I try it in my app it returns this error.
I am testing it on a physical device with Android 7.0.
This is the configuration that I apply.
componentWillMount() {
RNLocation.configure({
distanceFilter: 5.0
});
RNLocation.requestPermission({
ios: "whenInUse",
android: {
detail: "fine",
rationale: {
title: "Location permission",
message: "We use your location to demo the library",
buttonPositive: "OK",
buttonNegative: "Cancel"
}
}
}).then(granted => {
if (granted) {
this._startUpdatingLocation();
}
});
}
D3vlin commented
I have the same problem with 2.4.0 version
subhani-ali commented
I have same issue
any one find solution ?
godfrednanaowusu commented
any solution to this please, I am trying this in expo, is that a reason, I don't seem to know how to go about this.
Shidooo commented
I am still experiencing this problem, any solution?
yuyunfrancis commented
I too have the same error