1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-24 05:50:47 +02:00
Gadgetbridge/app/src/main
gfwilliams 2cb5844020 Bangle.js build flavor (#2621)
This PR adds build flavors to `build.gradle`. The default is called `main`, but we also add `banglejs` which allows the building of an app called `Bangle.js Gadgetbridge`.

This will have internet connectivity, allowing Bangle.js watches to request data directly from the internet - and it's named so as hopefully not to be confused with the normal offline Gadgetbridge, while still giving credit.

Eventually the plan is to put this on the Google Play store, and to have additions in it which are good for Bangle.js users but would otherwise negatively impact normal Gadgetbridge users (a build flavor is used so we can keep the same codebase and not fork).

About naming - I'd mentioned `Gadgetbridge for Bangle` to @ashimokawa but thinking about how it would appear in the app store and Android apps list, it probably makes sense to call it `Bangle.js Gadgetbridge` so it's listed under `B...`. Happy to change or use something else if you have strong opinions though.

**Note:** adding build flavors seems to add the flavor name to existing builds. As a result, *all other builds will now have `main` in the name*. Unfortunately I didn't see another way around this, but hopefully it won't break anything.

Co-authored-by: Gordon Williams <gw@pur3.co.uk>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2621
Co-authored-by: gfwilliams <gfwilliams@noreply.codeberg.org>
Co-committed-by: gfwilliams <gfwilliams@noreply.codeberg.org>
2022-03-31 11:36:26 +02:00
..
aidl add stripped down version of weather part of lineage sdk 2019-08-22 21:19:03 +02:00
assets Fossil Hybrid HR: Add flexible custom menu on watch (#2616) 2022-03-22 20:52:43 +01:00
c Mi Band 6 auth: add test, fix crypto 2021-08-26 10:59:53 +02:00
java Bangle.js build flavor (#2621) 2022-03-31 11:36:26 +02:00
proto Added support for SMA Q2 (#2215) 2021-07-20 12:08:12 +02:00
res Move lefun_language constant to generic 2022-03-30 22:01:08 +02:00
AndroidManifest.xml Read overall statistics from received OpenTracks dashboard API URIs 2022-02-17 11:00:58 +01:00
lint.xml
project.properties