Cordova sms plugin capacitor - ionic-framework

I have a problem in my app, I installed npm install cordova-sms-plugin
npm install #ionic-native/sms, and run command npx cap sync but doesn’t work, when update iOS, please your help. look at the image, it stays in that state

Related

Installing plugin the Capacitor way still requires the Cordova plugin

When I install for example the Insomnia plugin the Capacitor way like so:
npm install cordova-plugin-insomnia
npm install #ionic-native/insomnia
ionic cap sync
It still requires me to install the cordova plugin like this:
ionic cordova plugin add cordova-plugin-insomnia
In order to work. Otherwise it says: plugin_not_installed
My steps to make it work are:
Step 1: Add Insomnia to providers (#ionic-native/insomnia/ngx)
Step 2: Inject Insomnia within the constructor private insomnia: Insomnia
Am I forgetting something or do I just really need to ionic cordova plugin add for plugins that are not fully supported yet?
Probably obvious for most but just in case someone else might face this problem..
When you use capacitor you shouldn't start your server with ionic cordova run or ionic cordova build anymore.
Obviously you need to start it this way for livereload:
ionic cap run android -l --external
ionic cap run ios -l --external
That is because your application is using cordova and not capacitor..
Remove your platforms folder, and just to make sure and remove unnecessary cordova files which will increase your app size, remove cordova-android and cordova-ios from your package.json.. You do not need that for running your app based on capacitor.
Then, run this command.
ionic build
npx cap add android
npx cap add ios
For each successive build, in case you add or remove a plugin, use npx cap sync
Otherwise use npx cap copy
Reference Docs

Ionic 2 app not installing #ionic-native/network

I'm trying to use cordova-plugin-network-information and #ionic-native/network in my ionic 2 app. However, I get the following error when trying to execute npm install --save #ionic-native/network.
npm WARN #ionic-native/network#3.8.1 requires a peer of #ionic-native/core#^3.6.0 but none was installed.
npm WARN #ionic-native/network#3.8.1 requires a peer of rxjs#^5.0.1 but none was installed.
How do I fix this? Do I need to upgrade to ionic 3?
You need to install ionic native 3.x. Seems you are using ionic native 2.x. please update your package.json. It should work. if I am not mistaken, the latest version is 3.6.1. please follow below guide for more details. Kindly note that it require quite some changes to migrate to ionic native 3.x but thing is you get to mock them which is supported in the browser.
https://github.com/driftyco/ionic-native/blob/master/README.md
Ashley
Most of the time we see warnings in our projects. However, these should not affect your application. But, as Ashley suggested, update your application to the latest version to ensure everything is working as it should.
Please use as root/admin if on ubuntu try this
sudo npm install
if on windows
open cmd as administrator

how to change the installation path of ionic frasmework in command prompot

I am new to Ionic, I have installed my ionic to C:\Users\myname, now I don't install ionic under user name folder, because it make my folder mess and i want to put them to one directory, meanwhile, i don't want to uninstall my ionic and corvoda and install them again !
does anyone have any solution for this.
Thanks
Install ionic and cordova using npm repository globally.First install node.js and follow the below instructions https://ionicframework.com/getting-started/

Ionic app starter project hangs on NPM install phase

When I'm trying to create a simple ionic app with 'ionic start' command, I see that ionic downloads a base app and the template indicated, but then I see 'Installing npm packages...' and it that never ends it's process (I have waited hours).
Ionic creates the myapp folder with files within it, but I don't know if it finally creates the ionic app to work with. If I put 'ionic serve' there is nothing on screen, even if I choose the tabs template.. or an error 'couldn't find ionic.config.json file'
is it a firewall issue? anyone has faced with this?
You must update your ionic to beta version using:
npm install -g ionic#beta

rnpm command not found after "sudo npm install rnpm -g"

I am still new to coding and I ran into a weird problem.
I am trying to use the facebook SDK in my react native app and I was following the tutorials for installing rnpm. However, after I installed rnpm package the "rnpm" command is still unusable. Can someone point out what I did wrong? I already installed the package globally.
Since last November, rnpm is part of the React Native core, so you don't need to install rnpm anymore. You can run directly 'react-native link' to link the dependencies that you instal using npm.
You need to install npm on your macbook
issue
sudo port install npm
https://medium.com/#samthor/installing-npm-on-mac-os-x-with-macports-27e9f380ffb7#.58c58rzca