AlphaWallet / AlphaWallet/alpha-wallet-android

Implement push notification

Aperta
#3,152 10 commenti 0 reazioni 1 assegnatario Rivendicata da @justindg Vedi su GitHub
High Priority
Lingua principale
Java
Stelle
646
Fork
579
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.