Meteor-Community-Packages / raix-push

DEPRECATED: Push notifications for cordova (ios, android) browser (Chrome, Safari, Firefox)
https://atmospherejs.com/raix/push
MIT License
514 stars 197 forks source link

Going back to the action buttons #374

Closed atomoc closed 4 years ago

atomoc commented 4 years ago

I did it based on the instructions for this plugin and tried the phonegap-plugin-push instructions. Functions do not start at all; instead, the following is displayed in the console:

image

atomoc commented 4 years ago

Checked in meteor version 1.9 and 1.10

atomoc commented 4 years ago

Rummaged the entire Internet, I will be very grateful for any support

shivang007 commented 4 years ago

@atomoc The Action buttons seems broken in latest versions! Will get back to you on this.

I did not receive any errors but the notifications are plain, without any actions.

atomoc commented 4 years ago

Still, the option from the documentation for phonegap-plugin-push helped, the actions work.

Now I'm trying to solve the problem with forceStart: 1 и foreground: false. I just can’t figure it out. It seems that the documentation is written here before the implementation of the relevant functions.

atomoc commented 4 years ago

Added App.setPreference('KeepRunning', 'true'); to file mobile-config.js and it worked!

shivang007 commented 4 years ago

It was implemented, but during the time I added Action buttons to Raix-Push, we were on 1.8.4 of phonegap-plugin-push, after which Push broke for Android 8 and we made the necessary changes for that. During this process, Action buttons functionality was untested for the latest devices.

Nevertheless, glad to hear it works for you! Do you mind specifying your versions? I will update the documents with necessary changes.

atomoc commented 4 years ago

phonegap-plugin-push@2.3.0 cordova-plugin-device@2.0.3 METEOR@1.10.1 raix:push@3.4.1

atomoc commented 4 years ago

No solution for the icons? No matter where I put the images, nothing happens.

atomoc commented 4 years ago

android/res/drawable, android/app/src/main/res/drawable, android/app/src/main/assets/www/application/app...

shivang007 commented 4 years ago

Try cordova-build-override/platforms/android/app/src/main/res/drawable/

atomoc commented 4 years ago

yes, I tried everything through cordova-build-override