Cordova-plugin-firebasex build error

Build Error:
UserError: [!] CocoaPods could not find compatible versions for pod “FirebaseInAppMessaging”: In Podfile: Firebase InAppMessaging (= 11.5.0-beta)

Found in build log:
Failed to install ‘cordova-plugin-firebasex’: Error: Command failed with exit code 1: pod install --verbose.

Specs satisfying the FirebaseInAppMessaging (= 11.5.0-beta) dependency were found, but they required a higher minimum deployment target.

[!] CocoaPods could not find compatible versions for pod “FirebaseInAppMessaging”:
In Podfile: FirebaseInAppMessaging (= 11.5.0-beta)

Pro_certs - Did you ever solve this issue? If so, what was the issue. Thanks.

I did resolve it, but it was a while ago and I can’t remember what exactly sorted it for me, I think it might have been something to do with the SwiftVersion or deployment-target in config.

<plugin name="cordova-plugin-firebasex" >
   <variable name="FIREBASE_MESSAGING_IMMEDIATE_PAYLOAD_DELIVERY" value="true" />
   <variable name="FIREBASE_ANALYTICS_WITHOUT_ADS" value="true" />
   <variable name="GOOGLE_ANALYTICS_ADID_COLLECTION_ENABLED" value="false" />
   <variable name="GOOGLE_ANALYTICS_DEFAULT_ALLOW_AD_STORAGE" value="false" />
   <variable name="GOOGLE_ANALYTICS_DEFAULT_ALLOW_AD_USER_DATA" value="false" />
   <variable name="GOOGLE_ANALYTICS_DEFAULT_ALLOW_AD_PERSONALIZATION_SIGNALS" value="false" />
   <variable name="ANDROID_FIREBASE_CONFIG_FILEPATH" value="www/google-services.json" />
   <variable name="IOS_FIREBASE_CONFIG_FILEPATH" value="www/GoogleService-Info.plist" />
</plugin> 


<platform name="ios" >
 <preference name="SwiftVersion" value="5.3" />
 <preference name="deployment-target" value="13.0" />
 <preference name="WKWebViewOnly" value="true" />
 <feature name="CDVWKWebViewEngine">
   <param name="ios-package" value="CDVWKWebViewEngine" />
 </feature>
 <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
</platform>

I am getting a different conflict now. Do you mind sharing your complete config file? Thanks in advance.

What conflicts are you getting?

I fixed the conflict with other plugin. App compiles but get this error when I try to initialize firebasex

To use Firebase you first need to add your app to firebase, https://firebase.google.com/.

This may help, How to add Push Notifications in your Cordova application using Firebase | by Felipe Evangelista Pucinelli | Medium

Yes, I have done all that. I tried with APN certificate and APNs Auth Key. It does not seem to work.

  1. I use VoltSigner to create to .cer and p12 file
  2. I have not changed my original ios_development and provising files I use in AppStudio

Can I use Voltsigner for the p12 file and do I need to recreate the original ios files?

Yes, you can use VoltSigner to create the p12 file. When you create a new .p12 file, you create a new certificate - so you then need a new mobileprovision file as well.

Thank you both. I noticed iOS settings didn’t think my app was using notifications. Working now - I did the following, not sure what fixed it.

  1. Created a new mobileprovision file.
  2. I removed IOS_FIREBASE_CONFIG_FILEPATH from config
  3. I dropped the GoogleService-Info into the appstudio Project Explorer
  4. I added FirebasePlugin.grantPermission to my main() in my app

Anyone have a good whitepage or instructions on using the new Firebase HTTP v1 API in php to make server notification messages?

Thank again!!!

You can use the Firebase console to send notifications Triton Digital Support Center

Or for HTTP va API see, Firebase Cloud Messaging

Thanks again. I found this video very helpful on PHP setup and sending push notifications
Firebase Send Push Notification JavaScript + PHP

I’m having issues with Building Native iOS Release apps with this plugin in use. It doesn’t timeout or show an error - it just stops after an hour or so. Seems to work better if I just build iOS/Debug. It worked twice and maybe failed 10 times of so, with very little change in the code - look and feel changes only…
Any thoughts?

What version of Firebase are you using?

Firebase requires some huge downloads to compile. We can cache some of the files so they don’t have to be downloaded each time.

just have <plugin name="cordova-plugin-firebasex" source="npm" >
and <preference name="deployment-target" value="14.0"/>

That sounds reasonable. I looked at the logs: it looks like your jobs are finishing, but taking a while (over 15 minutes).

We should have a new build of VoltBuilder up soon which will speed this up.

Okay Thanks. If you are looking at the last few logs of mine, I started to use Firebasex Version 16.5.0 because of what I found on VoltBuilder forum Can’t build ios with cordova-plugin-firebasex

When I use the most recent version of Firebasex, it will timeout after an hour or so. In the interim, could you please download the files necessary for Firebasex Version 18.0.6 which was released 8 days ago?

Yes, we’re working on that now, along with a number of other upgrades and updates.

Awesome! Thanks!