Skip to main content

Customize App With Config

Open the Project in Android Studio.

In the project app/src/main/java/com/<YOUR APP ID>/Config.java file contains the config needed for the app.

SITE URL#

This is the url for your WordPress Site.

public static final String SITE_URL = "https://mywebsite.com";

API KEY#

This is the api key shown in our plugin at your wordpress site. See here

public static final String API_KEY = "enter api key here";

COMMENTS PER PAGE#

No of comments, the app should load per page.

public static final int COMMENTS_PER_PAGE = 20;

POSTS PER PAGE#

No of posts, the app should load per page.

public static final int POSTS_PER_PAGE = 10;

SHOW ADS#

Enables/Disable ads loading.

public static final boolean SHOW_ADS = true;