Application should read notifications from Android.
You should not use unfamiliar libraries.
Save notifications in Mysql Database.
Reply notifications with text and / or images. The response should be sent automatically without user interaction.
After installation you should redirect the user to allow access to notifications.
There are specifications that will be detailed by chat conversation.