microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.12k stars 1.69k forks source link

[com.ebay.mobile] no content in App and cant log in #1450

Open coxtor opened 3 years ago

coxtor commented 3 years ago

Affected app Name: ebay Package id: com.ebay.mobile

Describe the bug The Application starts fine, however no content is shown and it is impossible to log in. See attached adb logcat.

To Reproduce Start the app and use it

System Android Version: 11 Custom ROM: Rattlesnake OS with microg

microG microG Core version: 0.2.18.204714 microG Self-Check results: All ticked

Screenshot_20210419-082032

ebay.logcat.log

Axolord commented 3 years ago

Please update your microG. You are on a really old version. You can add the repository to your fdroid client to update: https://microg.org/download.html

coxtor commented 3 years ago

Hi, thanks for getting back to me, however, I am confused. I am already using the F-Droid repo and the current Github release is equal to the version that I am using. What am I missing?

Axolord commented 3 years ago

You write, you have microG 0.2.13.204714. Is that correct? Cause the newest version would be 0.2.18.204714 :)

coxtor commented 3 years ago

Ah! Sorry for the confusion, that was a typo, I have updated the issue. It appears that the issue occurs with the most recent available stable version of microg core. Is there no way of using this application, without enabling safety net and enabling google device registration?

chris42 commented 3 years ago

Safetynet is not working on microg devices. There are numerous issues opened to this. Maybe one of the workaround in one of these help.

coxtor commented 3 years ago

Thanks for your suggestion. However it appears that this may not be a safetynet issue: https://www.reddit.com/r/MicroG/comments/jqg9v2/ebay_mobile_app_does_not_work_with_lineagemicrog/

I have tested the appwith very old versions and the same isues persists.

parcelcat commented 3 years ago

See: #885, #1007

I do think it's a SafetyNet issue, but I'm not sure.

As I wrote in #1007:

The app temporarily worked for some time in 2020, but eBay changed something and it stopped working again. Right now, the eBay app is not working with microG.

Edit: The issue for me was unrelated to microG. See below.

Axolord commented 3 years ago

Ebay works fine for me and at least some others, as a recent reddit post points out, since microG version 0.2.20 introduced a bug that stopped ebay from working for a short amount of time. https://old.reddit.com/r/MicroG/comments/od5m2e/ebay_app_broken/

My device is rooted and Magisk has a random package name, while Magisk Hide is not enabled for anything related. Adaway is not installed. Android Version 10.

Please try again and close the issue, if it is resolved for you.

parcelcat commented 3 years ago

@Axolord I'm glad it's working for you, but the latest version of the eBay app (6.24.0.2) is still not working for me using microG version 0.2.21.212158 with Magisk 23.0 (with random package name) on Android 11. MagiskHide doesn't make a difference for me.

Edit: Actually, I'm completely wrong. My DNS over HTTPS (DoH) provider blocked ads, and the eBay app apparently refused to fetch data because of this. Switching to a different DoH provider without ad blocking fixed the issue for me, and after logging in, the eBay app continues fetching data even after I re-enabled the DoH provider with ad blocking. Good to know that the eBay app's hard dependency on an ad/tracking server is the problem, and not microG.

mscMMN commented 3 years ago

Having the same issue as OP: I'm on Android 11 with latest HavocOS 4.5. microG version: 0.2.21.212158

I downloaded the latest ebay app from Aurora store. The ebay app opens up just fine, but does not show any content. When trying to login or searching for something I receive "Invalid request" message.

Also on a sidenote: ebay Kleinanzeigen works completely fine.

Edit: logcat says GooglePlayServicesUtil: com.ebay.mobile requires the Google Play Store, but it is missing. GooglePlayServicesUtil: GooglePlayServices not available due to error 9

fdjohnston commented 3 years ago

Edit: Actually, I'm completely wrong. My DNS over HTTPS (DoH) provider blocked ads, and the eBay app apparently refused to fetch data because of this. Switching to a different DoH provider without ad blocking fixed the issue for me, and after logging in, the eBay app continues fetching data even after I re-enabled the DoH provider with ad blocking. Good to know that the eBay app's hard dependency on an ad/tracking server is the problem, and not microG.

Same thing worked for me. Nothing would load in the app and couldn't log in. After reading the above I switched off my Wifi connection (I'm running a PiHole on my home network) and was able to log in over 5G right away. Once I was logged in, the app worked as expected even after switching back to Wifi.

starbrights commented 2 years ago

I did have same trouble (no login possible). After disable adaware (at least for first time of login) it works. I am running "LOS for microG" 19 on S10e, with adaware and afwall+ with latest ebay. Surprise, surprise.

