Did a fresh install into my project. This error only occurs to iOS.
RN Version: 0.44.0
I followed the official guide and include the snippet below into my componentWillMount() but iOS simulator complains.
Any idea? The library is correctly linked.
BackgroundGeolocation.configure({
desiredAccuracy: 0,
stationaryRadius: 0,
distanceFilter: 0,
debug: false,
startOnBoot: false,
startForeground: true,
stopOnTerminate: false,
locationProvider:
BackgroundGeolocation.provider.ANDROID_ACTIVITY_PROVIDER,
saveBatteryOnBackground: false,
interval: 1000,
fastestInterval: 1000,
activitiesInterval: 100,
stopOnStillActivity: false,
activityType: "Fitness",
maxLocations: 0,
syncThreshold: 0
});
I have the same issue, did you find out the solution?
@Vetalyo Just found out that the libsqlite3.tbd was not included. It is working now but some methods like getLocations() and a few others are not working for iOS. Just found out that some of the methods have not implemented. --> #18
Yep, usually this kind of errors means the plugin was not installed correctly
Same issue here on Android.
hello same for me,
if someone have a work around (an "how to" for beginner), could be really great :-)
thx in advance
Previous messages were correct. This is simply due to failed integration with native Android layer (missing Gradle changes, source code changes, etc)
I have this issue on Android. I am new to react native and I have no idea what to do to get this working.
I don't know what the poster above means when he says
This is simply due to failed integration with native Android layer (missing Gradle changes, source code changes, etc)
Notice: this issue has been closed because it has been inactive for 59 days. You may reopen this issue if it has been closed in error.
In my case, it is due to linking the wrong binary. Make sure it is libRCTBackgroundGeolocation.a and not libBackgroundGeolocation.a.
I got this problem on RN 62.2 too. (iOS)
In my case, it is due to linking the wrong binary. Make sure it is
libRCTBackgroundGeolocation.aand notlibBackgroundGeolocation.a.
this work for me with manual link, RN 62.2. ^0.6.3
Most helpful comment
In my case, it is due to linking the wrong binary. Make sure it is
libRCTBackgroundGeolocation.aand notlibBackgroundGeolocation.a.