Created
September 13, 2012 20:44
-
-
Save jakeobrien/3717499 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---- APP VERSION ----- | |
----- 1.2 (76) ----- | |
CONFIG FORMAT | |
{ | |
// how many seconds between polling for opponent move, default 3.5 | |
"pollingFrequency":3.5, | |
// how many turns between showing an interstitial in multiplayer, default 3 | |
"multiplayerMovesPerInterstitial":5, | |
// how many intetstials show for every house ad, default 4 | |
"houseAdInterstitialFrequency":4, | |
// seconds to refresh banner ads | |
"bannerAdRefreshRate":60.0, | |
// array of features for feature cell | |
// NOTE: "versionedFeatures" are only valid for app versions 1.1.2+ | |
// "features_v1_1" will only show in 1.1 and 1.1.1 | |
// "features" will show in previous app versions | |
// see previous versions of this spec for what attributes previous versions of the feature dict support | |
"versionedFeatures": [ | |
{ | |
// normal res image | |
"imageURL":"http://domino-game-files.s3.amazonaws.com/features/example.png", | |
// retina image | |
"image@2xURL":"http://domino-game-files.s3.amazonaws.com/features/example@2x.png", | |
// if applicable, the url to open on tap | |
"actionURL":"", | |
// action taken on tap, see below for options | |
"featureAction":1, | |
// app shows highest priority first. | |
// if multiple of same priority, will randomly choose | |
"priority":1 | |
// whether or not the feature will appear | |
// in free or paid versions, optional, default = true | |
"show_in_free":true, | |
"show_in_paid":false, | |
// list of versions the feature should appear in | |
// "optional:if omitted, will show in all versions" | |
"showOnlyInVersions":["58","xx"] | |
} | |
], | |
// advisories are one-time alert views. | |
// once a user dismisses them they will not be displayed to that user again | |
// the guid must be unique for each advisory | |
// title, message, dismissButtonTitle and actionButtonTitle define the presentation of the alert view | |
// other properties are identical in functionality to features including the codes for advisoryAction | |
"advisories": | |
[ | |
{ | |
"guid":"e2384df4-ff7e-4c13-a487-86fdfc3d6dab", | |
"title":"Title", | |
"message":"Message", | |
"dismissButtonTitle":"Cancel", | |
"actionButtonTitle":"", | |
"actionURL":"", | |
"advisoryAction":0, | |
"show_in_free":true, | |
"show_in_paid":false, | |
"showOnlyInVersions":["52","53","75"] | |
} | |
], | |
// defines the waterfall for interstitials and banner ads | |
// | |
// each array within the top-level array represents a priority level | |
// a priority level will always take priority over lower priority levels | |
// each dictionary within a priority level represents an ad provider | |
// each ad provider has a random chance of being chosen | |
// an ad provider has a "key" identifying it | |
// an ad provider also has a "weight" that determines the weight when randomly choosing | |
// if a provider fails, the app will try another provider within the priority level until exhausted | |
// then will fall back to the next priority level | |
// | |
// in the example below, chartboost will always be tried first, | |
// then rev mob has a 75% and greystripe has a 25% chance of being tried | |
// then the remaining one will be tried | |
//providers available: revmob,chartboost,greystripe,mopub,housead | |
"versionedInterstitialWaterfall": | |
[ | |
[ | |
{ | |
"key":"chartboost", | |
"weight":1 | |
} | |
], | |
[ | |
{ | |
"key":"revmob", | |
"weight":3, | |
"showOnlyInVersions":["52","53","75"] | |
}, | |
{ | |
"key":"greystripe", | |
"weight":1 | |
} | |
] | |
], | |
//providers available: iad,revmob,greystripe,admob,mopub | |
"versionedBannerAdWaterfall": | |
[ | |
[ | |
{ | |
"key":"iad", | |
"weight":1, | |
"showOnlyInVersions":["52","53","75"] | |
} | |
], | |
[ | |
{ | |
"key":"greystripe", | |
"weight":1 | |
} | |
], | |
[ | |
{ | |
"key":"admob", | |
"weight":1 | |
} | |
] | |
] | |
} | |
FEATURE CELL ACTIONS | |
0 - Does nothing, | |
1 - Opens actionURL in in-app web view | |
2 - Opens actionURL out of app (mobile safari) | |
3 - Login to multiplayer | |
4 - Feedback email | |
5 - Takes to app store for Domino! (paid) | |
6 - Connect to facebook (for email multiplayer) | |
7 - Opens How to Play | |
8 - Shows game settings page | |
9 - Update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment