Getting free Add-Ons in OCTech.Mobile.Applications.OBDLink not working
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 3.2k
- Avg merge
- 12d 11h
- Merged PRs (30d)
- 4
Description
In the App OBDLink are add-ons that are free or in app purchases, depending on what hardware one bought. I have the hardware where the add-ons are free, but I am not able to get the add-ons.
I have a logcat where it's not working and one (from a device with google and without microg) where it's working.
Here the broken one:
<<< log_count = 31 >>>
[05-25 04:17:53.205 1564:18693 I/ActivityTaskManager]
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=OCTech.Mobile.Applications.OBDLink/octech.mobile.applications.obdlink.MainActivity bnds=[540,1054][735,1279]} from uid 10112
[05-25 04:17:53.281 1564:1685 I/ActivityManager]
Start proc 22075:OCTech.Mobile.Applications.OBDLink/u0a487 for activity {OCTech.Mobile.Applications.OBDLink/octech.mobile.applications.obdlink.MainActivity}
[05-25 04:17:53.395 22075:22075 I/chatty]
uid=10487(OCTech.Mobile.Applications.OBDLink) identical 1 line
[05-25 04:17:53.555 22075:22103 I/FA]
To enable faster debug mode event logging run:
adb shell setprop debug.firebase.analytics.app OCTech.Mobile.Applications.OBDLink
[05-25 04:17:53.843 658:658 E/Layer]
[Surface(name=AppWindowToken{694c5a5 token=Token{d5179c ActivityRecord{4f22b0f u0 OCTech.Mobile.Applications.OBDLink/octech.mobile.applications.obdlink.MainActivity t36219}}})/@0x45d7ac9 - animation-leash#0] No local sync point found
[05-25 04:17:53.843 658:658 E/Layer]
[Surface(name=AppWindowToken{694c5a5 token=Token{d5179c ActivityRecord{4f22b0f u0 OCTech.Mobile.Applications.OBDLink/octech.mobile.applications.obdlink.MainActivity t36219}}})/@0x45d7ac9 - animation-leash#0] No local sync point found
[05-25 04:17:55.321 20617:20639 D/FakeInAppStore]
isBillingSupported(16, OCTech.Mobile.Applications.OBDLink, subs)
[05-25 04:17:55.321 5077:17710 D/MeasurementService]
bound by: GetServiceRequest{serviceId=MEASUREMENT, gmsVersion=12451000, packageName='OCTech.Mobile.Applications.OBDLink', extras=Bundle[{}]}
[05-25 04:17:55.322 20617:20639 D/FakeInAppStore]
isBillingSupported(16, OCTech.Mobile.Applications.OBDLink, inapp)
[05-25 04:17:55.325 1564:1683 I/ActivityTaskManager]
Displayed OCTech.Mobile.Applications.OBDLink/octech.mobile.applications.obdlink.MainActivity: +2s116ms
[05-25 04:17:55.333 5077:17710 D/MeasurementService]
f11() for AppMetadata[OCTech.Mobile.Applications.OBDLink]
[05-25 04:17:55.334 5077:17710 D/MeasurementService]
setDefaultEventParameters(Bundle[EMPTY_PARCEL]) for AppMetadata[OCTech.Mobile.Applications.OBDLink]
[05-25 04:17:55.335 5077:17710 D/MeasurementService]
f10(-244602716316952626, null, MainActivity, OCTech.Mobile.Applications.OBDLink)
[05-25 04:17:55.340 20617:20639 D/FakeInAppStore]
getPurchases(9, OCTech.Mobile.Applications.OBDLink, inapp, null)
[05-25 04:17:56.305 1564:18693 I/ActivityTaskManager]
START u0 {cmp=OCTech.Mobile.Applications.OBDLink/crc6426b845050fba01b7.SettingsActivity} from uid 10487
[05-25 04:17:56.318 1564:1660 I/ActivityTaskManager]
The Process OCTech.Mobile.Applications.OBDLink Already Exists in BG. So sending its PID: 22075
[05-25 04:17:56.319 5077:17710 D/MeasurementService]
f10(0, null, null, OCTech.Mobile.Applications.OBDLink)
[05-25 04:17:56.369 5077:17710 D/MeasurementService]
f10(-244602716316952625, null, SettingsActivity, OCTech.Mobile.Applications.OBDLink)
[05-25 04:17:56.411 1564:1683 I/ActivityTaskManager]
Displayed OCTech.Mobile.Applications.OBDLink/crc6426b845050fba01b7.SettingsActivity: +102ms
[05-25 04:17:57.311 1564:18693 I/ActivityTaskManager]
START u0 {cmp=OCTech.Mobile.Applications.OBDLink/crc6426b845050fba01b7.IAPCategoryListViewActivity} from uid 10487
[05-25 04:17:57.324 1564:4079 I/ActivityTaskManager]
The Process OCTech.Mobile.Applications.OBDLink Already Exists in BG. So sending its PID: 22075
[05-25 04:17:57.326 5077:17710 D/MeasurementService]
f10(0, null, null, OCTech.Mobile.Applications.OBDLink)
[05-25 04:17:57.356 5077:17710 D/MeasurementService]
f10(-244602716316952624, null, IAPCategoryListViewActivity, OCTech.Mobile.Applications.OBDLink)
[05-25 04:17:57.402 1564:1683 I/ActivityTaskManager]
Displayed OCTech.Mobile.Applications.OBDLink/crc6426b845050fba01b7.IAPCategoryListViewActivity: +87ms
[05-25 04:17:57.427 20617:20805 D/FakeInAppStore]
isBillingSupported(16, OCTech.Mobile.Applications.OBDLink, subs)
[05-25 04:17:57.428 20617:20805 D/FakeInAppStore]
isBillingSupported(16, OCTech.Mobile.Applications.OBDLink, inapp)
[05-25 04:17:57.448 20617:20805 D/FakeInAppStore]
getSkuDetails(10, OCTech.Mobile.Applications.OBDLink, inapp)
[05-25 04:17:57.461 20617:20805 D/FakeInAppStore]
getSkuDetails(10, OCTech.Mobile.Applications.OBDLink, inapp)
[05-25 04:17:58.689 1564:4079 E/InputDispatcher]
Window handle Window{55de6aa u0 OCTech.Mobile.Applications.OBDLink/crc6426b845050fba01b7.IAPCategoryListViewActivity} has no registered input channel
[05-25 04:17:58.706 1564:2509 E/InputDispatcher]
Window handle Window{55de6aa u0 OCTech.Mobile.Applications.OBDLink/crc6426b845050fba01b7.IAPCategoryListViewActivity} has no registered input channel
[05-25 04:18:01.033 5077:17710 D/MeasurementService]
f10(0, null, null, OCTech.Mobile.Applications.OBDLink)
Here is the working one:
<<< log_count = 35 >>>
[05-25 04:20:05.146 748:9927 I/ActivityTaskManager]
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=OCTech.Mobile.Applications.OBDLink/octech.mobile.applications.obdlink.MainActivity bnds=[288,1270][540,1565]} from uid 10153
[05-25 04:20:05.254 748:787 I/ActivityManager]
Start proc 13467:OCTech.Mobile.Applications.OBDLink/u0a163 for pre-top-activity {OCTech.Mobile.Applications.OBDLink/octech.mobile.applications.obdlink.MainActivity}
[05-25 04:20:05.568 13467:13467 I/chatty]
uid=10163(OCTech.Mobile.Applications.OBDLink) identical 1 line
[05-25 04:20:06.966 13467:13509 I/FA]
To enable faster debug mode event logging run:
adb shell setprop debug.firebase.analytics.app OCTech.Mobile.Applications.OBDLink
[05-25 04:20:16.780 1914:3676 I/Finsky]
[238] kez.a(15): OCTech.Mobile.Applications.OBDLink: Account determined from installer data - [some_cryptic_chars]
[05-25 04:20:16.782 1914:3676 I/Finsky]
[238] kez.a(64): Billing preferred account via installer for OCTech.Mobile.Applications.OBDLink: [some_cryptic_chars]
[05-25 04:20:16.789 748:785 I/ActivityTaskManager]
Displayed OCTech.Mobile.Applications.OBDLink/octech.mobile.applications.obdlink.MainActivity: +11s607ms
[05-25 04:20:16.831 1914:3676 I/Finsky]
[238] kez.a(15): OCTech.Mobile.Applications.OBDLink: Account determined from installer data - [some_cryptic_chars]
[05-25 04:20:16.844 1914:3676 I/Finsky]
[238] kez.a(64): Billing preferred account via installer for OCTech.Mobile.Applications.OBDLink: [some_cryptic_chars]
[05-25 04:20:16.978 1914:3676 I/Finsky]
[238] kez.a(15): OCTech.Mobile.Applications.OBDLink: Account determined from installer data - [some_cryptic_chars]
[05-25 04:20:16.980 1914:3676 I/Finsky]
[238] kez.a(64): Billing preferred account via installer for OCTech.Mobile.Applications.OBDLink: [some_cryptic_chars]
[05-25 04:20:18.431 748:10778 I/ActivityTaskManager]
START u0 {cmp=OCTech.Mobile.Applications.OBDLink/crc6426b845050fba01b7.SettingsActivity} from uid 10163
[05-25 04:20:19.109 748:785 I/ActivityTaskManager]
Displayed OCTech.Mobile.Applications.OBDLink/crc6426b845050fba01b7.SettingsActivity: +661ms
[05-25 04:20:20.524 748:13182 I/ActivityTaskManager]
START u0 {cmp=OCTech.Mobile.Applications.OBDLink/crc6426b845050fba01b7.IAPCategoryListViewActivity} from uid 10163
[05-25 04:20:20.839 748:785 I/ActivityTaskManager]
Displayed OCTech.Mobile.Applications.OBDLink/crc6426b845050fba01b7.IAPCategoryListViewActivity: +313ms
[05-25 04:20:20.914 1914:2012 I/Finsky]
[142] kez.a(15): OCTech.Mobile.Applications.OBDLink: Account determined from installer data - [some_cryptic_chars]
[05-25 04:20:20.920 1914:2012 I/Finsky]
[142] kez.a(64): Billing preferred account via installer for OCTech.Mobile.Applications.OBDLink: [some_cryptic_chars]
[05-25 04:20:20.928 1914:2009 I/Finsky]
[141] kez.a(15): OCTech.Mobile.Applications.OBDLink: Account determined from installer data - [some_cryptic_chars]
[05-25 04:20:20.930 1914:2009 I/Finsky]
[141] kez.a(64): Billing preferred account via installer for OCTech.Mobile.Applications.OBDLink: [some_cryptic_chars]
[05-25 04:20:21.075 1914:2009 I/Finsky]
[141] kez.a(15): OCTech.Mobile.Applications.OBDLink: Account determined from installer data - [some_cryptic_chars]
[05-25 04:20:21.077 1914:2009 I/Finsky]
[141] kez.a(64): Billing preferred account via installer for OCTech.Mobile.Applications.OBDLink: [some_cryptic_chars]
[05-25 04:20:21.169 1914:2009 I/Finsky]
[141] kez.a(15): OCTech.Mobile.Applications.OBDLink: Account determined from installer data - [some_cryptic_chars]
[05-25 04:20:21.170 1914:2009 I/Finsky]
[141] kez.a(64): Billing preferred account via installer for OCTech.Mobile.Applications.OBDLink: [some_cryptic_chars]
[05-25 04:20:21.223 1914:2009 I/Finsky]
[141] kez.a(15): OCTech.Mobile.Applications.OBDLink: Account determined from installer data - [some_cryptic_chars]
[05-25 04:20:21.225 1914:2009 I/Finsky]
[141] kez.a(64): Billing preferred account via installer for OCTech.Mobile.Applications.OBDLink: [some_cryptic_chars]
[05-25 04:20:21.280 1914:2009 I/Finsky]
[141] kez.a(15): OCTech.Mobile.Applications.OBDLink: Account determined from installer data - [some_cryptic_chars]
[05-25 04:20:21.283 1914:2009 I/Finsky]
[141] kez.a(64): Billing preferred account via installer for OCTech.Mobile.Applications.OBDLink: [some_cryptic_chars]
[05-25 04:20:21.335 1914:2009 I/Finsky]
[141] kez.a(15): OCTech.Mobile.Applications.OBDLink: Account determined from installer data - [some_cryptic_chars]
[05-25 04:20:21.336 1914:2009 I/Finsky]
[141] kez.a(64): Billing preferred account via installer for OCTech.Mobile.Applications.OBDLink: [some_cryptic_chars]
[05-25 04:20:21.395 1914:2009 I/Finsky]
[141] kez.a(15): OCTech.Mobile.Applications.OBDLink: Account determined from installer data - [some_cryptic_chars]
[05-25 04:20:21.397 1914:2009 I/Finsky]
[141] kez.a(64): Billing preferred account via installer for OCTech.Mobile.Applications.OBDLink: [some_cryptic_chars]
[05-25 04:20:21.463 1914:2009 I/Finsky]
[141] kez.a(15): OCTech.Mobile.Applications.OBDLink: Account determined from installer data - [some_cryptic_chars]
[05-25 04:20:21.465 1914:2009 I/Finsky]
[141] kez.a(64): Billing preferred account via installer for OCTech.Mobile.Applications.OBDLink: [some_cryptic_chars]
[05-25 04:20:21.506 1914:2009 I/Finsky]
[141] kez.a(15): OCTech.Mobile.Applications.OBDLink: Account determined from installer data - [some_cryptic_chars]
[05-25 04:20:21.508 1914:2009 I/Finsky]
[141] kez.a(64): Billing preferred account via installer for OCTech.Mobile.Applications.OBDLink: [some_cryptic_chars]
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing billing behavior from MainActivity through SettingsActivity and IAPCategoryListViewActivity, using the FakeInAppStore calls in the broken log and the Google Play billing calls in the working log as comparison points. Done should mean hardware-eligible users can obtain the free add-ons when running with microG; no source file or test is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile, payments
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100