Docile-Alligator / Infinity-For-Reddit

A Reddit client for Android
https://play.google.com/store/apps/details?id=ml.docilealligator.infinityforreddit
GNU Affero General Public License v3.0
4.02k stars 404 forks source link

Subscription screen periodically shows despite having an active subscription #1678

Open hldr4 opened 1 week ago

hldr4 commented 1 week ago

Checklist

App version

7.2.6

Where did you get the app from

Google Play

Android version

14

Device model

Pixel 7

First occurred

Since the beginning of usage

Steps to reproduce

I have an active subscription through Google Play, app installed from there as well. At random intervals, when I open the app, it shows the subscription required overlay. Force-closing and reopening the app restores functionality.

Additional information:

Is the app at all dependent on Play Integrity API? I'm rooted with Magisk and have PlayIntegrityFix module installed to pass DEVICE_INTEGRITY. If the app relies on the PI API at some point during subscription validity checks, this might be the reason for the shenanigans described. But seems it's also occured to other people so who knows. Please investigate.

Example post, link, markdown...

No response

Expected behaviour

Subscription overlay never appears if there's an active subscription

Current behaviour

Described above. Can attach screenshot or screen capture the next time it happens, but the issue is pretty self-explanatory without that.

Logs

No response

Docile-Alligator commented 1 week ago

Hi, I think it's because your Google Play services app is updating. Infinity checks for subscription in a fixed interval and when it cannot request the subscription status from the Google billing service, it will show the subscription screen.

hldr4 commented 1 week ago

Hi, I think it's because your Google Play services app is updating. Infinity checks for subscription in a fixed interval and when it cannot request the subscription status from the Google billing service, it will show the subscription screen.

Interesting, thanks for your response, looking at GMS update frequency at APKMirror this might indeed be the case, though it's quite the coincidence, I don't use Reddit that often, so me recurrently opening the app at the same time that GMS is updating is rather unlikely. And the update manages to finish in the background while I reopen the app? Unless I'm completely misunderstanding what you said

Docile-Alligator commented 1 week ago

This is just one of the scenarios that can cause this. I am really not sure about the exact reason why this happened though. But i think clicking the restore subscription button also works.

hldr4 commented 1 week ago

This is just one of the scenarios that can cause this. I am really not sure about the exact reason why this happened though. But i think clicking the restore subscription button also works.

It doesn't, otherwise I'd use it :) Can't remember right now, it's either greyed out or clicking on it does nothing

Docile-Alligator commented 2 days ago

Sorry. Then you could select the same tier you subscribed to and I remember the dialog will show something like "Already subscribed". And then it will let you go pass the subscription screen.