Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49254

Migrating from Cordova to Capacitor

$
0
0

@michaelo wrote:

So i’ve started following the guide here: https://capacitor.ionicframework.com/docs/cordova/migrating-from-cordova-to-capacitor/

And all seems to be going well so far. My issue is, i’m abit confused about all the different imports for the native packages.

For example for the Keyboard plugin:

There is:
https://ionicframework.com/docs/v3/api/platform/Keyboard/
https://ionicframework.com/docs/native/keyboard
https://capacitor.ionicframework.com/docs/apis/keyboard

I’m still using ionic v3 for now until i’m able to migrate the codebase, but I want to start fully using capacitor ahead of migrating as I like the idea of being able to check in the platforms source code.

So out of the 3 links, what am I supposed to use? Do I abandon all non capacitor plugins & imports and only use the instructions outlined in the capacitor docs? Or do I use some sort of a hybrid?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49254

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>