GoodDAPP icon indicating copy to clipboard operation
GoodDAPP copied to clipboard

Research: transactionals (blockchain-related) events

Open johnsmith-gooddollar opened this issue 2 years ago • 4 comments

What we do now:

  • [ ] subscribe for claim ready event ? otherwise we have to get approx claim time (in this day, if app was running at midnight, it should be re-fetched and updated), then start polling around it, till entitlement > 0
  • [ ] claim ready

What we don't do now:

  • [ ] is it possible to subscribe for invitees events ? otherwise we may use the contact methods (see invitees hooks)

How to get

  • [ ] sys messages (welcome to GD etc)
  • [ ] payment created (tx added)
  • [ ] payment sent (tx processed)
  • [ ] payment received (incoming tx)
  • [ ] claim received (shoud be separated from payment received)
  • [ ] invite sent
  • [ ] invitee registered (- do we need it @patpedrosa ?)
  • [ ] invitee verified / passed FV (- do we need it @patpedrosa ?)
  • [ ] invitee first claimed / invite bonus available
  • [ ] invite bonuses collected
  • [ ] news feed updated

johnsmith-gooddollar avatar Jun 23 '22 09:06 johnsmith-gooddollar

@johnsmith-gooddollar @patpedrosa lets start simple

  1. for iOS/android - notifications is a matter of running the feed updates and displaying a notification if any new feed item.
  2. for web app this is a little bit more complicated as service worker doesnt run inside the app, so we have no way to get it to update the feed and check for new items. so I suggest to put web feed notifications on hold.
  3. claim is always at the same time for everyone, so this can be a simple notifications for both web+mobile happening every day for everyone at the same time.

sirpy avatar Jun 26 '22 06:06 sirpy

@sirpy ok

johnsmith-gooddollar avatar Jun 27 '22 11:06 johnsmith-gooddollar

@alt-a1r please adjust the PR according to requirements (only claim ready should be displayed)

johnsmith-gooddollar avatar Aug 03 '22 13:08 johnsmith-gooddollar

and put checkmarks

johnsmith-gooddollar avatar Aug 03 '22 13:08 johnsmith-gooddollar