Skip to content

Commit

Permalink
chore: add notifications note to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Jan 21, 2025
1 parent c76f519 commit a02098d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,17 @@ A simple lightning mobile wallet interface that works great with [Alby Hub](http
`yarn install`

`yarn start`

### Notifications

Push notifications are only available when running the app on a **physical device** using the following commands:

For iOS:

`yarn ios:device`

For Android:

`yarn android:device`

**Note:** Notifications do not work in the Expo Go app. You must run the app on a standalone build or a device using the above commands.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"start:tunnel": "expo start --tunnel",
"android": "expo run:android",
"ios": "expo run:ios",
"ios:device": "npx expo run:ios --device",
"android:device": "npx expo run:android --device",
"eas:build:ios:preview": "eas build --profile preview --platform ios",
"eas:build:android:preview": "eas build --profile preview --platform android",
"eas:build:android": "eas build --platform android",
Expand Down

0 comments on commit a02098d

Please sign in to comment.