Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
a7ul committed Nov 26, 2019
1 parent cba9255 commit b142ee1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,12 @@ var getAppstoreAppMetadata = require("react-native-appstore-version-checker")
//On Android u can do
getAppstoreAppMetadata("com.supercell.clashofclans") //put any apps packageId here
.then(metadata => {
console.log("clashofclans android app version on playstore", metadata.version, "published on", metadata.currentVersionReleaseDate);
console.log(
"clashofclans android app version on playstore",
metadata.version,
"published on",
metadata.currentVersionReleaseDate
);
})
.catch(err => {
console.log("error occurred", err);
Expand All @@ -66,7 +71,12 @@ getAppstoreAppMetadata("com.supercell.clashofclans") //put any apps packageId he
//On IOS u can do
getAppstoreAppMetadata("529479190") //put any apps id here
.then(appVersion => {
console.log("clashofclans android app version on appstore", metadata.version, "published on", metadata.currentVersionReleaseDate);
console.log(
"clashofclans android app version on appstore",
metadata.version,
"published on",
metadata.currentVersionReleaseDate
);
})
.catch(err => {
console.log("error occurred", err);
Expand Down Expand Up @@ -134,7 +144,7 @@ const storeSpecificId =

getAppstoreAppMetadata(storeSpecificId, {
jquerySelectors: {
version: "[itemprop='softwareVersion']",
version: "[itemprop='softwareVersion']"
},
typeOfId: "id",
country: "de"
Expand Down Expand Up @@ -174,6 +184,7 @@ Quick note: it will get the public version from stores, that is, will not get al
- [Yuttana K](https://github.com/Thunderbird7)
- [Luís](https://github.com/luissmg)
- [Grover TB](https://github.com/grovertb)
- [David Saltares](https://github.com/dsaltares)

### License

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-appstore-version-checker",
"version": "2.7.2",
"version": "3.0.0",
"description": "A react native module to find the app version on play store and ios app store",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit b142ee1

Please sign in to comment.