push plugin update?

  • 1
  • Problem
  • Updated 4 years ago
Hi;
push notifications on android 6 are not working since marshmallow came out as far as I can tell. I only get the sound with no notification in the tray.
with CLI 6.0.0 out, are we to expect an update for the plugin?
the 'formal' plugin is https://github.com/zckrs/cordova-plug...
there seem to be zero activity there. should I move to another plugin? do you guys know of a marshmallow supported fork that is a drop in replacement?
thanks!
Photo of gkatz

gkatz

  • 186 Posts
  • 5 Reply Likes

Posted 4 years ago

  • 1
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Several other possibilities to try:
http://cordova.apache.org/plugins/?q=...
Photo of jcesarmobile

jcesarmobile

  • 283 Posts
  • 40 Reply Likes
You should use this one
https://www.npmjs.com/package/phonega...

It's mostly supported by phonegap team
Photo of gkatz

gkatz

  • 186 Posts
  • 5 Reply Likes
thanks guys;
its really strange to me that PG team would support a push plugin that is not the 'formal' one. is the 'formal' one absolute?
thanks
Photo of jcesarmobile

jcesarmobile

  • 283 Posts
  • 40 Reply Likes
Which one is the "formal"? There is no core plugin for push, so there are multiple push plugins, but any of them is "formal" AFAIK.
Phonegap team was maintaining this plugin https://github.com/phonegap-build/Pus... that they forked, but in the end they decided to create a new one (the one I linked in my answer)

The one you link isn't the "formal", it has 5 stars on github and it seems a fork of the PushPlugin
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
The plugin you were referring to in your original post is maintained by
https://github.com/zckrs and not by the PG team.
Photo of gkatz

gkatz

  • 186 Posts
  • 5 Reply Likes
thanks,
so If the general consensus is that the plugin that is mentioned above by
jcesarmobile is the one to use I will use it...
Photo of gkatz

gkatz

  • 186 Posts
  • 5 Reply Likes
guys thanks for pointing me to the right plugin. I seems to work great.
I hope there will be a list of sorts as finding the right plugin might be harder that it looks at times...