Advanced Android Studio Xcode Options (Classic Builder)

This document covers the optional procedure of customizing your Android app within the Android Studio project

After you have exported your apps, you can open the Android app project in Android Studio and optionally modify it before submitting it to Google. This step is optional.

Android Studio project options

Within the Config.java file, you can change the most crucial settings easily:

Variable Values Description
OPEN_EXTERNAL_URLS_IN_ANOTHER_BROWSER true or false Set to false to not open all links outside of your app in an external browser
CLEAR_CACHE_ON_STARTUP true or false Set to true to delete the app cache with every launch of your app
ACTIVATE_PROGRESS_BAR true or false Set to false to hide the loading sign while loading your app data
USER_AGENT optional Define a customized UserAgent (or leave it empty to use the default Android UserAgent)
SHOW_FIRSTRUN_DIALOG true or false Set to true to activate the "First run" dialog
SHOW_FACEBOOK_DIALOG true or false Set to true to activate the "Become friends on Facebook" dialog
FACEBOOK_URL URL Set the URL of your Facebook site
SHOW_RATE_DIALOG true or false Set to true to activate the "Rate this app on Google Play" dialog
RATE_DAYS_UNTIL_PROMPT number (days) Set the number of days to be passed after the app is used before the "Rate this app" dialog is displayed
RATE_LAUNCHES_UNTIL_PROMPT number (days) Set the number of app starts to be passed after the app is used before the "Rate this app" dialog is displayed
SPLASH_SCREEN_ACTIVATED optional Set to true to activate the splash screen (splash.gif file)
SPLASH_TIMEOUT time Set the splash screen timeout in milliseconds
SCALE_SPLASH_IMAGE percent value (0-100) Set the splash screen image size with respect to device smallest width/height; range in percentage [0-100]; the value = 0 will hide the splash screen image
PREVENT_SLEEP true or false Set to true to prevent the device from going into sleep while the app is active
EXIT_APP_BY_BACK_BUTTON_ALWAYS true or false Set to true to quit your app by clicking the hardware back button (instead of going back to the last page)
EXIT_APP_BY_BACK_BUTTON_HOMEPAGE true or false Set to true to close the app by pressing the hardware back button if the user is on the app main section (which does not allow going to a prior section)
IS_DEEP_LINKING_ENABLED true or false Set to true to register notification deeplinking
OPEN_NOTIFICATION_URLS_IN_SYSTEM_BROWSER true or false Set to true to open the notification deep linking URLs in the system browser instead of your app
FALLBACK_USE_LOCAL_HTML_FOLDER_IF_OFFLINE true or false Set to true if you want to load the index.html of the "local-html" folder if the user is online
downloadableExtension List Add the file formats that should trigger the file downloader functionality (e.g., .pdf, .docx, ...)
requireLocation true or false Change this variable to false if your app does not require location services. Please delete the permission from the AndroidManifest.xml file, as well
requireStorage true or false Change this variable to false if your app does not require storage services. Please delete the permission from the AndroidManifest.xml file, as well
requireCamera true or false Change this variable to false if your app does not require camera or photo functionalities. Please delete the permission from the AndroidManifest.xml file, as well
requireRecordAudio optional Set the App Secret in order to activate In-App Purchase API (details can be configured in App Store Connect)
PUSH_ENABLED true or false Set to true to activate the OneSignal push functionality
PUSH_RELOAD_ON_USERID true or false Set to true if the app content should be reloaded after receiving the UserID from OneSignal
FIREBASE_PUSH_ENABLED true or false Set to true to connect your app to the Firebase Push Services
SHOW_BANNER_AD true or false Set to true if you want to show AdMob banner ads
SHOW_FULL_SCREEN_AD true or false Set to true if you want to show AdMob interstitial ads after X clicks
SHOW_AD_AFTER_X optional Define number X to show an AdMob interstitial ads after each X (e.g., 10) clicks

Moreover, check out the colors.xml file to edit colors of all elements comfortably, and open strings.xml to edit your app name & all text strings. Also, since the apps are exported in open Android Studio (Java) projects, you can build your own code-side extensions and API bridges. This allows total flexibility. Feel free to get in touch if you have any questions - otherwise, have fun!