This app provides an interactive interface to test the various methods and actions available in Ably's Push Notifications product.
- Xcode
- A physical iOS device as Push Notifications cannot be tested on a simulator
- NodeJS (to run the server locally)
- Clone this project locally
You can either launch it locally or run host it on a server like Glitch
Make sure that your server.js has your API keys with the required permissions:
push-subscribe: Allows you to activate push on device, subscribe to push to receive notificationspush-admin: Haspush-subscriberights plus rights to publish notifications directly using various credentials or via a realtime channel.- Install the dependencies:
cd server && npm install - Run the local server:
npm start
$ cdto the folder where you cloned this project.- Run
$ open push-interactive-app.xcodeprojto open the project in Xcode. - Connect your iPhone and choose it to be your target build device in Xcode.
- In
AppDelegate.swift, updateauthURLwith your authentication server. - Run the project in Xcode. It will install the app on your phone.

