36ad6fb762
- add option in profile on Android to enable local notifications - use foreground service to keep the app alive when running in the background - implement enable and disbable notification function in status module When enabling notifications, a foreground service is started that displays a sticky notification to make the user aware that the app is running in the background. Notifications are updated whenever a new.message signal is handled on java side. Currently only one to one chats are generating notifications but that can be easily extended to other types of messages, including mentions and keywords. The ens name of the user as well as keywords to follow should then be passed to the native side when calling the enable function. Signed-off-by: yenda <eric@status.im> |
||
---|---|---|
.. | ||
android | ||
desktop | ||
ios/RCTStatus | ||
index.js | ||
package.json |