Update plugins


#1

To upgrade a project, after upgrading ionic and Cordova, I need to reinstall the plugins: inppabrowser, network-information and email-composer.

As to create, use:
Cordova plugin add org.apache.cordova.inappbrowser
Cordova plugin add-information org.apache.cordova.network
Cordova plugin add de.appplant.cordova.plugin.email-composer@0.8.2

In the first two get notifications they renamed. Do they work like the old? How would the command to install them correctly to avoid receiving the notification?

The last (email) can not be installed. Does anyone know if I can update it otherwise? or plugin which replaces it?

Add the image of the console, to be understood.

Thanks


#2

the email composer is not available in this specific version on npm --> but you can set github url as source :wink:

As a hack i added the plugin in this version to npm on my own:
https://www.npmjs.com/package/cordova-plugin-email-composer


#3

This work: cordova plugin add cordova-plugin-email
It is correct?


#4

if you want to install my plugin:

cordova plugin add cordova-plugin-email-composer


#5

Sorry, I’m not clear.
Before using Cordova plugin de.appplant.cordova.plugin.email-composer@0.8.2 and add code like this:
var email = {
to: ‘info@server.com’,
subject: ‘Contact’,
isHtml: true
};

         $cordovaEmailComposer.open(email).then(null, function () {
           // user cancelled email
         });

Now if I install your plugin:
cordova plugin add cordova-plugin-email-composer

I have to change my code? is another plugin? Thanks