Push Notifications

Is there any documentation on working with push notifications for both Android and iOS? Say I want to send a push notification when the button on a Module-2 is pressed. I’m currently utilizing the AferoClientRetrofit2.