Fs00 commented 1 year ago

Today I've done some tests using different phones and I've discovered that the eBay app works only if SafetyNet attestation is enabled in microG and passes all tests. Another perfect example of SafetyNet abuse here🙄

Mnky313 commented 12 months ago

Today I've done some tests using different phones and I've discovered that the eBay app works only if SafetyNet attestation is enabled in microG and passes all tests. Another perfect example of SafetyNet abuse here🙄

I'm running Android 13 w/ microG (0.2.28.231657) and SafetyNet passing

eBay app launches but never loads anything (Try searching for something above or tap "Reload" to try again.)

Signing in causes the app to crash shortly after launching.

ale5000-git commented 12 months ago

There have been various fixes in the latest code (not released yet); for those that want to try there is the official nightly build.

Mnky313 commented 12 months ago

There have been various fixes in the latest code (not released yet); for those that want to try there is the official nightly build.

thanks for the tip

app loads content on the homepage when not signed in with the latest nightly build but still crashes when launching after logging in :(

Edit: seems to be related to the homepage, if you launch other activities (either from long-pressing the app or an activity launcher) the app will work fine until you select homepage

ale5000-git commented 12 months ago

@Mnky313 Could you please post a logcat of the crash (with the latest nightly build)?

Mnky313 commented 12 months ago

@Mnky313 Could you please post a logcat of the crash (with the latest nightly build)?

in the process of capturing the logcat I noticed it was giving: java.lang.IllegalStateException: PermissionController is not found

Enabling eBay's access to photos and video manually through settings fixed the crashing.

(it never prompted for this access though which is weird)

So that crashing is probably unrelated, nightly build is working! :D

starbrights commented 10 months ago

I was able to login with LOS20 microg-fork, magisk and Zygisk (set app to deny list). Don't know how long this "works" will last.

babushanaelsa commented 9 months ago

I've found a workaround for this - it's not the prettiest way of solving things, but it works.

I have a Pixel 5 that runs ebay fine and hasn't had problems when I flashed Calyxos about 1.5 years ago. Now I have a new Pixel 8 with Calyxos and MicroG again and I wasn't able to sign in the ebay app.

I downloaded the version of the ebay app that was the newest when I flashed Calyxos for the first time: https://www.apkmirror.com/apk/ebay-mobile/ebay/ebay-6-49-0-3-release/ (February 2022)

installed it, signed in (worked without hesitation) and then upgraded via Aurora store to the newest version (beeing signed in).

Now im still signed in but with the latest version of the app

AgentOak commented 8 months ago

What worked for me was restoring the (fully-updated) app with its data from my old phone using Neo-Backup. Of course both phones need to be rooted for that. (Seedvault won't work because they still allow apps to deny being backed up which ebay does)

Now running eBay 6.140.0.1 with Private DNS, AdAway and microG without SafetyNet and it works fine. Maybe they do some sort of device trustworthiness evaluation and reject new app installations that don't pass some arbitrary secret requirements.

parcelcat commented 7 months ago

I have a device with the latest version of eBay (6.145.2.1) working with microG, but I'm not able to get a new installation of the same version of eBay working on a different device. Restoring all data via Neo Backup did not work. Installing the old 6.49.0.3 version did work, but the eBay app failed to load data after being upgraded to 6.145.2.1 again. (The new device passes SafetyNet with basic attestation and eBay was placed on Magisk's DenyList, neither of which seemed to help.)

I'm currently sticking with the old 6.145.2.1 version and putting eBay on the Aurora Store blacklist to block updates. It doesn't look like eBay app added any useful features since February 2022.

parcelcat commented 7 months ago

Instead of directly upgrading from version 6.49.0.3 to 6.145.1, I installed a few versions in between from APKMirror before upgrading to the latest version, and eBay seems to be working again, no DenyList needed.

sorryusernameisalreadytaken commented 2 weeks ago

Same issue: https://github.com/microg/GmsCore/issues/2454 https://github.com/microg/GmsCore/issues/1007 https://github.com/microg/GmsCore/issues/1450

Workaround: You can enable all the google-shit in microG and then install this old ebay apk temporary to login: https://t1p.de/ebayfuck

You need to click fast on the login-field. When the message comes that "your app is outdated" go to aurora-store (or update on your own or any other apk store) and update the ebay app. Dont close the old ebay app with the outdated-message. Then type in your otp.

If your are too slow with the login, delete all app-data and try again.

This worked for me all the time on different microG devices.

I hope this will be fixed in future. I really need the ebay app.