How to use Firebase Clould Messaging with Liferay Push Notification - liferay

Liferay Push Notification use Google Cloud Messaging, but recently Google replaced GCM with firebase cloud messaging. Could you please tell me if your push plugin supports FCM or if there is any solution on how to make it work with FCM?

GCM still works, the service hasnt been stop.
Although Liferay doesnt support FCM, i dont doubt it will.
https://firebase.google.com/support/faq/

For Liferay 6.2 EE, Liferay Push plugin supports FCM (the EE version of the plugin https://web.liferay.com/marketplace/-/mp/application/48438926) starting with version 1.3.2. For Liferay 7.0+ (both CE and EE) Liferay Push plugin supports FCM starting from version 2.2.0 (https://issues.liferay.com/browse/LPS-70692).

Related

Google OAUth client Jakarta EE 9 compatible release

I am using google oauth client and spring boot in one of my projects. Our team want to upgrade spring boot to 3. Since our project is using google oauth client and google big query client, I am looking for Jakarta EE 9 supported release for google oauth client. My understanding is that google oauth client 1.34.1 does not support Jakarta EE 9 and therefore this dependency will be a blocker for our upgrade. Any idea if an alternate is available to avoid this block?
Thanks in advance.
Searched on maven repository and 1.34.1 is the latest release for google oauth client library.

Compile azure mobileservice to newer version of nodejs

I have an azure mobile app that is consumed by a Cordova app - this azure mobile app is built in node.js and is responsible for managing the push notifications for this Cordova app.
In this node app, I use mobileservices-sqlserver to register in the database the devices that will receive the push notifications, and I am having problems with this module compilation in node version 6.1.9 - actually any version higher than 0.8x.
Can I pre-compile this mobileservices-sqlserver to a newer node version, maybe using node-gyp? I couldnt find any instructions on how to do that.
Sorry if that is silly question, but I'm really new to node.js.
I've seen some similar issue here, but I'm not sure if it's the same.
Is this an old Mobile Services service? If so, check out the Mobile Apps Compatibility NPM, which replaces mobileservices-sqlserver with the msnodesqlv8 and will allow your service to work with modern versions of Express and Node.js.
If this is already a more modern Mobile App service, see also the mssql NPM for SQL Server data access.

Can we publish a pubnub message synchronously using Java sdk

We are writing a messaging app in Java . By default pubnub Java sdk supporting publish a message asynchronously. We are using pubnub 3.7.10 version.
but we want to publish messages using pubnub synchronously . How can we achieve this ??
Thanks
PubNub Publish Sync
If you can wait a week or two for v4.0 of the PubNub SDK, it is super simple to do sync publishing. It is currently in beta2 but no changes are planned before GA in the next week.
pubNub.publish().message(Arrays.asList({'msg':'hello', 'sender':'user123'})).channel("my_channel").sync();
https://www.pubnub.com/docs/java/api-reference-sdk-v4#publish
Yes. Please refer to PubNub publish not working post that has the complete code showing how you can make a synchronous publish with PubNub 4.0 SDK version.

rabbitMQ for Blackberry

As your know, RabbitMQ is the good open source project for message send / receive.
Now we have a BlackBerry project need use RabbitMQ.
But, when we download the latest RabbitMQ client zip and import our project, we found many errors.
Through research we found that these errors are due to Java jdk version. The Blackberry jdk base on the Java ME, in other words, the blackberry API just only supports Java ME sdk, but your RabbitMQ client code base on the Java SE sdk, so, some RabbitMQ use the API can’t be support by RIM, such as
HashMap. Cloneable interface, EvevntListener interface and so on.
I have tried to modify those errors, but found it is very difficult, because change this will make some
more error in other classes.
Can you give me some advice?
RabbitMQ with a Java AMQP API might not be the best way to achieve what you want in a JavaME environment. Have you looked into using, for example, STOMP? There's a STOMP plugin for RabbitMQ and you could use a STOMP JavaME library to communicate with RabbitMQ instead?
At RabbitMQ Java Client page http://www.rabbitmq.com/java-client.html we see the lates version available. 2.8.4 as of today. But they keep older versions available on the site http://www.rabbitmq.com/releases/rabbitmq-java-client/
Try with the oldest version of the library and see if it works with Java ME http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.4.0/

Phonegap - UrbanAirship - Blackberry Mobile Push Notifications

We've been very happy with UrbanAirship on iOS and Android but not on Blackberry. After spending over 100 hours and blowing our estimates we have been unable to get UrbanAirship to work with Phonegap on the Blackberry.
Using Eclipse, BlackBerry webworks SDK, and Phonegap 1.0 (can't use > 1.0 on BB). We got the information from UA’s sample app (https://github.com/urbanairship/bb-push-sample-os5) for the push integration. Then the Phonegap plugin from here (http://wiki.phonegap.com/w/page/35799737/How To Create a PhoneGap Plugin for BlackBerry WebWorks).
The UA sample code was distilled down to what was needed (eliminate special UI, temporary storage, etc) and then shoehorned into the Phonegap plugin structure. Had success calling the plugin from our javascript files (in doing so executing methods in the java plugin, and those hitting the BB core). Failure comes trying to get the plugin to act as an event listener for push notifications.
UrbanAirship has been great in helping us out but is unwilling/unable to provide a Phonegap plugin that works with BlackBerry.
Any help would be greatly appreciated.

Resources