Ionic Native's plugins work well if I run on device but they don't work if I package the application

@angular/common”: “2.1.1”,
"@angular/compiler": “2.1.1”,
"@angular/compiler-cli": “2.1.1”,
"@angular/core": “2.1.1”,
"@angular/forms": “2.1.1”,
"@angular/http": “2.1.1”,
"@angular/platform-browser": “2.1.1”,
"@angular/platform-browser-dynamic": “2.1.1”,
"@angular/platform-server": “2.1.1”,
"@ionic/storage": “1.1.6”,
“ionic-angular”: “2.0.0-rc.3”,
“ionic-native”: “2.2.3”,
“ionicons”: “3.0.0”,
“rxjs”: “5.0.0-beta.12”,
“zone.js”: “0.6.26”

Hi, I can’t understand why the plugin work if I run the application on the device but are not minimally detected if package and download the apk. By installing the application on Android it’s as if the plugin had not been installed.

Hmm, what are you running when you build/package the app?
It could have to do with the package build not picking up the custom build cordova apps have

ionic package build android
ionic package download BUILD_ID

The only thing missing is the profile tag, though in the past to do some simple tests I’ve always done it this way.

The rest of the application works perfectly.

I solved. You have to put --save at the end of the installation of the plug-in.
For example:
$ ionic plugin add cordova-plugin-inappbrowser --save
Otherwise it does not save the plugin on config.xml

Sorry but it is not specified on the documentation of ionic native. I found this in the package documentation.

Thanks again.