Search code examples
iosswiftxcodepush-notificationapple-push-notifications

How to register iOS device for receiving push notification?


I want to register iOS device to APNs. I know two methods

  1. Sending device token to our own provider
  2. Using Push Tester application** But I am not comfortable to use both of this methods.

Problem while using first method:

Our Api request requires the parameters which i won't be able to provide in my own project

Problem while using second method:

They ask to provide key, .p8 file and all those details. I can't give any of these confidential information to unknown application.

Now my question is, is there any way to send only device token to APNs directly or any other way?


Solution

  • You can visit this links:

    https://pushtry.com/

    https://github.com/noodlewerk/NWPusher

    http://pushmebaby.herokuapp.com/

    and also use mac tool like:

    apns-tool