Giter VIP home page Giter VIP logo

Comments (14)

JB-CHAUVIN avatar JB-CHAUVIN commented on June 13, 2024 5

Same issue goes for me.

from react-native-voip-push-notification.

dnolbon avatar dnolbon commented on June 13, 2024 4

it started working when i turned on Push Notifications in Capbilities
Here is my settings which works:
Screenshot 2019-06-13 at 08 39 17
Screenshot 2019-06-13 at 08 40 33

I hope this helps

from react-native-voip-push-notification.

zxcpoiu avatar zxcpoiu commented on June 13, 2024 1

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.

priyasamyal avatar priyasamyal commented on June 13, 2024

it started working when i turned on Push Notifications in Capbilities
Here is my settings which works:
Screenshot 2019-06-13 at 08 39 17
Screenshot 2019-06-13 at 08 40 33

I hope this helps

Works well Thanks

from react-native-voip-push-notification.

jayrenteria avatar jayrenteria commented on June 13, 2024

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.

zxcpoiu avatar zxcpoiu commented on June 13, 2024

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.

djalmajr avatar djalmajr commented on June 13, 2024

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.

jpudysz avatar jpudysz commented on June 13, 2024

@djalmajr hard reset your device. It should work

from react-native-voip-push-notification.

oojikoo avatar oojikoo commented on June 13, 2024

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. :(

"Sometimes everything did not work, but only after few hours, it worked suddenly."
happend to me as well.

from react-native-voip-push-notification.

rajngarg avatar rajngarg commented on June 13, 2024

I am having the same issue nothing worked. Please help if anyone made it work.
Thanks in advance

from react-native-voip-push-notification.

stephanoparaskeva avatar stephanoparaskeva commented on June 13, 2024

What do I do, my 'register' never gets invoked, how do I solve this?

from react-native-voip-push-notification.

stephanoparaskeva avatar stephanoparaskeva commented on June 13, 2024

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.

CMLCNL avatar CMLCNL commented on June 13, 2024

Same issue, Never triggered i try to everythings..

from react-native-voip-push-notification.

uday8373 avatar uday8373 commented on June 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.