coinfox icon indicating copy to clipboard operation
coinfox copied to clipboard

Price notifications

Open vinniejames opened this issue 6 years ago • 9 comments

Add price hi/low notifications

vinniejames avatar Sep 10 '17 00:09 vinniejames

@williamluke4 I'm most interested in getting this one going. Adding browser notifications / push alerts for pricing

vinniejames avatar Feb 21 '18 05:02 vinniejames

@vinniejames Will have look in to service workers

williamluke4 avatar Mar 10 '18 08:03 williamluke4

Yes, exactly, @williamluke4 ! Would you be interested in doing a bit of research here and/or submitting a PR?

Ideally, I'd like users to be able to select an upper/lower bound to receive an alert, eg Ethereum price: ping when price drops below $500 or above $1500

vinniejames avatar Mar 10 '18 08:03 vinniejames

Yeah shouldn't be too hard!

williamluke4 avatar Mar 10 '18 12:03 williamluke4

@vinniejames Well I was wrong! This would require a backend server to send push notification to the app.

williamluke4 avatar Mar 13 '18 17:03 williamluke4

Setting up a server wouldn't be out of the question. I wonder if it could be accomplished instead using something like this: https://blog.cloudflare.com/cloudflare-workers-unleashed/amp/

vinniejames avatar Mar 13 '18 17:03 vinniejames

@vinniejames Yeah that would work! Just quickly setup serviceworker push notification in a separate branch!

williamluke4 avatar Apr 09 '18 16:04 williamluke4

Though we could use periodicSync to check the market but its still in development and wouldn't give live notifications

williamluke4 avatar Apr 09 '18 17:04 williamluke4

Nice, let me know if you make some progress implementing the serviceWorker! I can move it over to a server environment if need be once a PR is ready.

Looks like periodicSync wont work on Safari, so if you want to try that route please make sure there is a fallback for Safari users

vinniejames avatar Apr 15 '18 20:04 vinniejames