-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add background push-notification on Android App #619
Comments
Short update on notifications. Looks like It also looks like "notifee" seems to be the new kid on the block and actively maintained so I'll be evaluating that. It has a paid for vibe but is FOSS as of September (Apache) |
Update: will be using react-native-background-actions for the background order status polling. Current thinking:
|
Is your feature request related to a problem? Please describe.
The Android app is torified and, while on the foreground, is continuously refreshing the current order. However, when in the background the code running in the webview pauses and the order stops refreshing.
The Android app is the perfect notification system for robosats as it is fully private and secure. Any other alternative (firebase, telegra, etc has very negative impact to privacy).
Describe the solution you'd like
Ideally, we should be able to run a background process that is not killed by Android and that will notify users on order status changes. I think
react-native-background-actions
andreact-native-notifications
might be good packages for this task.The order is currently refreshing on our web js. This means we will probably need to move this chunk inside of a new
systemClient
method that fetches order status as usual if the app is ran in the browser, but instead, fetches order status from the parent react-native wrapper if the app is running within the Android webview app (and triggers the notifications if needed).Additional context
This task is rewarded with ⚡ 800K Sats ⚡
The text was updated successfully, but these errors were encountered: