Configuration for your app
The configuration of your app is stored in a file called
config.json. It determines basic settings for your app, such as the
name users will see (for more details see below). The rest of the configuration
for your app will be contained in your module configurations.
Modifying your app's config
You can edit your app config through the Toolkit UI by clicking the App
config in the sidebar:
Basic app configuration options
Below describes each of the basic configuration options which are available for all
Forge apps regardless of what modules you are using.
- This will be the name for your app, a short, descriptive name is
recommended as in some situations long names may be cut
- This text will be displayed as the author or creator of the app,
depending on the platform.
- Optional. A longer description of what your app does. This description may be
displayed to users during and after installation, to let them know what
the app does.
- The version of your app. It must be formatted as up to three
dot-separated numbers, e.g.
- Optional. Your website, or location of more information about this app.
- Trusted Urls
- Mobile only. An array of trusted external URL match patterns. If your app
navigates to a URL matching one of these patterns, the page will be displayed
inlines as part of your app. The
forge APIs may be used too - see the note
Trusted URLs and using the
To use the
forge APIs on a remote page displayed as part of your app,
the remote URL must first match one of your Trusted URL patterns. Secondly,
app_config.js must be available in your remote page, to present
These files are available in a built app:
The files are OS-specific, so you need to make sure the right one is loaded into
the remote page.
Use of this feature is for advanced users only! It is fraught with peril.
which aren't present in the native app, you will see "UNAVAILABLE" errors
The Package Names configuration controls the package name used internally when building your app.
If you don't set this manually, we'll generate a package name automatically for you, which looks something like
You will need to set your own package name manually to match the App ID that you configure in the iOS provisioning portal prior to App Store submission.
- Package name used for your Android App.
- App ID used for your iOS App.
See the logging API page for details about configuring and using logging.
- Sets whether you want your app to use Reload or not. Setting this to
false will disable all Reload functionality for your app.
- Reload Force WiFi
- Sets whether your app will perform Reload updates when devices are on a
mobile data connection. Setting this to
true will only allow
Reload updates when devices are on a WiFi connection.
See the reload API page for more information about configuring and using reload.
requirements configuration allows you to set specific device requirements for your apps.
- Minimum Version
- The minimum Android API level you want to
support, it must be between 5 and 15. More details can be found on
the Android developers site.
- Disable ICS Acceleration
- Disables hardware acceleration on
Android 4.0, this is a workaround to potential rendering issues which
can affect some apps on this particular version of Android.
- Remote Debugging
- Enable remote debugging with Chrome DevTools on Android 4.4 or higher
devices. More details can be found on the Google Developers Site
- Window Soft Input Mode
- Sets how the main window of the activity interacts with the window containing the on-screen soft keyboard. More details can be found in the Android SDK Documentation
- Disable Pull To Refresh Effect
- Disables the "pull to refresh" effect when scrolling your app's view past the beginning of the page.
- Disable GPU Rasterization
- Disables the use of GPU Rasterization for page rendering. This is a
workaround for potential rendering issues which can affect some apps.
- Enable Animatable Xwalk View
- Experimental Default value is false. If this key is set to true, the XWalkView created by Crosswalk can be transformed and animated. Crosswalk Documentation
- Minimum Version
- Deprecated from 2.2.7. Apple no longer allows app store submissions with a Minimum iOS version higher than the Minimum SDK version used for compilation.
- Device Family
- Used to limit the types of device which can run
the app, must be one of
- Disable Backup Web Storage
- Set to
true to prevent HTML5 storage data from
being backed up by iCloud (Default is