-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User notification #4
Comments
To me, it only makes sense to have a notification if the user can switch from their browser to another app and still get the notification. Doing some quick Googling, it appears this is still browser specific and may not always work as intended, especially if the browser's process is fully suspended. Chrome (presumably on Android and iOS) supports some kind of push notification and it looks like there is a Javascript library (yay!) called GoRoost that works for onsite notifications for most mobile browsers but only supports Chrome and Safari Desktop for off-site notifications. This sounds like the kind of feature that belongs in a proper client-side app. |
The notification can be done via SMS using Twilio. One line of code can take care of notifying the user. Twilio has a great NPM module. |
Notifying via SMS is suboptimal; this requires a context switch to the SMS and then a second context switch back to the website which will most likely open in a new tab. It would be better if we could present a piece of os toast. Furthermore, even with Twillo, I think it will take more than one line of code to implement this feature. |
Snark Warning! Professor Tom, let me know when you've finished the native apps for iOS, Android, Windows Phone, Blackberry, Fire OS and Palm OS complete with rich push notifications and predictive trolley alerts. For now, we can implement the suboptimal SMS, and, just as it will take multiple lines of code to initiate push notifications, it will, of course, take multiple lines of code to setup the SMS triggers, although the actual sending of an SMS message just takes a single line. Couldn't help myself with the brutal sarcasm. No offense intended. |
Also, the user flow is closer to the following: Go to the website and initiate SMS alert. Go about your life and open many apps. Receive SMS message, and walk over to the bus stop. |
In order to send Tweets via our website Twitter recommends following this tutorial. In order to follow the HopAroundHuntsville Twitter account we can use this API request. Finally, to allow users to subscribe/unsubscribe to tweets we'll need to use this API request. |
User can set alarm when bus is at a pre-selected transit stop
The text was updated successfully, but these errors were encountered: