Akylas / oss-weather

An OSS weather app for iOS/Android
MIT License
181 stars 13 forks source link

Gadgetbridge support #56

Open baltevl opened 1 year ago

baltevl commented 1 year ago

Gadgetbridge is a oss companion app for all sorts of wearables. Among a lot of other features, it is able to provide weather data to devices. It does this by implementing recievers and relying on weather apps to send weather data. See https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Weather#weather-app-development for details. Is this a feature you would be willing to consider or do you think it is out of scope for this project? If there is an interest i'd offer myself to work on this feature. Only problem is, I have never worked with NativeScript before so a short how to build (Is it just as simple as ns run android?) and maybe a pointer where to best implement this would be amazing. King regards

farfromrefug commented 1 year ago

@baltevl I am not against anything. How would my app communicate with yours? Is there an API ? Is it using intents ? As for Nativescript, it is indeed easy to run with ns run android though I would add --no-hmr. As for where to do it it depends mostly on how the communication would work. But I guess a new file in app/services.

baltevl commented 11 months ago

Hey, while working on this I thought this would be easier to implement using a few oop principles. So I started a small refactor. Before continuing like this, I'd like to hear your opinion about 9e59888.

farfromrefug commented 11 months ago

@baltevl awesome I really like it. Wanted to do something like thus at one point . you can create a PR and I LL merge it right away

baltevl commented 11 months ago

59 done. I might do something similar for other modules when I find the time :)