diff --git a/packages/react-native-version-check/src/providers/playStore.js b/packages/react-native-version-check/src/providers/playStore.js index f2e8ce56..3e8545e1 100644 --- a/packages/react-native-version-check/src/providers/playStore.js +++ b/packages/react-native-version-check/src/providers/playStore.js @@ -34,7 +34,7 @@ class PlayStoreProvider implements IProvider { return fetch(storeUrl, opt.fetchOptions) .then(res => res.text()) .then(text => { - const match = text.match(/Current Version.+?>([\d.-]+)<\/span>/); + const match = text.match(/\[\[\["([\d.]+?)"\]\]/); if (match) { const latestVersion = match[1].trim();