Closed fowi4hjte closed 8 months ago
The current Android app for OVMS uses Google play services, so is unusable on devices without those.
If it really, really force the existence of the google services, then this is the solution: https://microg.org/ This for example can tell the App Google Maps is existing and working, but instead its show to the user a free and open OpenStreetMap.
If it really, really force the existence of the google services, then this is the solution: https://microg.org/ This for example can tell the App Google Maps is existing and working, but instead its show to the user a free and open OpenStreetMap.
Sounds like an excellent solution. If someone interested in this wants to do a fork/branch of the app (along with changes to the server code to support that alternative push notification facility), that is fine by me.
There is no fork required. This report #165 is just about the binary that have been upload to google play store. How can a human without a google account get this APK-file?
There is even a "app store"-app that is build based on github apk releases. You can find it here: https://github.com/ImranR98/Obtainium Also this completely free app store named Obtainium where the App-developers have to release the APK just somewhere on the internet except google play store is not working at the moment because there is not a single place to get the APK from without a google account.
If you did not know because you mentioned the google push notification functionality: When you have just a fully stock phone bought in EU/US with stock google libraries and power it up for the first time. You can ignore the request to create a google account. Just continue. Then open the proprietary Google Chrome webbrorser and download any APK from github or any other place where the app require google GCM/FCM/Maps/... . When you have installed this app, the app works totally fine. All the push messages is running over the google servers. There is no need of a google account to use google push functionality. Also in this described situation with such a stock google phone without google account you cant get the OVMS App to just run it on a stock google phone without a google account at the moment.
I hope i delivered enough arguments to make this github APK release possible. If not, i am happy to deliver even more information on many different points.
The fork would be required to remove the google play services.
With google play services required, there is little point in releasing outside the google play store. I guess we could host the APK either here (GitHub) or the website (www.openvehicles.com), but in ten years this is the first time I've heard someone asking for that. I am just not sure if the demand justifies the extra work.
This is interesting. The discussion here seems to not had been in need. The APK files seem to be already released. We both seem to have missed this directory here: https://github.com/openvehicles/Open-Vehicle-Android/tree/master/release Even the benefits i described like having a testing version of the APK with additional debugging enabled is already there: https://github.com/openvehicles/Open-Vehicle-Android/tree/master/latest
I know and use some Android apps at github that all release the APK files in the Assets of the tags: https://github.com/openvehicles/Open-Vehicle-Android/tags And because i did not find the APK there, i was not expecting to find it somewhere else in the github directory.
If you like, you can at some point put the APK like other projects to the assets of the github release tags because most people search for them there. If not, thats also fine. I now know where to find the APK files and if someone else also did not find the APK files, maybe the person wold see this issue report and afterwards also know where to find the APK files without a google account.
Instead to have a directory named release
or latest
you should use github releases and upload apk(s) there.
https://github.com/openvehicles/Open-Vehicle-Android/releases
it's the more formal way to deliver open source software.
At the moment you cant download the APK-file from "Assets" listed here: https://github.com/openvehicles/Open-Vehicle-Android/releases/tag/V4.4.1 Many other Android App projects on github use this Assets-part at github to provide a direct download of the APK file. This is in general the same APK-file the developers later at same day upload to google play store. Users who also cant wait to get a update, can directly download in the same minute the APK. Google Play store releases take in most cases some hours until the release is up for the users after the file is been uploaded to google.
What additional benefits does such a APK-release have: