-
Notifications
You must be signed in to change notification settings - Fork 12
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
Alert user #2
Comments
I am finally able to find the version number and my javascript file uses it to check if the version is actually the latest. If not, it prompts an update. (this is what my apps do, the plugin just digs the version name and version code) Something like is v_code on the phone the same of the v_code the server is showing? Yes, I already added it to the phonegap plugin list :) |
Are you interested in the code that does such check? |
Sure that would be helpful. I am trying to learn about parsing xml. I built On Wed, Mar 6, 2013 at 1:29 PM, gcatalfamo notifications@github.com wrote:
|
Ok, listen up:
And now, this is the function I use inside my app:
//This function describes the button behavior. In this case, it opens the app page on the play store. Please let me know if this helped you. |
Thank you so much!! I will try this and see how it goes. On Wed, Mar 6, 2013 at 1:44 PM, gcatalfamo notifications@github.com wrote:
|
It Worked!! Thank you. One final question. How are you triggering it? Are you using $(document).ready? |
No, but you could. I personally use this:
|
Yes I put it there too. Now I'm off to try and get this working for the iOS version. Thanks again for your help. |
Actually market://details?id=<package_name> is being prepended by http:// when I click download the update. If anyone comes across this and needs a solution for iOS search for Harpy on GitHub. Works perfectly. |
This is an issue with Cordova's new InAppBrowser. It seems to prepend the http:// Opening of market:// with window.open will be resolved in Cordova 2.6 |
What are you doing once you have the version number? I am able to get the number in log but I'm not sure how to alert user of a newer version.
Thank you for the plugin too. Have you thought of adding it to the phonegap plugins list?
The text was updated successfully, but these errors were encountered: