0

I building an iOS App whose content is being brought from a Drupal site. It is being built in ionic/AngularJS.

I intend to implement "Push Notification" functionality in my app that whatever notification a user sends through my Drupal site is received on my app.

There is a particular module Push Notification, made specifically for this and has integration with Services, but I can't seem to figure out how I'll show the Push Notification on my app when it's sent from my Drupal site. Probably some small example?

Any help would be highly appreciated.

2 Answers 2

1

Three module you need to require to accomplish notification one is rules second is services and push notification modules.

On cofiguration of push notifications you need to configure APNS certificate for IOS by put on private folder and set path to configuration.

By services module you need call register and deregister push token services.

By rule module you can set action of send push notification to particular token.

2
  • Thanks vgoradiya, but is there some tutorial or are there any steps somewhere I can follow? Thanks a lot
    – user219492
    Commented Mar 14, 2016 at 13:33
  • Form here you can find step by step process to send notification.
    – vgoradiya
    Commented Mar 15, 2016 at 5:37
1

Download and install the Push notification module in your Drupal site. configuration for Android:

1) Using Google Cloud Messaging set up your project in google developers console projects.

2) Enable google cloud messaging in your project(created on Google developers console). enter image description here

3) And get your project's API Key from API manager.

4) Add that key in the configuration of push notification in Drupal site in Google Cloud Messaging API Key.

5) Then you can send push notifications from your Drupal site to your apps. [configuration > Web services > Push Notifications > Send Push ] (If you have done set up on the ionic app you can view push notifications on the mobile app directly.)

You can refer to this link

2
  • Thanks a lot guys, but my App is in iOS. But I can I still do it in the same way?
    – user219492
    Commented Mar 14, 2016 at 13:32
  • No, you have to use APNS certificate and add that certificate in push notification module in certificate folder. You can use raywenderlich.com/32960/… this link to generate certificate.
    – amruta.k
    Commented Mar 15, 2016 at 5:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.