-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(android): foss compliant build for F-Droid #87
Conversation
...but it should not depend at build time either this recipe metadata/fr.ign.geoportail.yml
will fail... kinda as expected, right? As I'm removing all the proprietary bits before building...
...yet @capacitor/geolocation still depends on them |
Is it possible in the "@capacitor/geolocation": "^6.0.0", from the I would like to test the resulting app from such a recipe, how can I manage to do that? This way I could tweak it and propose a final result to you. As the app name and description are outdated, I could also change them. |
@azarz that's like a hardcoded dep
|
I have made the import conditional: cartes-ign-app/src/js/services/location.js Lines 14 to 42 in 7a4bf9b
Now if the dependency is not in the package.json, the build does not fail. On another note, the app name has changed, here is a suggestion for the display name and description: License: GPLv3
SourceCode: https://github.com/IGNF/cartes-ign-app
IssueTracker: https://github.com/IGNF/cartes-ign-app/issues
# if AutoName is a display name
AutoName: Cartes IGN
Description: Découvrez la France autrement et observez l’évolution du territoire |
94e99eb
to
8475805
Compare
autoname comes from your code: https://github.com/IGNF/cartes-ign-app/blob/develop/android/app/src/main/res/values/strings.xml#L3 description/changelogs/icon/screenshots you'll add in a Fastlane folder structure: https://gitlab.com/-/snippets/1895688 here's a test APK: fr.ign.geoportail_30100.apk.ZIP (remove the built from this recipe:
|
36690ef
to
228d74b
Compare
I have added the fastlane directory, and tested the app you provided: it seems to work! What is the next step? |
right, but why add the French texts and pics in the Move them to Is the app in French only? Even so, you should add at least summary and some info in full description .txt in English in |
merge this PR, tag a new release |
I did it because as you guessed, the app is french only, and apparently FDroid requires the en-US folder. I will do as you advised and merge the PR. I'll let you know when I have tagged a release. |
Regarding the pics, keep |
fc1bd15
to
0447d28
Compare
Add a fdroid flavor for builds that does not depend on Google services.