PushKit on iOS device:
- Checkout the project.
- Run it. Get ur device token from xcode console : “DEVICE_TOKEN GENERATED!
- Copy the token & remove “<“ “>” and spaces. It will look like this xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- Open terminal. Install houston by: sudo gem install -n /usr/local/bin houston
- Make ur voip certificate from apple developer account. Download and save it.
- Put the certificate in ur project directory, where the .xcodeproj sits.
- Now open terminal.
- cd <PROJECT_DIRECTORY>
- apn push “DEVICE_TOKEN” -c VOIP_CERFICATE_NAME.cer -m “YOUR_PUSH_TEXT”
- Enjoy! ;)