Azure / azure-notificationhubs-android

Android SDK and Samples for Azure Notification Hubs
Apache License 2.0
33 stars 63 forks source link

Could not recieve push notification: Used ionic3 #11

Open abhishek3999 opened 6 years ago

abhishek3999 commented 6 years ago

Hi,

I have follwed following steps:

  1. Created firebase project to get google-services.json,sender id and legacy server key.
  2. Installed push plugin ionic3
  3. Installed cordova-plugin-ms-azure-mobile-apps
  4. To send device token to server,referred method initPushNotification from https://medium.com/@ankushaggarwal/push-notifications-in-ionic-2-658461108c59 this document .
  5. On Azure portal,created new mobile app.Reffered https://docs.microsoft.com/en-us/azure/app-service-mobile/app-service-mobile-cordova-get-started. skipped 1 and 2 step under quick start.
  6. followed steps for creating notification hub:-> Configure a notification hub steps from : https://docs.microsoft.com/en-us/azure/notification-hubs/notification-hubs-android-push-notification-google-fcm-get-started
  7. ionic cordova build android
  8. Installed application on a device.
  9. Got registeration Id (handler from FCM) success message of registered (‘gcm’,registration id).
  10. While sending Test send push notification from Azure portal,could not match found.(sent notification successfully 0:passed,0:failed)
  11. Push notification could not received on a device.

Please help me out.

aziztitu commented 10 months ago

@abhishek3999 Are you still facing this issue with our SDK? If so, can you please provide us some more information on how you are using this SDK with ionic3?