AlphaWallet / AlphaWallet/alpha-wallet-android

Implement push notification

Đang mở
#3,152 10 bình luận 0 reaction 1 người được giao Được @justindg nhận Xem trên GitHub
High Priority
Ngôn ngữ chính
Java
Star
646
Fork
579
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Summary: upon silent/data push, fetch transaction history in the background and if we can find the transaction (why not?), show the user a notification

---

* AlphaWallet apps calls and the server endpoint to register a wallet 0xb0b
* Server monitors 0xb0b for change of receive of native crypto, ERC-20, ERC-721, ERC-1155
* Server sends a silent push to all AlphaWallet apps device tokens that registered for 0xb0b
* Upon receive a silent push for 0xb0b, AlphaWallet apps fetches/refreshes transaction history for 0xb0b in the background
* AlphaWallet displays a notification that "0xb0b has received X ETH" or "0xb0b has received Some App 123"
* User tap the notification to see that transaction/activity

1. Verify we get notifications for receiving of native crypto, ERC-20, ERC-721, ERC-1155 (did I miss anything?) on Ethereum mainnet.
2. iOS test getting pushes too like Android did
3. We build it in AlphaWallet and try it for a few hardcoded wallets that we own. Ship it
4. Extend it to more people or everyone (depending on confidence level and how much work to rollout) and ship it.

Makes sense? Did I miss anything? So I think you can proceed with (1) and (3) and on iOS side, we'll do (1) and (2).

Just to be safe, remember gate it with a feature flag in case it isn't ready.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.