Giter VIP home page Giter VIP logo

Comments (6)

enricodeleo avatar enricodeleo commented on August 15, 2024 2

@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.

leo6104 avatar leo6104 commented on August 15, 2024

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.

enricodeleo avatar enricodeleo commented on August 15, 2024

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.

leo6104 avatar leo6104 commented on August 15, 2024

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.

leo6104 avatar leo6104 commented on August 15, 2024

Oh @enricodeleo you miss @capacitor/filesystem and @capacitor/dialog plugin.

from capacitor-codepush.

leo6104 avatar leo6104 commented on August 15, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.