Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android getLatestVersion() not working #176

Open
farrar142 opened this issue Jul 25, 2022 · 1 comment
Open

Android getLatestVersion() not working #176

farrar142 opened this issue Jul 25, 2022 · 1 comment

Comments

@farrar142
Copy link

console.log(VersionCheck.getCurrentVersion());

VersionCheck.getLatestVersion({
    provider: 'playStore',
})
    .then((response) => {
        console.log(response);
    })
    .catch((err) => {
        console.log(err);
    });

that gives error

[Mon Jul 25 2022 19:20:21.560]  LOG      1.2
[Mon Jul 25 2022 19:20:21.839]  WARN     [TypeError: Network request failed]

on other app request for 'https://play.google.com/store/apps/details?id=${myPackageName}' gives CORS Error
how can I solve it?

Version Yarn : v1.22.18
Version React Native: v0.63.4
Version React Native Version Check : v3.4.4

@FranciscoGarciaPilar
Copy link

FranciscoGarciaPilar commented Jul 28, 2022

Same here. I am getting a 403 error:

Request URL: https://play.google.com/store/apps/details?id=com.bsa.sbm&hl=en
Request Method: GET
Status Code: 403
Response:
403. That’s an error.

We're sorry, but you do not have access to this page. That’s all we know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants