microg / microg/GmsCore

Dockless bikeshare app not working - possible Maps API and/or Firebase issue

Open
#731 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
14.6k
Forks
3.2k
Avg merge
12d 11h
Merged PRs (30d)
4

Description

Dear all,

A local bikeshare application called Darajtee (based on a commercial package at http://joyride.city) doesn't work with microG.
I'm running a Pixel XL on the latest LineageOS for microG build.
Using regular LineageOS doesn't even let the app install without copying the following two files (from a ROM with Google apps) to /system/framework and /system/etc/permissions respectively:

com.google.android.maps.jar
com.google.android.maps.xml

If I copy these manually, the app installs, but it doesn't pass the "Google Play Services are required" assertion.

On LineageOS with microG, and after installing the Deja Vu, Mozilla, and GSM location backends, the app starts and shows a crude map implementation (instead of the proper Google map), but doesn't show the current location (while OsmAnd does, so it's not a location provider issue).

I'm adding a couple screenshots later.

This is the logcat, taken using MatLog (clear log, start log again, open app, stop):
This part is taken while opening the app and tapping
https://pastebin.com/raw/069bnjxz
This is what happens when attempting to unlock a bike via QR code:
https://pastebin.com/Dzwu7mha

Note: Even with Google apps, the lock won't open without the app acquiring and sending a valid location to the server (which is fixed normally by opening Google Maps and letting it fix).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the two linked logcat captures from the Darajtee app on LineageOS for microG, focusing on startup, map display, location acquisition, and QR-bike unlocking. Compare the behavior with Google apps and the reported microG location backends; done should mean identifying and resolving the Maps or Firebase compatibility failure so the app can obtain a valid location and unlock the bike.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, firebase, java
Domain
api, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.