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

Messages do not fire when the app is in the background. #6

Open
kwg105 opened this issue Sep 8, 2020 · 3 comments
Open

Messages do not fire when the app is in the background. #6

kwg105 opened this issue Sep 8, 2020 · 3 comments

Comments

@kwg105
Copy link

kwg105 commented Sep 8, 2020

While onMessage always works, onResume never fires for me while the app is in the background.

@vuitv
Copy link

vuitv commented Oct 3, 2020

i too have same issues

@krongnang
Copy link

@vuitv @kwg105 any update?

@x401om
Copy link

x401om commented Nov 4, 2020

Hey guys! I suppose you faced the limitation:

Important

On iOS 13.0 and later, if you fail to report a call to CallKit, the system will terminate your app. Repeatedly failing to report calls may cause the system to stop delivering any more VoIP push notifications to your app. If you want to initiate a VoIP call without using CallKit, register for push notifications using the User Notifications framework instead of PushKit. For more information, see User Notifications.

https://developer.apple.com/documentation/pushkit/pkpushregistrydelegate/2875784-pushregistry

When I faced this issue, I was able to solve just reinstalling the app. Also you need to report a call to CallKit. Read this #2 issue for more details

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

4 participants