adkandari / react-native-mock-location-detector

**Only For Android**. Detects if the device is using mock location app to spoof it's real location. In that case user will be prompted to fix the mock location settings first before using the app.
27 stars 24 forks source link

checkMockLocationProvider got 5 arguments expected 2 #15

Closed mughniaziz004 closed 1 year ago

mughniaziz004 commented 1 year ago

I set the function checkMockLocationProvider with argument the function needed

but the function returned RNMockLocationDetector.checkMockLocationProvider got 5 arguments, expected 2

how should i to fix it ?

My RN project use : 0.62

vivkikkk commented 1 year ago

+1

adkandari commented 1 year ago

Hi, I am sorry I am not maintaining this library from quite sometime now. You can check a new fork of this one https://github.com/jpudysz/react-native-turbo-mock-location-detector, looks like it is maintained regularly