chronogolf / nativescript-store-update

Apache License 2.0
19 stars 13 forks source link

Can't install 1.0.2 version using npm #23

Open atchakraborty opened 6 years ago

atchakraborty commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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

atchakraborty commented 6 years ago

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 commented 6 years ago

@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 commented 6 years ago

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.