简体   繁体   中英

Cordova - Alter Push Notifications on the device

I have Push Plugin enabled on my device using this - I suppose almost standard - plugin . I can change the plugin, however, if your solutions involve another one.

What I want to do is receive certain notifications via push (Google GCM mostly for now) and then alter them on the device before showing them (mainly translation for the specific locale).

I assumed something like using a push notification plugin to receive the notifications (but not show them!) and then passing them to a local notification plugin to show the altered notification would be the solution. But all push plugins I see automatically show the notification.

Is there any way around that or something else entirely to solve the problem?

您可以实施静默推送通知,在这种情况下,不会显示任何通知。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM