Skip to content

Update config JSON file

Akshay Kumar edited this page Jun 24, 2019 · 3 revisions

Update following values as per your requirements and configurations.

1 - "version" : "1.0.1" (android:versionName) - The version name is a string value that represents the “friendly” version name displayed to the users.

2 - "version_code" : 1 (android:versionCode) - The version code is an incremental integer value that represents the version of the application code. Our force update feature also depends on this value.

3 - "testpress_site_subdomain" : "sandbox", - Subdomain of the website.

4 - "package_name" : "my.pacakage.name" (application Id)- Should be unique for every app. Ref

5 - "app_name" : "Sanbox", - App name for the APK

6 - "share_message": "Good app to prepare for IIT, NEET, GATE exams.",- Message to show while sharing the app link.

7 - "primary_color": "2A2C92", - App primary colour

8 - "allow_anonymous_user" : false, - To show the anonymous screen make it true

9 - "screenshot_disabled" : true, - To disable screen recording and screenshot (for SDK to)

10 - "facebook_app_id", - Add facebook id to make facebook login available

11 - server_client_id - Add proper server client id to allow google sign in. More Ref

12 - display_username_on_video - Toggle to show username while playing video in the app((for SDK)).

13 - white_labeled_host_url - Add a white label url if exists(ex. www.google.com)

At last sync gradle to apply changes