@@ -57,7 +57,12 @@ var getAppstoreAppMetadata = require("react-native-appstore-version-checker")
5757// On Android u can do
5858getAppstoreAppMetadata (" com.supercell.clashofclans" ) // put any apps packageId here
5959 .then (metadata => {
60- console .log (" clashofclans android app version on playstore" , metadata .version , " published on" , metadata .currentVersionReleaseDate );
60+ console .log (
61+ " clashofclans android app version on playstore" ,
62+ metadata .version ,
63+ " published on" ,
64+ metadata .currentVersionReleaseDate
65+ );
6166 })
6267 .catch (err => {
6368 console .log (" error occurred" , err);
@@ -66,7 +71,12 @@ getAppstoreAppMetadata("com.supercell.clashofclans") //put any apps packageId he
6671// On IOS u can do
6772getAppstoreAppMetadata (" 529479190" ) // put any apps id here
6873 .then (appVersion => {
69- console .log (" clashofclans android app version on appstore" , metadata .version , " published on" , metadata .currentVersionReleaseDate );
74+ console .log (
75+ " clashofclans android app version on appstore" ,
76+ metadata .version ,
77+ " published on" ,
78+ metadata .currentVersionReleaseDate
79+ );
7080 })
7181 .catch (err => {
7282 console .log (" error occurred" , err);
@@ -134,7 +144,7 @@ const storeSpecificId =
134144
135145getAppstoreAppMetadata (storeSpecificId, {
136146 jquerySelectors: {
137- version: " [itemprop='softwareVersion']" ,
147+ version: " [itemprop='softwareVersion']"
138148 },
139149 typeOfId: " id" ,
140150 country: " de"
@@ -174,6 +184,7 @@ Quick note: it will get the public version from stores, that is, will not get al
174184- [ Yuttana K] ( https://github.com/Thunderbird7 )
175185- [ Luís] ( https://github.com/luissmg )
176186- [ Grover TB] ( https://github.com/grovertb )
187+ - [ David Saltares] ( https://github.com/dsaltares )
177188
178189### License
179190
0 commit comments