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

Alert not showing in Angular-Nativescript #28

Open
vforv opened this issue May 5, 2019 · 2 comments
Open

Alert not showing in Angular-Nativescript #28

vforv opened this issue May 5, 2019 · 2 comments

Comments

@vforv
Copy link

vforv commented May 5, 2019

First I saw this in README:
files and change app version in android app.gradle
Should it be AndroidManifest.xml file because there we change version for android?

I tried this pkg in my project but not working:

added:

StoreUpdate.init({
    majorUpdateAlertType: AlertTypesConstants.OPTION,
    notifyNbDaysAfterRelease: 0,
    alertOptions: {
        title: 'Attention please',
        message: 'Your app is out of date',
    },
});

in main.ts

after that update version in AndroidManifest.xml

from
android:versionCode="5"
android:versionName="2.0.3">

to
android:versionCode="6"
android:versionName="3.0.3">

but alert not rising. Is this still working?

@bradrice
Copy link

bradrice commented Jun 4, 2020

Wouldn't you have to set your version to an older version to get it to tell you a newer version is available? However, I too have not been able to get this plugin to work.

@wontroba666
Copy link

did anyone manage to run this plugin in nativescript + angular?

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

3 participants