-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Integration with Locus no longer working #357
Comments
Well, this is interesting. First, I was thinking, there will be some problem with outdated Locus api, which turned out true (WhereYouGo is using 0.2.7, current is 0.9.45). So there will be problem with users migrating to new Locus 4 app, which can't be detected properly with old library. Changed, synced, clean build, failed. Turned out, the whole logic of WhereYouGo handling available cartridges was made around Locus API |
- bump Locus API library on Gradle from 0.2.7 to 0.9.45 - removed `Location` initializer with string (no longer supported) - changed LAPI dependencies in files to newer version + required refactor of corresponding code - changed `Location.java` inits with only `TAG` string resource (obsolete) - changed `Location.Accuracy` (removed support) to horizontal accuracy - removed dependency on locus api when loading cartridges (never fully implemented)
Hallo, the same here, Android 12, Wherigo 14.01.2022. Using Locus Pro (3.56.5) with offline maps. Klicking on maps in Wherigo requires to be online and calls the Playstore. I got an error log from today - perhaps this will help. Does it matter whether Locus 4 or Locus Pro is installed? Thanks for keeping Wherigo alive. Uwe |
Thanks @better-tester The best we have done for now is adding it to our FAQ: https://www.whereyougo.org/faq#locus |
@better-tester Can you test result of the PR #358: https://ci.cgeo.org/job/WhereYouGo-CI_commit-build/318/artifact/build/outputs/apk/debug/whereyougo-debug-dd3530d.apk ? |
Guten Morgen :-); Android 12 is going to update the installed version and complains that the debug version is not valid (Whatever this means) and full stop. Installation from unauthorized sources was allowed. Any idea? I will uninstall the Playstore version and try again later on. |
It works. I can call Locus from the map icon on the landing page. For the rest (out of a running cartridge) I need a cartridge nearby but that's difficult in HomeOffice :-) Reason for refusing to install: |
Correct. |
and caused by the fact, that all local builds (either on our CI or from https://github.com/cgeo/WhereYouGo/releases ) have a different signature as the production build from Google Play. This is due to the fact, that we publish the app under a foreign developer account and use intermediate certificates. |
Hello again - I'm caught by the Android SDK30/31 storage festival. The phone has no external SD card, so it is all under /storage/emulated/0... Up to now I had my own directory to store the .gwc files somewhere. I can change the debug-version to this folder, but the .gwc are not visible. Wherigo has the right to access media files - there is no option for all and every file. a) I move .gwc to Android/data/menion..Where../files, b) can wherigo make use of Android/ media/wherigo/files ? c:geo is able to read .map files from android/media/menion/mapsVector :-) sharing files is getting really tricky. |
@better-tester Yes, another to-be-done --> #309 At this moment WhereYouGo is only still able to access random directories for GWC and maps if you migrated from older versions. On fresh installs those permissions are gone (due to the new restrictions). Its probably the most important thing to solve for a potential new release. Luckily we have scoped storage already implemented in c:geo, so we have experience just a lack of helping hands to add the same functionality to WhereYouGo. Any help is appreciated if you happen to have experience in Java/Android coding. |
Describe your problem!
Users say, that instead of opening Locus it instead opens the browser on the GooglePlay page of Locus.
Maybe related to package visibility restrictions?
How to reproduce?
Set to use Locus instead of internal map
Actual result after these steps?
Google Play page opened instead of Locus
Expected result after these steps?
Open Locus and show zone info
Reproducible
Unclear
WhereYouGo Version
2022.01.02
System information
Additional Information
Support ticket 182935
The text was updated successfully, but these errors were encountered: