Comments (4)
@hrobar AppUpdate
is not served in ionic-native
try window.AppUpdate
in common use,
or
try $window.AppUpdate
in Angular1.x project
from cordova-plugin-app-update.
thx, but i compiled ionic 2 app and show me this error
`
C:\xampp\htdocs\androidapp\testAppUpdate\platforms\android\src\com\vaenow\appupdate\android\CheckAppUpdate.java:6: error: package android.support.v4.app does not exist
import android.support.v4.app.ActivityCompat;
^
C:\xampp\htdocs\androidapp\testAppUpdate\platforms\android\src\com\vaenow\appupdate\android\CheckAppUpdate.java:52: error: cannot find symbol
int permission = ActivityCompat.checkSelfPermission(activity,
^
symbol: variable ActivityCompat
location: class CheckAppUpdate
C:\xampp\htdocs\androidapp\testAppUpdate\platforms\android\src\com\vaenow\appupdate\android\CheckAppUpdate.java:57: error: cannot find symbol
ActivityCompat.requestPermissions(activity, PERMISSIONS_STORAGE,
^
symbol: variable ActivityCompat
location: class CheckAppUpdate
Note: C:\xampp\htdocs\androidapp\testAppUpdate\platforms\android\src\org\apache\cordova\splashscreen\SplashScreen.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:compileDebugJavaWithJavac FAILED
BUILD FAILED
Total time: 18.166 secs
3 errors
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error: cmd: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
C:\xampp\htdocs\androidapp\testAppUpdate\platforms\android\src\com\vaenow\appupdate\android\CheckAppUpdate.java:6: error: package android.support.v4.app does not exist
import android.support.v4.app.ActivityCompat;
^
C:\xampp\htdocs\androidapp\testAppUpdate\platforms\android\src\com\vaenow\appupdate\android\CheckAppUpdate.java:52: error: cannot find symbol
int permission = ActivityCompat.checkSelfPermission(activity,
^
symbol: variable ActivityCompat
location: class CheckAppUpdate
C:\xampp\htdocs\androidapp\testAppUpdate\platforms\android\src\com\vaenow\appupdate\android\CheckAppUpdate.java:57: error: cannot find symbol
ActivityCompat.requestPermissions(activity, PERMISSIONS_STORAGE,
^
symbol: variable ActivityCompat
location: class CheckAppUpdate
Note: C:\xampp\htdocs\androidapp\testAppUpdate\platforms\android\src\org\apache\cordova\splashscreen\SplashScreen.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.`
from cordova-plugin-app-update.
package android.support.v4.app does not exist
This link #17 may help you.
from cordova-plugin-app-update.
@hrobar you need to update your ionic native to @2.6.0, appUpdate was added with the 2.6.0 update
from cordova-plugin-app-update.
Related Issues (20)
- my app continuosly ask for "upadate available even though is updated once in ionic 3" HOT 5
- Download Bar doesn't fill up for when downloading APK HOT 4
- CheckAppUpdate.java uses or overrides a deprecated API.
- There was a problem while parsing the package
- App Not installing automatically in android 9 HOT 8
- Download Again / Install Manually when run with the Kiosk cordova plugin HOT 4
- App crashed after download HOT 4
- Provide full api expose
- Receiving only one message from plugin
- APK Update
- Implementation with ionic-stencil
- I don't think the plugin still has active maintainers. Here's an alternative. HOT 3
- When I open the application, I got an error in console that says: HOT 2
- Don't use this plugin! HOT 10
- This plugin is a voilation against google policies, do not install this plugin HOT 2
- Does this plugin support android10? HOT 2
- Application crash while trying to update (null.appupdate.provider)
- Do you possibly support capacitor?
- FileNotFoundException
- BSF Cordova Ecosystem Crowdfunding Plan
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-app-update.