Code Monkey home page Code Monkey logo

Comments (11)

tschoffelen avatar tschoffelen commented on June 18, 2024 4

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.

ramirezjag00 avatar ramirezjag00 commented on June 18, 2024 3

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.

tschoffelen avatar tschoffelen commented on June 18, 2024 2

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.

M4Tdev avatar M4Tdev commented on June 18, 2024 1

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.

tschoffelen avatar tschoffelen commented on June 18, 2024 1

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.

tschoffelen avatar tschoffelen commented on June 18, 2024

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:

image

from react-native-check-version.

AlixH avatar AlixH commented on June 18, 2024

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.

niyasc avatar niyasc commented on June 18, 2024

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.

M4Tdev avatar M4Tdev commented on June 18, 2024

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.

adrienGzc avatar adrienGzc commented on June 18, 2024

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.

tschoffelen avatar tschoffelen commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.