I’m having another difficulty with the Ionic Package, and hope you can help me again.
We are using in our application the plugin to login with Facebook, however we had to make a fork of this plugin and change some things in its native source code for IOS.
So in our Ionic project we added this plugin by pulling it directly from our repository in github to use our custom version.
When we run a local build using the command:
Ionic cordova build ios
The plugin behaves as expected within the application by logging into Facebook successfully.
On the other hand, when I try to build in production through the Ionic Package, using the command:
Ionic package build ios --release --prod --profile=beta
The app simply comes without the plugin installed. I do not know what happens, but when I try to login with Facebook after generating the build through the Ionic Package, nothing happens. I installed a tool to check the application log (weinre) and the application simply ignores that the plugin exists. No error appears, but also no progress in the script that logs Facebook. Just stand there.
What could be happening? What is the compatibility of the Ionic Package to use custom plugins pulled directly from the github repository?
Is there any special parameter that should be passed to Ionic Package at the time of the build?