SFDX-Data-Move-Utility icon indicating copy to clipboard operation
SFDX-Data-Move-Utility copied to clipboard

Android getLatestVersion() not working

Open farrar142 opened this issue 3 years ago • 1 comments

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

farrar142 avatar Jul 25 '22 10:07 farrar142

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.

FranciscoGarciaPilar avatar Jul 28 '22 18:07 FranciscoGarciaPilar