NoMore201 / playmaker

Fdroid repository manager fetching apps from Play Store
284 stars 37 forks source link

First steps to adjust for GooglePlay API v3 #53

Open fellek opened 4 years ago

fellek commented 4 years ago

Hi, with #51 I saw, Playmaker was not possible to talk to Google Play Store any more. it seems there changed some API results in API v3. I'm really new to this API so I only made changes by guessing... If you're facing the same issues and need hotfix you are welcome to use this, but there will be not full functionality.

Function of this Version

Jonny007-MKD commented 4 years ago

Hi, I merged your changes into my fork. Thank you for your work! When updating my applications, I get this error:

  File "/usr/local/lib/python3.8/site-packages/playmaker/server.py", line 56, in check
    return service.check_local_apks()
  File "/usr/local/lib/python3.8/site-packages/playmaker/service.py", line 367, in check_local_apks
    print('%d == %d ?' % (app.get('details').get('appDetails')['versionCode'], details.get('details').get('appDetails')['versionCode']))
KeyError: 'versionCode'

Can you reproduce this?

fellek commented 4 years ago

Hi, I merged your changes into my fork. Thank you for your work! When updating my applications, I get this error:

  File "/usr/local/lib/python3.8/site-packages/playmaker/server.py", line 56, in check
    return service.check_local_apks()
  File "/usr/local/lib/python3.8/site-packages/playmaker/service.py", line 367, in check_local_apks
    print('%d == %d ?' % (app.get('details').get('appDetails')['versionCode'], details.get('details').get('appDetails')['versionCode']))
KeyError: 'versionCode'

Can you reproduce this?

It seems you are runnig on Python3.8 is it correct? My playmaker installation runs on Python3.7

Jonny007-MKD commented 4 years ago

It seems you are runnig on Python3.8 is it correct? My playmaker installation runs on Python3.7

Yes, that's correct (because that's what Docker downloaded :) ). I could workaround this issue by removing the app causing the error (com.nxp.nfc.tagwriter) from PlayMaker