How can i implement push notification without ionic push service

I want to implement push notification in my ionic app without adding the ionic service. I just want to send message using device token directly to GCM’(https://android.googleapis.com/gcm/send) instead of using https://push.ionic.io/api/v1/push’.

Is there any posible ways available.

Which is the bestway to implement push notification in ionic app?

Thanks in advance.

I’ve followed this tutorial

And you also gotta do this setup

The token received is the gcm token you can use to push from android.googleapis.

But there’s an ugly part… seems that one of the cordova plugins required for this guide uses IDAF, which caused trouble for me to upload my app to apple store.

Can you explain? Wich plugin did you use?