|
Post by Dwayne Smith on Mar 20, 2018 14:17:28 GMT
I am using Android GCM with Rhodes 5.5.0.24. It was originally built using Google Cloud For Messaging Library. Is there a way to get the build to compile using the Google Play Services . The Deprecated GCM library indicates it moved to Google Play com.google.android.gms.gcm.
|
|
|
Post by Alex Epifanov on Mar 20, 2018 16:34:57 GMT
|
|
|
Post by Dwayne Smith on Mar 20, 2018 18:18:25 GMT
We are re-writing our to use FCM, but we are seeing some issues in our current app with crashes around GCM and was hoping to seeing if I could compile with the later GCM code to see if that might be a possible temporary solution.
|
|
|
Post by Super Admin on Mar 20, 2018 18:40:06 GMT
We are re-writing our to use FCM, but we are seeing some issues in our current app with crashes around GCM and was hoping to seeing if I could compile with the later GCM code to see if that might be a possible temporary solution. Dwayne, We are very busy with our paid customers. Your issue can be investigated and solved by Tau on paid basis. Please mail me to krybas@tau-technologies.com Regards, Konstantin
|
|
|
Post by lothcor on Mar 23, 2018 4:55:01 GMT
I've found (when upgrading to FCM recently) that enabling the fcm-push extension, build fails. (I have google play services latest version from the Android SDK)
Anyone have any ideas? -- error below.
[INFO] Compiling java sources: ["C:/Users/dgors/AppData/Local/Temp/fcm-pushSRC_build20180323-8268-1j7mahx"] C:\rhodes\lib\extensions\fcm-push\ext\android\src\com\rhomobile\rhodes\fcm\FCMFacade.java:68: error: cannot find symbol return gStr(R.string.google_app_id); ^ symbol: variable google_app_id location: class string C:\rhodes\lib\extensions\fcm-push\ext\android\src\com\rhomobile\rhodes\fcm\FCMFacade.java:72: error: cannot find symbol return gStr(R.string.gcm_defaultSenderId); ^ symbol: variable gcm_defaultSenderId location: class string C:\rhodes\lib\extensions\fcm-push\ext\android\src\com\rhomobile\rhodes\fcm\FCMFacade.java:96: error: cannot find symbol .setGcmSenderId(gStr(R.string.gcm_defaultSenderId)) ^ symbol: variable gcm_defaultSenderId location: class string C:\rhodes\lib\extensions\fcm-push\ext\android\src\com\rhomobile\rhodes\fcm\FCMFacade.java:92: error: cannot find symbol .setApplicationId(gStr(R.string.google_app_id)) ^ symbol: variable google_app_id location: class string 4 errors
|
|
|
Post by georgy on Mar 26, 2018 16:16:56 GMT
Hi, lothcor could you please tell me, what Rhodes version are you using? What version of android SDK and NDK are you using?
|
|
|
Post by lothcor on Mar 26, 2018 21:56:25 GMT
I'm using master branch of Rhodes Android SDK API level 24 with minSDK of 19 Android ndk r13b
|
|
|
Post by rveerd on May 3, 2018 9:04:48 GMT
I had the same issue when building for FCM. I solved this by putting the google-services.json file in the root folder of the app (where build.yml is located). You can download this file when you add your app to the FireBase console.
|
|
|
Post by georgy on Jun 6, 2018 11:37:41 GMT
rveerd lothcor I think the main problem is wrong using of build.yml. Please be sure that you type in android section something like that: android: fcmSenderID: "946233903142" fcmAppID: "1:946233903142:android:f30764748b001126" But yes, google-services.json in root folder can help. That is kind of little trick for our own usage, but you can use it too.
|
|