{"id":20770738,"url":"https://github.com/ably/push-example-ios","last_synced_at":"2025-07-29T11:34:04.326Z","repository":{"id":46597803,"uuid":"196180569","full_name":"ably/push-example-ios","owner":"ably","description":"This app provides an interactive interface to test the various methods and actions available in Ably's Push Notifications product.","archived":false,"fork":false,"pushed_at":"2023-07-08T19:29:48.000Z","size":110,"stargazers_count":2,"open_issues_count":4,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T09:48:38.278Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ably.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-07-10T09:58:36.000Z","updated_at":"2023-08-10T01:14:39.000Z","dependencies_parsed_at":"2025-04-30T14:10:46.815Z","dependency_job_id":null,"html_url":"https://github.com/ably/push-example-ios","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ably/push-example-ios","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fpush-example-ios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fpush-example-ios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fpush-example-ios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fpush-example-ios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ably","download_url":"https://codeload.github.com/ably/push-example-ios/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fpush-example-ios/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267678448,"owners_count":24126333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T12:11:40.223Z","updated_at":"2025-07-29T11:34:04.310Z","avatar_url":"https://github.com/ably.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"This app provides an interactive interface to test the various methods and actions available in Ably's Push Notifications product.\n\n## Pre-requisites\n\n1. [Xcode](https://developer.apple.com/xcode/) \n2. A physical iOS device as Push Notifications cannot be tested on a simulator\n3. [NodeJS](https://nodejs.org/en/) (to run the server locally)\n\n## How to use this example app\n\n- Clone this project locally\n\n### Launch the authentication server\nYou can either launch it locally or run host it on a server like [Glitch](https://glitch.com)\nMake sure that your `server.js` has your API keys with the required permissions:\n- `push-subscribe`: Allows you to activate push on device, subscribe to push to receive notifications\n- `push-admin`: Has `push-subscribe` rights plus rights to publish notifications directly using various credentials or via a realtime channel.\n- Install the dependencies: `cd server \u0026\u0026 npm install` \n- Run the local server: `npm start`\n\n### Launch the iOS application\n- `$ cd` to the folder where you cloned this project.\n- Run `$ open push-interactive-app.xcodeproj` to open the project in Xcode.\n- Connect your iPhone and choose it to be your target build device in Xcode.\n- In `AppDelegate.swift`, update `authURL` with your authentication server.\n- Run the project in Xcode. It will install the app on your phone.\n\n## Screenshots\n\n![1](https://user-images.githubusercontent.com/5900152/61132907-3ca49b80-a4b4-11e9-8982-94f9b7ddb96c.jpg)\n![2](https://user-images.githubusercontent.com/5900152/61132906-3ca49b80-a4b4-11e9-842b-659d925acb2a.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fably%2Fpush-example-ios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fably%2Fpush-example-ios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fably%2Fpush-example-ios/lists"}