This pull request adds two main features to the wallet app: push notifications using @notifee/react-native and background transaction fetching with react-native-background-timer and react-native-background-fetch. The purpose is to enhance the user experience by providing real-time notifications and seamless transaction updates even when the app is not actively in use.
Changes Made:
Integrated @notifee/react-native for handling push notifications.
Utilized react-native-background-timer to fetch transactions from blockscout every 5 minutes when the app is active.
Implemented react-native-background-fetch for fetching transactions every 15 minutes even when the app is closed.
Features Implemented:
Push notifications to notify users about transaction updates and wallet activities.
Background transaction fetching for continuous updates on wallet transactions.
Dependencies and Libraries:
Added @notifee/react-native for push notification functionality.
Incorporated react-native-background-timer for periodic transaction fetching.
Integrated react-native-background-fetch for background transaction retrieval.
Testing:
Conducted manual testing on Android and iOS devices.
Ensured proper functioning of background transaction fetching.
Screenshots or GIFs:
Related Issues:
Closing #230 #194
Checklist:
[x] Code has been tested on both Android and iOS devices.
[ ] Unit tests for the newly added features have not been written yet.
Additional Information:
The background transaction fetching feature is expected to improve user engagement by providing up-to-date transaction information even when the app is not actively used.
Next Steps:
In the upcoming pull request, I plan to implement deep linking functionality to redirect users to the confirmation page directly from the push notification, providing a smoother and more intuitive user experience.
Description:
This pull request adds two main features to the wallet app: push notifications using @notifee/react-native and background transaction fetching with react-native-background-timer and react-native-background-fetch. The purpose is to enhance the user experience by providing real-time notifications and seamless transaction updates even when the app is not actively in use.
Changes Made:
Features Implemented:
Dependencies and Libraries:
Testing:
Screenshots or GIFs:
Related Issues:
Checklist:
Additional Information: The background transaction fetching feature is expected to improve user engagement by providing up-to-date transaction information even when the app is not actively used.
Next Steps: In the upcoming pull request, I plan to implement deep linking functionality to redirect users to the confirmation page directly from the push notification, providing a smoother and more intuitive user experience.