tschoffelen/react-native-check-version

Android failing to get current play store version

Closed this issue · 2 comments

I am getting the following return/error:

{
  "bundleId": "xxxxx",
  "country": "us",
  "error": [TypeError: null is not an object (evaluating 'res.data.match(/\[\[\[['"]((\d+\.)+\d+)['"]\]\],/)[1]')],
  "lastChecked": "2022-10-11T21:09:44.941Z",
  "needsUpdate": false,
  "notes": "",
  "platform": "android",
  "url": null,
  "version": null,
}

And it seems that the Play Store HTML structure has changed.
The following PR is my suggestion to fix it:
#45

For me it's still happening:
image

Version:
image

@doougui is you app published on public track on PlayStore?
It was my problem and may be yours too.
Here are my latest PR abou