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

AppUpdate is not defined #5

Open
javier0405 opened this issue Sep 5, 2021 · 1 comment
Open

AppUpdate is not defined #5

javier0405 opened this issue Sep 5, 2021 · 1 comment

Comments

@javier0405
Copy link

Error

appenelRun.js:93 Uncaught ReferenceError: AppUpdate is not defined
at appenelRun.js:93
at Array. (ionic.bundle.js:56230)
at onPlatformReady (ionic.bundle.js:2496)
at onWindowLoad (ionic.bundle.js:2477)

Uncaught ReferenceError: AppUpdate is not defined

Context

I want to use the plugin in my project.

I need users to start the APP to show them a message to update the application.

Please your support to know how to use the plugin with the environment that I have my project.

Steps to Reproduce

  1. Install the plugin.
  2. Copy the example here.
  3. But I get the indicated error.

Your Environment

  • Plugin version: 2.0.0
  • Platform: iOS and Android
  • OS version: Mac Big Sur
  • Device manufacturer / model: --
  • Cordova version (cordova -v): 8.1.2 ([email protected])
  • Cordova platform version (cordova platform ls): Installed platforms:
    android 6.4.0
    ios 5.0.0
  • IONIC version: 3.20.1
  • ANGULARJS: 1.0.0
@iamandreadompe
Copy link

Try to declare before AppUpdate

declare let AppUpdate: any; <img width="566" alt="Schermata 2022-02-11 alle 09 24 28" src="https://user-images.githubusercontent.com/57131689/153558895-de4cff14-5d6b-4dba-a1d7-b7dcb513920c.png">

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