Comments (11)
Turns out not super reliable, that's why I replaced it yesterday by a method to query Google Play directly again (in v1.0.14).
from react-native-check-version.
for experimentation purposes, as an alternative to google play store redesign, I tried getting the version name and code in an app's page with apkcombo.com
and it works
from react-native-check-version.
That was super helpful @ramirezjag00!
I've just pushed a new version of the package that uses this website for Android version checking, as a quick fix until we find a better way to query Google Play directly.
@M4Tdev the master branch of the package now does no longer rely on a custom backend.
from react-native-check-version.
Thanks for the fast reply! Yeah, they have made it harder for us, that is basically why I reach out I thought maybe you have found a way to scrape it 😅.
I'm going to try and find some solution for this and if I find one I will let you know and create PR for sure!
from react-native-check-version.
I think my backend service might have been overwhelmed with the number of failing Android version checks. We have a couple of million requests per day at the moment.
Yet another reason to update to 1.0.14, which is now fully self-contained, without any reliance on my servers.
from react-native-check-version.
Hi there! I wasn't aware of this, and the backend hasn't been updated to work with the new version of the Play web pages indeed. Latest version of the backend code is in the repo.
I was thinking of doing the same - implementing the fetching directly in the mobile app (see #29), but don't think I'll have time to do so for another couple of weeks...
Happy to work together on a mobile implementation, if we can find a way to work with the new Google Play pages. They seem a lot harder to scrape:
from react-native-check-version.
That was super helpful @ramirezjag00!
I've just pushed a new version of the package that uses this website for Android version checking, as a quick fix until we find a better way to query Google Play directly.
@M4Tdev the master branch of the package now does no longer rely on a custom backend.
@tschoffelen , are you able to explain why it is working again on iOS (and did not before your backend update) if only Google Play Store changed their API ?
from react-native-check-version.
How reliable is apkcombo.com? I'm getting network error with the latest updated.
{"message":"Network Error","name":"AxiosError","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{"FormData":null},"headers":{"Accept":"application/json, text/plain, */*","User-Agent":"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36"},"method":"get","url":"https://apkcombo.com/x/....../"},"code":"ERR_NETWORK","status":null}
Also, the page shows secure connection failed on browser.
from react-native-check-version.
Yeah, the solution with apkcombo.com is not good, on Friday I was having problems that apkcombo.com did not have the latest app version, my latest version is 1.29.9 but it was giving me something like 1.9.1.
from react-native-check-version.
Hi everyone 👋🏻 ,
I was wondering, did you find a solution to scrap the Google Play Store page and get the version number?
from react-native-check-version.
Yes, the latest version of this library now directly scrapes Google Play.
Changelog: https://github.com/flexible-agency/react-native-check-version#changelog
from react-native-check-version.
Related Issues (20)
- Invalid time value error HOT 3
- Why a custom backend? HOT 2
- [android] Invalid time value HOT 2
- The check version method issue HOT 7
- problem severity 1 HOT 9
- Publish 1.0.14 tag to npm HOT 1
- [Question] Internal version number HOT 1
- It gives me old version however when I visit the store it's already updated HOT 2
- Require cycle: node_modules/semver/classes/comparator.js -> node_modules/semver/classes/range.js -> node_modules/semver/classes/comparator.js HOT 1
- Patch for Require cycle: node_modules/semver/classes/comparator.js -> node_modules/semver/classes/range.js -> node_modules/semver/classes/comparator.js HOT 2
- Does not show the update button on play store when the update is available HOT 1
- Does this work with internal testing as well. HOT 3
- [Android] version is null HOT 2
- Android failing to get current play store version HOT 2
- checkVersion is not working in latest version 1.0.20 HOT 5
- Adding error field to the TS interface HOT 1
- How do you solve the issue when the App is probably scrapable but still not visible in app store for users in their phones? HOT 4
- Support for AppGalleryConnect (Huawei) HOT 1
- getting error on Android HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-check-version.