|
2 | 2 | Android app sample code in JAVA to integrate Android mobile app with WordPress push notification plugin - PNFPB Push notification for Post and BuddyPress.
|
3 | 3 | PNFPB plugin is designed to send push notifications using Firebase Cloud Messaging (FCM) to websites, Android/iOS mobile apps. This plugin has REST API facility to integrate with native/hybrid Android/iOS mobile apps for push notifications. <br/><br/>
|
4 | 4 |
|
5 |
| -# Download Push notification plugin from WordPress.org repository<br/> |
| 5 | +### Download Push notification plugin from WordPress.org repository<br/> |
6 | 6 | https://wordpress.org/plugins/push-notification-for-post-and-buddypress/<br/><br/>
|
7 | 7 | It sends notification whenever new WordPress post, custom post types,new BuddyPress activities,comments published. It has facility to generate PWA - Progressive Web App. This plugin is able to send push notification to more than 200,000 subscribers unlimited push notifications using background action scheduler.
|
8 | 8 |
|
9 |
| -# PNFPB plugin REST API for Android App<br/> |
| 9 | +## PNFPB plugin REST API to integrate with Android App<br/> |
10 | 10 | REST API to connect mobile native/hybrid apps to send push notification from WordPress site to both mobile apps and WordPress sites.
|
11 | 11 | Using this REST API WordPress site gets Firebase Push Notification subscription token from Mobile app(Android/Ios).
|
12 | 12 | This allows to send push notifications to WordPress site users as well as to Native mobile app Android/ios users.
|
13 | 13 | REST API url is https:/<domain>/wp-json/PNFPBpush/v1/subscriptiontoken
|
14 | 14 |
|
15 |
| -# Integrate Native mobile apps like mobile app with this WordPress plugin<br /> |
| 15 | +### Integrate Native mobile apps like mobile app with this WordPress plugin<br /> |
16 | 16 | New API to send push notification subscription from Native mobile apps like mobile app to WordPress backend and to send push notifications from WordPress to Native mobile app using Firebase.
|
17 | 17 | 1. Generate secret key in mobile app tab to communicate between mobile app(in Integrate app api tab plugin settings)
|
18 | 18 | 2. REST api to send subscription token from Mobile app using WebView to this WordPress plugin to store it in WordPress db to send push notification whenever new activities/post are published.
|
@@ -83,7 +83,7 @@ Following is example code encryption using AES/GCM/NoPadding to connect to PNFPB
|
83 | 83 | WebSettings settings = mywebView.getSettings();
|
84 | 84 | ```
|
85 | 85 |
|
86 |
| -# Video tutorial showing how to configure Firebase for this plugin<br /> |
| 86 | +### Video tutorial showing how to configure Firebase for this plugin<br /> |
87 | 87 |
|
88 | 88 | https://youtu.be/T07qpqao_-E?si=LX1pAl1ZHCiyn4Fi <br/>
|
89 | 89 |
|
|
0 commit comments