Jasonette / JASONETTE-Android

📡 Native App over HTTP, on Android
https://www.jasonette.com
Other
1.61k stars 270 forks source link

Local Daily Notifications #232

Open AlmogCohen opened 6 years ago

AlmogCohen commented 6 years ago

I've been searching around before opening this issue and wasn't able to find a previous answer anywhere else.

So I was pretty excited about Jasonette and there is only one thing that seems to be missing: I wanted to build a pretty simple inspirational quotes app that once a day notify the user about the daily quote. The user tap notification and is brought into the app where he can read the quote. This type of app wouldn't need any push notifications or a server, as the events, as well as their content, is completely known and shipped with the app (a daily quote, once a day). I'd rather avoid any dependency on internet connection for this notification.

I saw that a timer is already defined in Jasonette and the only thing that seems to be missing is a way to send a notification to the notification bar. Any suggestions? Is there anyway to go around this missing module?

BTW, I'd like to make this app on iOS as well, hope that it is possible to do that. Any thoughts?

gliechtenstein commented 6 years ago

This would actually be a good feature to add.

But I can't promise anything right now in terms of when this can be implemented, because I'm already working on couple of other things.

I will however update this thread when it is implemented. BTW we've been making sure when rolling out a new feature it's implemented both on iOS and Android because cross platform matters a lot for this framework. So when you do hear about it, it will be implemented on both platforms.

Also, if you would like to build it yourself before I get to the feature, feel free to take a look at the source and play around, and send a pull request. From my experience, the hard part is NOT implementing features (Actual implementation only takes a few hours for features like this), but coming up with a markup syntax.

clsource commented 5 years ago

Well I think this can be implemented by using calendar notifications. https://jasonelle.com/docs/how-to-guides.html#how-to-add-events-to-calendar