You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i use this call to create a new one.Can i put the json in the field alert?
notification=Grocer::Notification.new(device_token: device.device_token,alert: message,badge: 1,category: "a category",# optional; used for custom notification actionssound: "siren.aiff",# optionalexpiry: Time.now,# optional; 0 is default, meaning the message is not storedidentifier: 1234,# optional; must be an integercustom: {:titolo=>notification_in.titolo,:testo=>notification_in.testo}# optional; any truthy value will set 'content-available' to 1)
Thanks to everyone
Federico
The text was updated successfully, but these errors were encountered:
Hi,
I need to do something like this in a push notification.
i use this call to create a new one.Can i put the json in the field alert?
Thanks to everyone
Federico
The text was updated successfully, but these errors were encountered: