-
Notifications
You must be signed in to change notification settings - Fork 85
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
[FEATURE] FOSS build flavor for IzzyOnDroid #747
Comments
|
Which one? |
It's Depth Wallpaper (iOS like lockscreen wallpaper), anyway I will check if it's possible to create a separate build flavor. Thanks for the heads up. |
@Mahmud0808 GMS and Firebase Data Transport are being dragged in by ML Kit. So removing ML Kit should make them disappear as well. I don't know what you need ML Kit for, there might be FOSS alternatives for the functionality. |
I have added foss product flavor without MLKit. What else do I need to do? It has applicaitionId ".foss" suffix btw. |
Which means folks need to switch to the "new app" (different packageName, different app – no "direct update path"). If that's intended, we can switch to that at IzzyOnDroid with the next release which provides the corresponding APK (provided the size fits now; knowing how much ML Kit adds, my guess is it does). |
I don't think ML Kit adds too much size to the apk. I tried building an apk without mlkit and it's 1-2 mb reduced in size. The huge size bump is due to jniLibs |
Oh, OK – in another case where ML Kit was removed, the drop was around 10+ MB. Maybe they cleaned up something else along then, idk. Well, let's see; split APKs might help should it still be too big. |
We use MLKit for Subject Segmentation. |
Yeah, that's why it also get's tagged NonFreeNet/Tracking and NonFreeDep (proprietary). It's not FOSS, and that combination is worrying – especially for a place dedicated to FOSS and privacy. |
@IzzySoft I published a new release with foss variant. Hopefully it's fine now. |
It's still slightly over the 30MB limit |
I misread the max limit as 40mb. I don't think it's possible to make it any smaller. |
And trying to install it alongside the non-foss version fails, not sure if that's intended |
That is intended, there are some components which will conflict if you try to install different flavors at the same time, even with package name changed. |
Almost. Scanner still reports:
Can be easily fixed with a minor addition to your android {
dependenciesInfo {
// Disables dependency metadata when building APKs.
includeInApk = false
// Disables dependency metadata when building Android App Bundles.
includeInBundle = false
}
} For some background: that BLOB is supposed to be just a binary representation of your app's dependency tree. But as it's encrypted with a public key belonging to Google, only Google can read it – and nobody else can even verify what it really contains. More details can be found e.g. here: Ramping up security: additional APK checks are in place with the IzzyOnDroid repo. Next:
What are those needed for?
Well, 400 kB with the arm64, we can close an eye on that as long as it doesn't grow much more. But those permissions must be clarified – and in that context, also |
Added :)
|
As @Mahmud0808 explained, iconify has weather in lockscreen and weather as a lockscreen widget. Location permission is directly explained to the user when he will enable one of these, here string reference. ---- EDIT ---- |
Thanks! Location permissions added to the green list then. As for |
I will do a minor release soon and then close this issue. Hopefully everything goes well this time. |
Fingers crossed 🤞 |
Describe the feature
A build flavor without:
As these libraries prevent this project from being included in the IzzyOnDroid F-Droid repo.
Why would it be useful to add?
To allow for updating via the IzzyOnDroid Repo and reduced user tracking
Example(s)
N/A
Additional context
No response
The text was updated successfully, but these errors were encountered: