kungfu-king-betty / cordova-plugin-native-app-update

This is a cordova plugin to easily check the iOS App Store or Android Google Play Store for an available app update.
MIT License
11 stars 17 forks source link

AppUpdate is not defined #5

Open javier0405 opened 3 years ago

javier0405 commented 3 years ago

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

iamandreadompe commented 2 years ago

Try to declare before AppUpdate

`declare let AppUpdate: any;

Schermata 2022-02-11 alle 09 24 28

`