Skip to main content

User Settings

A User Settings extension makes it possible for users to define their personal preferences for a Showpad App.

Declare in Manifest

The first thing to do when adding an extension is to define it in the manifest.json file:

...
"userSettings": [
{
"extensionKey": "my-user-settings",
"name": "My App Preferences",
"description": "User settings for My App",
"resources": {
"folder": "my-user-settings"
}
}
],
...

Required Files

The source code of your User Settings extension lives in the resources folder that you defined in the manifest. This folder contains all of the files (JS, CS, images, etc.) of your extension. In particular, one main file:

  • index.html - This is the entry point of your User Settings extension.