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.

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,com.comscoreplugin,cordova-plugin-admobpro,cordova-plugin-mopub"

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"

singleSpotApiKey

Description: The api key for the singleSpot cordova plugin.

Location: cherokee 

Values: String

Example:

  "singleSpotApiKey": "a1b34c5678ded1234ab5ghj677n1vb3a"

singleSpotApiSecret

Description: The api secret for the singleSpot cordova plugin.

Location: cherokee 

Values: String

Example:

  "singleSpotApiKey": "bcade1c12a3gh12345a09a9gh987a65p9876ad67"

oguryApiKey

Description: The api key for the Ogury cordova plugin.

Location: cherokee 

Values: String

Example:

  "oguryApiKey": "123456"

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"
        }
    ]