Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Android #2

Closed
ziyafenn opened this issue Feb 16, 2019 · 4 comments
Closed

Error on Android #2

ziyafenn opened this issue Feb 16, 2019 · 4 comments

Comments

@ziyafenn
Copy link

Hi guys. Thanks for the awesome library.

I have no probs with it on iOS, however on Android i'm getting this error:

Got version info: 
error: "Invalid Version: //play.google.com/">"
error: "Invalid Version: //play.google.com/">

I tried that with debug and release versions.

Is it a bug or i just need to test it on the app download from the market?

Thanks.

@tschoffelen
Copy link
Owner

Can you share a bit more of your code?

Cheers,

Thomas

@ziyafenn
Copy link
Author

hey @tschoffelen, i used your example:

    checkVersion()
      .then(version => {
        console.log("Got version info:", version);
        if (version.needsUpdate) {
             this.setState({ updateNeeded: true, storeURL: version.url })
        }
      })
      .catch(e => {
        // Error - could not get version info for some reason
        console.log("Failed getting version info:", e);
      });

console.log("Got version info:", version); returns the described error on Android.

On ios all works well.

@ziyafenn
Copy link
Author

@tschoffelen were you able to replicate this?

@tschoffelen
Copy link
Owner

@ziyafenn Apologies for the slow response. This turned out to be a bug on the server-side, which has just been fixed:

c7e6471

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants