• Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
brainCloud Forums

'INVALID_TOKEN' When Sending Push Notifications

Scheduled Pinned Locked Moved Solved APIs
iospush notifications
24 Posts 5 Posters 3.6k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Paul WinterhalderP Offline
    Paul WinterhalderP Offline
    Paul Winterhalder brainCloudAdmin
    replied to Joseph Wiemer on last edited by Paul Winterhalder
    #21

    @Joseph-Wiemer No worries - good luck! And keep us posted! 🙂

    1 Reply Last reply
    0
  • J Offline
    J Offline
    Joseph Wiemer
    wrote on last edited by
    #22

    Ok guys, I've solved it! It was some godforsaken problem with my .p12 file.

    1. Tried creating a .p12 file by exporting both the private key and the cert. FAILED.
    2. Tried creating a .p12 file by exporting just the private key. FAILED.
    3. Tried creating a .p12 file by exporting just the cert. SUCCESS.

    So, notifications are now working for me. Not sure how to mark this question as solved, but it's solved. Thanks for all your help!

    1 Reply Last reply
    1
  • Paul WinterhalderP Offline
    Paul WinterhalderP Offline
    Paul Winterhalder brainCloudAdmin
    wrote on last edited by
    #23

    Awesome - glad to hear it!

    I'll mark it resolved for you.

    Cheers!

    Paul.

    1 Reply Last reply
    0
  • Simon LavigneS Offline
    Simon LavigneS Offline
    Simon Lavigne
    wrote on last edited by
    #24

    I just got our iOS Push Notifications working with brainCloud and would like to add a few tips to this thread.

    1. For the less Mac-Savvy developers like me, here's what it looks like when you only have your certificate with no private key to export as a P12 file:

    Screen Shot 2019-06-19 at 4.02.20 PM.png

    Notice the selected category is [My Certificates]. Certificates in the [Certificates] category have the P12 export option greyed out.

    1. I am using Unity as a development platform and for some reason my device would only receive Development Push Notifications even when running in Release in Xcode. It's only after uploading to TestFlight that my Production Push Notifications started working.
    1 Reply Last reply
    1

  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users