organicmaps / organicmaps

🍃 Organic Maps is a free Android & iOS offline maps app for travelers, tourists, hikers, and cyclists. It uses crowd-sourced OpenStreetMap data and is developed with love by MapsWithMe (MapsMe) founders and our community. No ads, no tracking, no data collection, no crapware. Please donate to support the development!
https://organicmaps.app
Apache License 2.0
8.67k stars 847 forks source link

Android Auto / LineageOs 21 (Android 14) on OnePlus 5T #8002

Open acress1 opened 2 weeks ago

acress1 commented 2 weeks ago

⚠ Have you searched for similar, already existing issues?

Describe the issue Hi, I have a rooted OnePlus 5T on Lineageos 21. I managed to get Android Auto working, with some apps like Waze and RiMusic. I activated unknown sources on the Android Auto app. But I don't manage to use Organic Maps on it ! While I can see it on the version on the android auto app, I don't have it on the usable apps list... I think I tried everything (LSPosed seems not to work on Lineage, KingInstaller, install as root on Aurora Store), nothing works...do you have any idea ? Thanks !

Cress

System information:

AndrewShkrob commented 2 weeks ago

Hello. Thank you for your response.

Unfortunately, dealing with custom ROMs is not within our capacity, and personally, I am not inclined to do so. According to official Google documentation:

Test in real vehicles

To test your app in real vehicles, it must be installed from a trusted source such as the Play Store, with one exception detailed in Allow unknown sources. You can use Internal App Sharing or an Internal Test Track to distribute your app to devices without going through the Play Store review process.

Allow unknown sources

On Android Auto, there is also a developer option to enable running apps not installed from a trusted source. This setting only applies to media and messaging apps and doesn't apply to apps built using the Android for Cars App Library.

Our app falls under the Navigation category, which makes it unresponsive for the Allow unknown sources checkbox. Since you are using the app from the GitHub release, it is impossible to run the app on Android Auto.

So, the fastest and easiest solution for you would be to install the app from the Play Store.

However, there is an alternative option. Some users have reportedly been able to run Android Auto navigation apps using the Magisk tool (possibly including OrganicMaps), but you will need to research this further as I am not familiar with the details. If you discover this information, please share it (or the complete instructions) in this issue. It could be helpful for other users.

acress1 commented 2 weeks ago

Hi Andrei,

Do you know any user who managed to do it ? So that I can be in touch with them !

Thanks a lot, Best regards, Cress

26 avr. 2024 23:31:43 Andrei Shkrob @.***>:

Hello. Thank you for your response.

Unfortunately, dealing with custom ROMs is not within our capacity, and personally, I am not inclined to do so. According to official Google documentation:

Test in real vehicles[https://developer.android.com/training/cars/testing#real-vehicles]

To test your app in real vehicles, it must be installed from a trusted source such as the Play Store, with one exception detailed in Allow unknown sources[https://developer.android.com/training/cars/testing#unknown-sources]. You can use Internal App Sharing[https://play.google.com/console/about/internalappsharing/] or an Internal Test Track[https://play.google.com/console/about/internal-testing/] to distribute your app to devices without going through the Play Store review process.

Allow unknown sources[https://developer.android.com/training/cars/testing#unknown-sources]

On Android Auto, there is also a developer option[https://developer.android.com/training/cars/testing#developer-mode] to enable running apps not installed from a trusted source. This setting only applies to media[https://developer.android.com/training/cars/media] and messaging[https://developer.android.com/training/cars/messaging] apps and doesn't apply to apps built using the Android for Cars App Library[https://developer.android.com/training/cars/apps].

Our app falls under the Navigation category, which makes it unresponsive for the Allow unknown sources checkbox. Since you are using the app from the GitHub release, it is impossible to run the app on Android Auto.

So, the fastest and easiest solution for you would be to install the app from the Play Store.

However, there is an alternative option. Some users have reportedly been able to run Android Auto navigation apps using the Magisk tool (possibly including OrganicMaps), but you will need to research this further as I am not familiar with the details. If you discover this information, please share it (or the complete instructions) in this issue. It could be helpful for other users.

Thank you 🙂

— Reply to this email directly, view it on GitHub[https://github.com/organicmaps/organicmaps/issues/8002#issuecomment-2080142840], or unsubscribe[https://github.com/notifications/unsubscribe-auth/BAEGAGN6PU2GX23ETOF54IDY7LBT3AVCNFSM6AAAAABG3M2RRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBQGE2DEOBUGA]. You are receiving this because you authored the thread. [Image de pistage][https://github.com/notifications/beacon/BAEGAGMIBSYIV3ZHNEZEXH3Y7LBT3A5CNFSM6AAAAABG3M2RRWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT37R27Q.gif]