Apache cordova / phonegap how to enable features from config.xml

I have an application that uses some ios features (key sharing, push notifications, etc.)

Every time he removes the platforms and restarts the cordova platform, add ios, I have to manually open Xcode and open the .xcodeproj settings and go to the Capabilities tab and enable them manually.

Is there a way to automatically activate them automatically every time I re-launch the cordova add ios platform?

thanks

+7
ios xcode cordova
source share
1 answer

You may not need to do this at all.

The functions you mentioned (key sharing, Push notifications) will work without manually enabling related functions in Xcode if the plugins you use add the necessary installation rights.

And the most well-designed plugins do just that. For example:

Just be sure to use the latest version of the plugin.

0
source share

All Articles