tiberiusteng / financisto1-holo

Financisto 1.6.8 with Holo theme and tweaks
GNU General Public License v2.0
19 stars 11 forks source link

compile apk #42

Open ahmaddxb opened 1 month ago

ahmaddxb commented 1 month ago

Could you give some instructions of how to do the compiling of this apk. I want SMS functionality.

e.g Github actions workflow that will get it built.

I have forked your repo to try this myself, not sure how to get it working. You can see what I have done in my fork.

https://github.com/ahmaddxb/financisto1-holo

tiberiusteng commented 1 month ago

Clone the repo locally, import with Android Studio, and (theoretically) it should build. I haven't tried cloning and building from scratch for a while frankly ...

You don't need to recompile for SMS access actually, as long as your phone shows notification for received SMS messages (that including message text and sender number/name), you can use the new Notification Template feature to achieve the same result.

ahmaddxb commented 1 month ago

Thanks for your help, I will give it a try locally. I was hoping to do it with github actions, I will try locally and give github more effort when I can.

I have tonnes of SMS templates that need changing that's why, yes I should go through and change them all but that will take time.

ahaghshenas commented 1 month ago

You don't need to recompile for SMS access actually, as long as your phone shows notification for received SMS messages (that including message text and sender number/name), you can use the new Notification Template feature to achieve the same result.

Hi,

I have tested this, and it is great with my tests with other notifications, eg WhatsApp and telegram, but I cannot get it to capture incoming SMS.

Screenshot_20240429_195826_Financisto

This is an old template that has been working on previous app

tiberiusteng commented 1 month ago

Hi, I've encountered similar issues, in my case it's displayed SMS/contact name not exactly matched the title pattern (you can put % at start or end for wildcard string match). With the config in your screenshot the notification title posted by SMS app must exactly displayed as WioPersonal for it to work.

Wait for next SMS sent by it, don't swipe it away, go to Notification Template list activity and use the right-top list button to copy exactly what the app sees the notification, and build on that.

ahaghshenas commented 1 month ago

Hi,

Did a test without result, screenshots attached. Am I missing something?

Screenshot_20240429_203547_Financisto

Screenshot_20240429_203617_Financisto

tiberiusteng commented 1 month ago

Strange ... sender with Amir Haghshenas should work. Is that what you copy/pasted from notification list? (click entry to copy)

you can try a last resort that put % on sender so it tries to search the message body on every notification.

for the message body part, you don't need to put {{}} at the end (it's using regex search substring so you only need {{}} if you want to skip something in center)