capacitor-community / intercom

Enable Intercom for Capacitor apps
https://capacitorjs.com/docs
MIT License
58 stars 75 forks source link

Receive native push notifications from Intercom chat #84

Open agustinramos opened 1 year ago

agustinramos commented 1 year ago

Describe the bug I can not receive a native notification

To Reproduce Steps to reproduce the behavior:

  1. Open app
  2. Send message to the user from the intercom panel
  3. I don't receive the native notification but if I am inside the app I receive the notification with: PushNotifications.addListener( 'pushNotificationReceived', (notification: PushNotificationSchema) => { console.debug('Push received: ' + JSON.stringify(notification)) } )

Expected behavior See a native notification Example: Image from iOS

Desktop (please complete the following information):

Smartphone (please complete the following information):

lippytak commented 1 year ago

@agustinramos were you able to get this working for Android? I'm able to get Intercom iOS push to work alright, but not Android.

RobSchilderr commented 6 months ago

@agustinramos were you able to get this working for Android? I'm able to get Intercom iOS push to work alright, but not Android.

Could you share the code you do to get the iOS push working?