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

So my extension is getting un registered with server when ios app is in background for some time. #522

Open
saadhma opened this issue Feb 14, 2025 · 2 comments

Comments

@saadhma
Copy link

saadhma commented Feb 14, 2025

I want my app to be keep registered with server in background as it is happening in foreground for iOS side.

@mikaelwills
Copy link
Collaborator

Im not to adversed with this side of it so opening up more a discussion on it.
It seems like theres 3 main ways a registration to a client is kept active.

  1. Periodic client re-registration.
  2. Server sent keep alives.
  3. Server sent 'OPTION' requests.

When i next have my phone test setup back up i could look into how we deal with the first one in that list as thats the only one this package would have control over, the others are up to your server config.

@saadhma
Copy link
Author

saadhma commented Feb 17, 2025

@mikaelwills So please share your idea around how we can achieve this periodic client re-registration while iphone is in background. Love to hear your thoughts on this.
For now, i have implemented silent notifications for this purpose to keep app alive in background on iOS side but sometimes it does not work as expected when we have any internet connectivity issues.

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

No branches or pull requests

2 participants