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

Can't install 1.0.2 version using npm #23

Open
atchakraborty opened this issue Mar 5, 2018 · 5 comments
Open

Can't install 1.0.2 version using npm #23

atchakraborty opened this issue Mar 5, 2018 · 5 comments

Comments

@atchakraborty
Copy link

atchakraborty commented Mar 5, 2018

Hi,
Facing some issues in using this plugin:

1: We cant use the new version 1.0.2 using npm install nativescript-store-update or tns plugin add nativescript-store-update command so cannot use alertOptions: {} at all. Its showing not defined. Its installing 1.0.1 version.

2: For majorUpdateAlertType: AlertTypesConstants.FORCE also in background tap its dismissing the alert and not showing on app resume or restart at all.

The nativescript version I am using is 3.4.1

@SBats
Copy link
Contributor

SBats commented Mar 5, 2018

Hi @atchakraborty !
Thank you for reporting this issue. Indeed we forgot to publish the 1.0.2. I'll do it very soon. Sorry for the inconvenience!

@SBats
Copy link
Contributor

SBats commented Mar 5, 2018

It should have been updated on npm, please let me know if it does fix the second issue you have.

@atchakraborty
Copy link
Author

atchakraborty commented Mar 6, 2018

Thanks for publishing 1.0.2. Now alertOptions: {} are available.

But my second issue is still there. Still when I am clicking in background alert is getting removed. Seeming like majorUpdateAlertType: AlertTypesConstants.FORCE is not working.

@atchakraborty
Copy link
Author

@SBats I am stuck here, any update will be useful. Else if there is a option to check the version of the app in store, it will be helpful. Then we can implement our own prompt for the update as well.

@SBats
Copy link
Contributor

SBats commented Mar 7, 2018

Hey.
I'll give it a look as soon as I have a moment. Do you encounter the issue on a specific OS or is it for both Android and iOS?
As to check the store version, for now, it's all private methods we'd like to open to allow for custom handler definition, but it's not done yet.

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