So i wanted to make a app for our website flutternerd.com well turns out it was easy than i thought
So let’s get started
Step 1: Download & Activate Plugin For wordpress blog
Link: https://wordpress.org/plugins/easily-generate-rest-api-url/
Step 2: In the wordpress dashboard
go to settings (hover over it) > (Click on) Generate Rest API Url, scroll to the bottom you will have a api url you can modify it if you want.
Step 3: Create a Flutter Project
If not already install and setup flutter from https://flutter.dev/docs/get-started/install
i used vs code but you can use android studio as well will work just the same
Step 4: Create functions to fetch posts and post image url
Create a file i named it wp-api.dart then add http package add this function
Step 5: Create frontend and use this function by importing the file
Step 6: We will need to create a separate function to get image url of each post
Step 7: Now let’s create post page
We need to add flutter_html_view package then
And that is how we can build android and ios app for your wordpress blog if face any problem feel free to comment it down below