Please find attached working example of flutter app to use rest api for pnfpb plugin
https://www.muraliwebworld.com/wp-content/uploads/2023/07/lib-may202023.zip
At present i am busy in upgrading this plugin to use latest version of firebase api v1 as per google announcement. It is taking more time due to following reason, legacy api will not be available from june 2024 next year. In the newer version google firebase used modular approach of javascript (like nodejs), so i am remodeling this plugin to use latest version of firebase api v1 by using @wordpress/scripts (like react app) to compile and bundle everything using wordpress script app using npm firebase modules, i need to use those to subscribe tokens in frontend and update to database. There is also change in api to send push notification as per new version, it requires lot of changes, i am remodelling this plugin with more things and features to use all features from latest version of google firebase api v1 , i will be busy for atleast 1 or 2 weeks due to this. WordPress supports non-modular approach (not npm), due to this i am creating external react app compiling and bundling together as per latest version of firebase api v1 to use it in this plugin
-
This reply was modified 2 months ago by
Murali.