-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working in iOS #2009
Comments
See wiki “Debugging” and learn to observe the logs in XCode. |
My functionality is that i have to send the current location of the user through socket.io event if the app is in foreground or background . But this is working fine in android but not in IOS. can you please that what can be the reason for the same @christocracy |
This issue is stale because it has been open for 30 days with no activity. |
The plug-in has nothing to do with your application code, including Socket.io. the plug-in fires events. What you do in those event-handlers is your own responsibility. also, see api docs .startBackgroundTask. |
I know , but my point is that i have followed every step to initialise your sdk in my app , but my functions works in android , but not even getting the location in iOS in foreground mode also please help. |
See api docs Config.debug. Those notifications are helpful when debugging and fieldtesting, see wiki “Debugging” also. |
But what about not getting location in iOS @christocracy |
The issue template is not optional -- it's required. Your Environment
PASTE_YOUR_CODE_HERE Expected BehaviorActual BehaviorSteps to ReproduceContextDebug logsLogs
|
This is my code configureBackgroundGeolocation = () => {
}; onLocation = location => {
}; onLocationError = error => { onMotionChange = location => { onActivityChange = activity => { onProviderChange = provider => { startTrackingLocation = () => { stopTrackingLocation = () => { setSendLocationUpdates = shouldSend => { In App.js
|
Learn to syntax highlight code blocks. also, you’ve still not provided all the requested information from the issue template. |
I have configured everything for iOS according to the documentation for installation but code is not working . The Same code works fine for android devices. Also i have tried to use the example code in the iOS device still it doesn't work, can anyone help?
The text was updated successfully, but these errors were encountered: