For easy to config the Wordpress site, you can download the site from http://github.com/inspireui/mstore this was already config and install all plugin that use for the app, or if you have your existing website, you can following by below setting.

Wordpress plugins

You need also install following plugins for Wordpress to integrate with the mobile app

  1. JSON API: A RESTful API for WordPress, require for the JSON API and API User

  2. JSON API User: Extends the JSON API for RESTful user registration, authentication, password reset...

  3. WP Rest API Cache: Enable caching for WordPress REST API and increase speed of your application.

  4. Better Rest API Featured Image: for some reason the image is not populate correctly so that need to install this plugin to support to show the image.

Download links:

Enable Worpdress setting

  1. Membership registration

  2. Anyone post a comment

And from the functions.php file you need to add following code:

function filter_rest_allow_anonymous_comments() {
    return true;
}
add_filter('rest_allow_anonymous_comments','filter_rest_allow_anonymous_comments');

App config

Update Wordpress URL:

In other to integrate with your Wordpress Website, you need to change the hosting URL to your wordpress site from: App/Common/Config.js

Update services (optional):

  • [ ] AppName: Change the appName from top navigate
  • [ ] Language: the default language is English, but you can can customize your language from Common/Languages.js file
  • [ ] Firebase: is used to stored your Client offline bookmark and further notification features.
  • [ ] Facebook: use for login form, you need to create new Facebook App and Ads placement ID to show the Ads from post detail, since version 2.4 we replace the Admob by Facebook Ads as it is support fully by Expo which more functionality.

  • [ ] Google: use for login form

  • [ ] CustomPages: when open the left side bar, you are able to link to the custom page from Wordpress site like Contact, About Us...for this feature you can name any content and create your own page and app.

results matching ""

    No results matching ""