Coder Social home page Coder Social logo

bigrpg / ios-swift-nodejs-push-notification-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coolaj86/ios-swift-nodejs-push-notification-demo

0.0 2.0 0.0 168 KB

ios + node.js code for a push notification

License: Apache License 2.0

Swift 76.29% Shell 9.45% JavaScript 14.26%

ios-swift-nodejs-push-notification-demo's Introduction

ios-swift-nodejs-push-notification-demo

ios App + node.js server for a push notification

Sorry, this is just a bunch of code right now, so it isn't tutorial grade.

  • com.coolaj86.push-demo - the nodejs stuff
  • HelloWorldSwift - the iOS Swift stuff

Resources

Check out the READMEs in the subfolders for what I found to be the most useful links

Process & Gotchas

Sadly, you can't run this demo without becoming an Apple developer and getting your own keys and ids set up with Push Notification permissions.

I'll try to outline the gotchas and whatnot.

0. Update your iTunes account

Go into iTunes and make sure your name and address match your driver's license, USPS, or business registration.

No "Chuck" for "Charles" or old addresses, etc.

1. Enroll in the iOS Developer Program

Once you've gone to the iOS Developer Program and hit enroll you'll have to wait between a few hours and a few days to get approved.

If your iTunes account has a nickname or the wrong address you can expect the process will be on the longer end of the spectrum.

2. Check your SPAM folder often

Apparently GMail believes that an email asking you to upload a government photo ID for personal identity verification is a scam.

In general that's probably a good thing so that idiots don't get ripped off by get-rich-by-enlarging-your-body-part scams, but for us devs it's slightly inconvenient.

99. More to come

Some other quick notes:

  • make sure your Bundle ID matches in XCode, your application, and online (looks like RJC2BHMV96.com.coolaj86.push-demo)
  • You have to convert your keys to use them with node. See convert-keys-for-node.sh for that.

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.