Comments (14)
Same issue goes for me.
from react-native-voip-push-notification.
it started working when i turned on Push Notifications in Capbilities
Here is my settings which works:
I hope this helps
from react-native-voip-push-notification.
Under development ( build via xcode and test ), no matter Debug or Release, for some unknowing reasons, especially when you install/uninstall switching between Release/Debug
, will happen.
Even we can see we've call register
successfully, the ios just stop call didUpdatePushCredentials
so you never get refreshed token...
There are bunch of questions on the internet, the solution in short:
- clean all data / cache you can, including xcode's Derived Data
- disable / re-enable push related capabilities and background mode
- disable / re-enable signin related auto manage
Then rebuild.
The most upvoted option is: reboot your device and mac.
Sometimes everything did not work, but only after few hours, it worked suddenly.
Maybe apple's push token server somehow banned the developing app (?)
Anyway, if all steps didn't work. You just uninstall app, clean all data and restart all devices and mac ( close xcode ), then just do another thing. Then try it maybe 2~3 hours later. :(
from react-native-voip-push-notification.
it started working when i turned on Push Notifications in Capbilities
Here is my settings which works:
I hope this helps
Works well Thanks
from react-native-voip-push-notification.
Even with this capability on, I don't reliably register a voip token. Is there a way to retrieve the token if it's already been registered? Or does it fire the register call every time?
from react-native-voip-push-notification.
AFAIK, from my limited experience, there is no way to retrieve / refresh / revoke tokens.
The only thing you know is the token previous stored on your server.
Please share if somebody knows some tricks, even evil's one. :)
from react-native-voip-push-notification.
I did all this things and yet, no device token... Can anyone help me with this? Simple demo:
https://github.com/djalmajr/CallKeepDemo
PS.: Did not work on iOS 13.x
from react-native-voip-push-notification.
@djalmajr hard reset your device. It should work
from react-native-voip-push-notification.
Under development ( build via xcode and test ), no matter Debug or Release, for some unknowing reasons, especially when you install/uninstall switching between
Release/Debug
, will happen.Even we can see we've call
register
successfully, the ios just stop calldidUpdatePushCredentials
so you never get refreshed token...There are bunch of questions on the internet, the solution in short:
- clean all data / cache you can, including xcode's Derived Data
- disable / re-enable push related capabilities and background mode
- disable / re-enable signin related auto manage
Then rebuild.
The most upvoted option is:
reboot your device and mac.
Sometimes everything did not work, but only after few hours, it worked suddenly.Maybe apple's push token server somehow banned the developing app (?)
Anyway, if all steps didn't work. You just uninstall app, clean all data and restart all devices and mac ( close xcode ), then just do another thing. Then try it maybe 2~3 hours later. :(
"Sometimes everything did not work, but only after few hours, it worked suddenly."
happend to me as well.
from react-native-voip-push-notification.
I am having the same issue nothing worked. Please help if anyone made it work.
Thanks in advance
from react-native-voip-push-notification.
What do I do, my 'register' never gets invoked, how do I solve this?
from react-native-voip-push-notification.
Even with this capability on, I don't reliably register a voip token. Is there a way to retrieve the token if it's already been registered? Or does it fire the register call every time?
Did you manage to find a way to reliably register a voip token? mine stopped calling 'register' randomly
from react-native-voip-push-notification.
Same issue, Never triggered i try to everythings..
from react-native-voip-push-notification.
In my case event is getting called but, the token is coming as empty string always. Please help./
from react-native-voip-push-notification.
Related Issues (20)
- App crashes when i receive a VOIP notification when a call is cancelled. HOT 2
- delete this.
- No notification was received when the app entered the "Killed" state. HOT 4
- Integrating with Expo HOT 12
- App kill, bundle is made but no event or RNCallKeep run HOT 3
- VoipPushNotification.addEventListener('notification', () => {}); call twice HOT 12
- TypeError: Cannot read property 'registerVoipToken' of null
- TypeError: Cannot read property 'wakeupByPush' of undefined
- Production/Staging Token HOT 1
- Sometimes Incoming Call UI does not display in background: Voip Push Dropped On Floor HOT 13
- _delayedEvents multiple initialisation HOT 1
- Unable to send Notification HOT 2
- Why is `didInvalidatePushTokenForType` event not listenable on the js ?
- Auto Linking is not working HOT 1
- No known class method for selector 'reportNewIncomingCall' HOT 2
- EAS Build HOT 1
- error run: Expected a type HOT 4
- read "payload" in JS HOT 1
- unrecognized selector sent to instance HOT 3
- Ringing after logout HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-voip-push-notification.