https://github.com/pushchain/demo-push-mobile-app
https://github.com/pushchain/demo-push-mobile-app
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pushchain/demo-push-mobile-app
- Owner: pushchain
- Created: 2023-01-20T18:09:00.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-07T16:28:50.000Z (over 3 years ago)
- Last Synced: 2025-06-23T13:54:01.829Z (12 months ago)
- Language: Java
- Size: 295 KB
- Stars: 0
- Watchers: 5
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Push Demo App
Simple react native app that receives push notification from the Delivery Node.
**Prerequisites**
- [React Native Setup](https://reactnative.dev/docs/environment-setup)
- [Google FCM Account Setup](https://firebase.google.com/docs/cloud-messaging)
- [Push Delivery Node Setup](https://github.com/ethereum-push-notification-service/push-delivery-node#push-delivery-node)
Steps:
- Clone the demo app repo
```solidity
git clone https://github.com/ethereum-push-notification-service/demo-push-mobile-app
```
- Install the packages `yarn install`
- Firebase Project Setup
- Android
- create a firebase android app [https://firebase.google.com/docs/android/setup](https://firebase.google.com/docs/android/setup)
- download the `google-services.json` file from the Firebase Console and place it in the `android/app` directory of your project
- run the app `yarn android`
- Ios
- create a firebase ios app [https://firebase.google.com/docs/ios/setup](https://firebase.google.com/docs/ios/setup)
- download the `GoogleService-Info.plist` from the Firebase Console and place it in the `ios` directory of your project
- run the app `yarn ios`