Skip to content
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

Closed
adi-436 opened this issue Apr 29, 2024 · 9 comments
Closed

Not working in iOS #2009

adi-436 opened this issue Apr 29, 2024 · 9 comments
Labels

Comments

@adi-436
Copy link

adi-436 commented Apr 29, 2024

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?

@christocracy
Copy link
Member

See wiki “Debugging” and learn to observe the logs in XCode.

@adi-436
Copy link
Author

adi-436 commented Apr 30, 2024

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

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label May 31, 2024
@adi-436
Copy link
Author

adi-436 commented May 31, 2024

@christocracy

@christocracy
Copy link
Member

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.

@adi-436
Copy link
Author

adi-436 commented Jun 5, 2024

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.
and also in iOS app i get these notification ,how can i disable them @christocracy

Image

@christocracy
Copy link
Member

See api docs Config.debug. Those notifications are helpful when debugging and fieldtesting,

see wiki “Debugging” also.

@adi-436
Copy link
Author

adi-436 commented Jun 5, 2024

But what about not getting location in iOS @christocracy

@christocracy
Copy link
Member

The issue template is not optional -- it's required.

Your Environment

  • Plugin version:
  • Platform: iOS or Android
  • OS version:
  • Device manufacturer / model:
  • React Native version (react-native -v):
  • Plugin config
PASTE_YOUR_CODE_HERE

Expected Behavior

Actual Behavior

Steps to Reproduce

Context

Debug logs

Logs
PASTE_YOUR_LOGS_HERE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants