Cherokee Flags

The following are the flags in the definition.json when configuring a partner's native application.

packageName

Description: Needed to override the default one in cases where Marfeel is updating an existing app. 

Location: cherokee 

Values: String

Example:

"packageName":"com.tenant"

teamID

Description: teamID from Apple to be able to configure the build.json from cordova to sign the binary with the correct certificate. As now the iOS app always must be released in the client store, we always will need that value.

Location: cherokee 

Values: String

Example:

"teamID":"A1B2C3D4E5"

googleProjectId

Description: An ID required for push notifications. 

Location: cherokee 

Values: String

Example:

"googleProjectId":"123456789123"

pushwooshAppID

Description: The tenant's PushWoosh app ID required for push notifications configuration. This is for legacy native applications. 

Location: cherokee 

Values: String

Example:

"pushwooshAppId": "A4321-1B23C"

oneSignalAppId

Description: The tenant's OneSingal app ID required for push notifications configuration.

Location: cherokee 

Values: String

Example:

"pushwooshAppId": "A1b23cc4-5678-99de-0a12-334556aab01c"

pluginsToRemove

Description: Remove any default installed Cordova plugins. 

Location: cherokee 

Values: String

Example:

"pluginsToRemove": "com.marfeel.ogury,cordova-plugin-admobpro,cordova-plugin-mopub,com.comscoreplugin,cordova-plugin-appsflyer-sdk"

pluginsToAdd

Description: installs new Cordova plugins in the client target directory. 

Location: cherokee 

Values: String

Example:

"pluginsToAdd": "cordova-plugin-adincube@2.2.2"

notExtractedArticlesInMainWindow

Description: Used to open a publisher's Marfeelized site inside the native app. 

Location: cherokee 

Values: True/False

Example:

"notExtractedArticlesInMainWindow": true

distributionBuild

Description: A mandatory flag needed to deploy the native app in production. 

Location: cherokee 

Values: True/False

Example:

"distributionBuild": true

appRateIOS

Description: App identifier for iOS, to be able to show the in AppRate. 

Location: cherokee 

Values: String

Example:

"appRateIOS": "1234567890"

appRateAndroid

Description: Link to the market app in the Google Play store.

Location: cherokee 

Values: String

Example:

"appRateAndroid": "market://details?id=com.marfeel.cherokee.www.tenant.com.fcbarcelona"

[DEPRECATED] singleSpotApiKey

Description: The api key for the singleSpot cordova plugin.

Location: cherokee 

Values: String

Example:

  "singleSpotApiKey": "a1b34c5678ded1234ab5ghj677n1vb3a"

[DEPRECATED] singleSpotApiSecret

Description: The api secret for the singleSpot cordova plugin.

Location: cherokee 

Values: String

Example:

  "singleSpotApiKey": "bcade1c12a3gh12345a09a9gh987a65p9876ad67"

[DEPRECATED] oguryApiKey

Description: The api key for the Ogury cordova plugin.

Location: cherokee 

Values: String

Example:

  "oguryApiKey": "123456"

adInCubeIOSApiKey

Description: The api key for the AdInCube cordova plugin.

Location: cherokee 

Values: String

Example:

  "adInCubeIOSApiKey": "123456"

adInCubeAndroidApiKey

Description: The api key for the AdInCube cordova plugin.

Location: cherokee 

Values: String

Example:

  "adInCubeAndroidApiKey": "123456"

version

Description: Version number of the app and widget

Location: cherokee 

Values: String

Example:

  "version": "3.0"

apps

Description: Inserts the defined links in the publisher's Marfeel PWA lateral menu, pointing to the URL in the corresponding store where the native app can be downloaded. 

Location: cherokee 

Values: Array

Example:

  "apps": [ 
        {
            "ios": "https://itunes.apple.com/en/app/tenant/id87654321",
            "android": "https://play.google.com/store/apps/details?id=com.tenant.rss"
        },
        {
            "badget": "miconfiApp",
            "ios": "https://itunes.apple.com/us/app/mi-confi/id87654321?l=en&ls=1&mt=8",
            "android": "https://play.google.com/store/apps/details?id=com.tenant.miconfi"
        }
    ]

usesCherokeeTheme

Description: Activating the Cherokee theme in order to have a slightly different user experience between touch and native (proactively facing possible rejections for iOS)

Location: cherokee 

Values: true/false

Example:

  "usesCherokeeTheme": true