I am trying to install cordova-plugin-fcm plugin in a blank Cordova app using Visual Studio 2017. I install the plugin and add the google-plist files etc. On my mac i have xcode 7.2.1.
When i build an ipa from visual studio it generates an IPA, but it does not have push notifications enabled. I have added all the source code, including plugins folders, to bitbucket. Link below; https://bitbucket.org/quintonn/pushnotificationtest
What am i missing to get push notifications enabled on my iphone? FYI, i can get it workig on android quite easily.
I don't want to have to open xcode to enable push notifications. I know it's possible directly from Visual Studio using a hook or xcconfig or config.xml. But i just can't get it working and i've spent about 3 weeks now unable to get this working. And i'm just feeling in the dark as all the reading material online is for different versions of cordova, or visual studio, or xcode, or phonegap or ionic or whatever.
I've spent many, many, many.... hours on this problem.
And i've come up with a cordova after_prepare hook that solves my problem on XCode 7 and 8. Here it is...
Just remember to update your APP Name, provisioning profile name and team id.