Skip to content

In IOS getLatestVersion is not working #104

@ChandreshRana

Description

@ChandreshRana

I tried following for IOS:

===================== First Method =============================

VersionCheck.getLatestVersion({
provider: 'appStore' // for Ios
})
.then(latestVersion => {
console.log(latestVersion);
});

===================== Second Method ===========================

VersionCheck.getLatestVersion().then(latestVersion => {
console.log(latestVersion);
});

===================== Third Method ===========================

VersionCheck.getLatestVersion({
forceUpdate: true,
provider: () => fetch(https://itunes.apple.com/${countryCode}lookup?bundleId=${packageName})
.then(r => r.json())
.then(({version}) => version)
}).then(latestVersion =>{
console.log(latestVersion);
});

  • Nothing get Response as Latest Verison of IOS App from appstore.

  • @kimxogus suggest any additional parameters or api changes for get latest version info

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions