FriesI23 / mhabit

Our app helps you form and track micro habits with easy-to-use 📈 charts and tools, making it simple to establish healthy habits that stick 🌱. Start your personal growth journey today 🚀!
https://github.com/FriesI23/mhabit
Apache License 2.0
378 stars 27 forks source link

Android Intents #60

Open nikhil-mat opened 1 year ago

nikhil-mat commented 1 year ago

Can we get the ability to Trigger mark a habit complete when an android intent is received or to send an intent when a Habit is completed

FriesI23 commented 1 year ago

701689209157_ pic

IIUC, Are u referring to the ability to send an intent with an action notification? That's a good idea. I will mark this feature.

FriesI23 commented 1 year ago

Enhanced Android notification

nikhil-mat commented 1 year ago

I meant android intents sent to and from applications such as tasker allowing people to create automations around Mhabit

For example When you enter the geolocation of your Gym Tasker send a Intent to Mhabit marking the Gym habit complete for the day Or If Tasker detects that Mhabit has not sent a completion intent for a habit in the last X number of days It creates reminder Task in your tasks app image.jpg

FriesI23 commented 1 year ago

I haven't android automated tasks before (is this similar to the Automator in macOS?)... perhaps because I personally use a customized ROM (MIUI). It's a good suggestion, but I would need to familiarize myself with this functionality first.

Darkham42 commented 1 year ago

Hell yeah, actions to check from the notification could be great, for me it's something available in uhabits missing in mhabit ! 👍

sreich commented 1 month ago

@FriesI23 similar idea to Automator, yeah

Apps like Tasker or MacroDroid allow people to setup arbitrary triggers and then respond to it. Anything from phone sensors, to location, in my case I use NFC for a lot of things

So, I can write an NFC tag and if the app has a Tasker plugin or has Intents created properly...

Then I can just wire up whatever trigger (NFC tag in my case) to check this habit off.

Loop habit tracker, (uhabits) has this feature and I enjoy it there and am missing it here to consider switching over fully