Comments (6)
@leo6104 thank you for your reply!
Yes I guess it would help other devs understanding what is actually needed. Now it seems to work with explicit update dialog (I put it in order to check if the plugin works, I'll remove it before publishing the app).
Apparently at least @capacitor/device, @capacitor/dialog, @capacitor/filesystem are mandatory.
I'm still testing but apparently it works now.
from capacitor-codepush.
Did you install @capacitor/device plugin in your project?
It requires some plugins
"@capacitor-community/http": "^0.2.1",
"@capacitor/cli": "^3.0.0-beta.1",
"@capacitor/core": "^3.0.0-beta.1",
"@capacitor/device": "^0.5.1",
"@capacitor/dialog": "^0.4.1",
"@capacitor/filesystem": "^0.3.1",
"code-push": "^4.0.2"
from capacitor-codepush.
I installed
"@capacitor-community/fcm": "^1.0.8",
"@capacitor-community/firebase-analytics": "^0.2.0",
"@capacitor/android": "^3.0.0-beta.3",
"@capacitor/app": "^0.3.3",
"@capacitor/browser": "^0.4.3",
"@capacitor/core": "^3.0.0-beta.3",
"@capacitor/device": "^0.5.3",
"@capacitor/geolocation": "^0.4.0",
"@capacitor/haptics": "^0.3.3",
"@capacitor/ios": "^3.0.0-beta.3",
"@capacitor/keyboard": "^0.5.3",
"@capacitor/push-notifications": "^0.3.3",
Is it mandatory to add all the other plugin you mentioned?
from capacitor-codepush.
Did you run npx cap sync
command and see the plugin list include @capacitor/device
plugin?
In my project, when i ran npx cap sync
it shown like this.
✔ Creating capacitor.config.json in ios/App/App in 712.29μp
⠹ copy ios [info] Found 3 Cordova plugins for ios:
[email protected]
[email protected]
[email protected]
✔ copy ios in 632.10ms
✔ Updating iOS plugins in 18.84ms
[info] Found 16 Capacitor plugins for ios:
@capacitor-community/[email protected]
@capacitor-community/[email protected]
@capacitor/[email protected]
@capacitor/[email protected]
@capacitor/[email protected]
@capacitor/[email protected]
@capacitor/[email protected]
@capacitor/[email protected]
@capacitor/[email protected]
@capacitor/[email protected]
@capacitor/[email protected]
@capacitor/[email protected]
@codetrix-studio/[email protected]
[email protected]
[email protected]
[email protected]
⠙ update ios [info] Found 3 Cordova plugins for ios:
[email protected]
[email protected]
[email protected]
✔ Updating iOS native dependencies with pod install in 7.89s
from capacitor-codepush.
Oh @enricodeleo you miss @capacitor/filesystem and @capacitor/dialog plugin.
from capacitor-codepush.
@enricodeleo It require @capacitor-community/http plugin too.
I think we should update README.md to add dependency plugins.
from capacitor-codepush.
Related Issues (20)
- CodePush Error Could not get the package start page HOT 3
- app rolls back to the version before update after closed and opened again HOT 35
- Android build error: Could not get unknown property 'androidxAppCompatVersion' HOT 2
- Hello, how to push to your local server instead of AppCenter
- Integrating into a standard javascript app HOT 1
- Plugin Error
- Cordova Codepush is shutting down HOT 6
- Add additional maintainers?
- Can not use `sync` method in script HOT 7
- Cordova support is retired in App Center, will this effect the project? HOT 1
- App Center - Apache Cordova Retirement HOT 2
- Public key was provided but there is no JWT signature within app bundle to verify HOT 17
- Cordova will be retired from App Center starting April 1st 2022 HOT 2
- [NOT A ISSUE] AppCenter CodePush Backend Alternative HOT 8
- Announcing Apache Cordova Retirement HOT 6
- Cannot find module 'capacitor-codepush', webpackMissingModule
- Is this package still maintained? HOT 9
- CommonJS or AMD dependencies can cause optimization bailouts.
- Getting `Cannot perform diff-update` error for subsequent updates HOT 4
- Http plugin failed to call api to appcenter server
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 capacitor-codepush.