fechanique / cordova-plugin-fcm

Google FCM Push Notifications Cordova Plugin
623 stars 995 forks source link

xdk Intel #163

Open ilexcanada opened 8 years ago

ilexcanada commented 8 years ago

Is there a way to make this plugin compatble with Intel XDK build? Gradle script seems to t be the issue.

wfdevelop commented 8 years ago

I'm also using Intel XDK and could not get it run so far. At present I am only trying to get it run on iOS, later on Android too. Gradle is only an issue in the Android section and should not have any influence on iOS Build, right?

wfdevelop commented 7 years ago

@ilexcanada: I could make it run in XDK, in the first step at least for Android. This was my first goal. I will release my app first in App Store, in some weeks I will care about the Android part. So the good news is: it is possible to get in work in XDK for iOS. It works in production and development environment now in my app. Before, it didn't run in any of both environments and the problem was in native iOS code! Finding this was really hard. I finally found it by plugging-in the iPhone with usb cable and checking the console output in Xcode at app start (app was crushing at start).

wfdevelop commented 7 years ago

@ilexcanada Did you make any progress on Android and XDK for this plugin? I have also come to the stage where I need to make it run for Android, after iOS was successfully completed.

ghost commented 7 years ago

I am facing same problem, Plugin cordova-plugin-fcm contains gradle scripts, Any solution available from Intel?

sparklton commented 7 years ago

@wfdevelop How have you managed to feed GoogleService-Info.plist to XDK build for iOS? The plugin documentation says:

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

What does it mean in terms of XDK build? I've tried placing this file in XDK project root, didn't work, the build passes but application fails to load.

ghost commented 7 years ago

Goto https://console.firebase.google.com/ create project then Setting then General tab there under IOS you can download GoogleService-Info.plist

sparklton commented 7 years ago

@saintush I already have this file, I wasn't sure where to place it so that it gets uploaded to the build server.