Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Dmitry_P_2
Beginner
114 Views

Using cordova-plugin-fcm for iOS builds

Jump to solution

This plugin cordova-plugin-fcm documentation states the following:

Put the downloaded file 'GoogleService-Info.plist' in the Cordova project root folder.

How can I indicate to XDK to take my local GoogleService-Info.plist file and place it "in the Cordova project root folder" on the build server? The application built using this plugin crashes on the telephone and I suspect that the reason is that this file can't be located.

Tags (2)
0 Kudos
1 Solution
PaulF_IntelCorp
Employee
114 Views

Dmitry -- because our build system is cloud-based, you do not have access to those folders. The operation being described by that plugin can only be done if you are using Cordova CLI locally. This is a limitation of a cloud-based build system. That plugin is not going to work with the XDK.

If you want to convert your app to a local CLI project, start with these instructions > https://software.intel.com/en-us/forums/intel-xdk/topic/685326#comment-1885369 < and use this script > https://github.com/xmnboy/xdk-to-cli < to create an equivalent CLI project. Or, start from scratch with Cordova CLI and copy your source files into a new CLI project.

View solution in original post

4 Replies
Giselle_G_Intel
Employee
114 Views

Dmitry,

You should be adding your plugin in the plugin manager see this link > https://software.intel.com/en-us/xdk/docs/add-manage-project-plugins < halfway down the page you'll see the instructions to add third party plugins in three different ways. However, make sure to check the plugins already in the database, it may be a part of the plugin manager already.

 

Dmitry_P_2
Beginner
114 Views

I'm not sure I understand how this answers the question..?

PaulF_IntelCorp
Employee
115 Views

Dmitry -- because our build system is cloud-based, you do not have access to those folders. The operation being described by that plugin can only be done if you are using Cordova CLI locally. This is a limitation of a cloud-based build system. That plugin is not going to work with the XDK.

If you want to convert your app to a local CLI project, start with these instructions > https://software.intel.com/en-us/forums/intel-xdk/topic/685326#comment-1885369 < and use this script > https://github.com/xmnboy/xdk-to-cli < to create an equivalent CLI project. Or, start from scratch with Cordova CLI and copy your source files into a new CLI project.

View solution in original post

Dmitry_P_2
Beginner
114 Views

@Paul - thank you for the answer!

I hate moving away from XDK, it was so good especially for iOS builds. Doing the cordova builds on Mac computers is pure torture, these people can make grown up man cry helpless. You guys should really monetize your build system and move forward, there is nothing like this on the market today. Just saying..

Reply