showly-2.0 icon indicating copy to clipboard operation
showly-2.0 copied to clipboard

Submit to F-Droid

Open roshavagarga opened this issue 5 years ago • 20 comments
trafficstars

Have you considered submitting Showly to F-Droid?

roshavagarga avatar Apr 15 '20 21:04 roshavagarga

Will probably do it when I've got some free time and app is out of open beta.

michaldrabik avatar Apr 16 '20 08:04 michaldrabik

There will be some issues:

  implementation "com.google.firebase:firebase-analytics-ktx:$versions.firebaseAnalytics"
  implementation "com.google.firebase:firebase-messaging:$versions.firebaseMessaging"
  implementation "com.google.firebase:firebase-crashlytics:$versions.crashlytics"

Firebase (as well as Google Services and some more) is not acceptible by F-Droid, as it's proprietary. So this would need a special build flavor coming without Firebase. Would that be possible?

IzzySoft avatar Sep 29 '20 08:09 IzzySoft

Probably! But I am postponing submission to F-Droid for further date (it's not that trivial as I can see) when I'm happy with complete set of features and stability of the app.

michaldrabik avatar Sep 29 '20 08:09 michaldrabik

Should you have a build without those, and provide the APK e.g. attached to your releases, please let me know here. I could then add it to my repo until you're ready for "F-Droid proper".

IzzySoft avatar Sep 29 '20 09:09 IzzySoft

@IzzySoft can you write a github action script for building without gms?

rihaq avatar Nov 27 '21 07:11 rihaq

Unfortunately not – I'm not a developer, and I never wrote any Github action script (nor worked on development tasks of an Android app)… But a suggestion which might also solve the issue: I guess you need that for Cloud Messaging, right? In that case, you could maybe replace FCM by UnifiedPush. Then those who want FCM can use its FCM-distributor – and everyone else can choose between Gotify and Nextcloud (also see here for some notes). As the distributor comes separate, there are no non-free dependencies. Which would only leave the analytics to be dropped (or replaced).

One more pointer, as you probably would like to have the FCM distributor built-in for your PlayStore releases: you should look into establishing build flavors (a nice tutorial can be found here, the official documentation here. Establish one flavor for PlayStore (e.g. gplay) that then comes with FCM – and another one (e.g. foss) that comes without. Then it's a simple command at build time to decide which flavor/variant to build.

IzzySoft avatar Nov 27 '21 10:11 IzzySoft

The FOSS fork mentioned in https://github.com/michaldrabik/showly-2.0/issues/537#issuecomment-1487634318 is available in Izzy's repo 🎉 https://apt.izzysoft.de/fdroid/index/apk/com.michaldrabik.showly_oss

There are missing things though, as mentioned in https://github.com/michaldrabik/showly-2.0/issues/537#issuecomment-1488748065

rollingmoai avatar Mar 30 '23 11:03 rollingmoai