Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
changed the 'state' key/value to support non-boolean values
{"name": "jsappbasics", "features":
[
{"name":"video", "state":"disabled", "default": "enabled", "rules":[
{"state": "disabled", "value":
{"apilevel_min": 21, "apilevel_max": 23, "appversion_min": 11, "appversion_max": 13, "date_min": 1452766668000, "date_max": 1455566668000, "buildtype":"debug", "device":[{"manufacturer":"xiaomi","model":"mi3"}, {"manufacturer":"samsung", "model":"s4"}]}
},
{"state": "disabled", "value": {"appversion_max": 13}}
]},
{"name":"crash_reporting", "rules":[
{"state": "disabled", "value":
{"appversion": 11, "buildtype": "false"}
}
]
},
{"name":"mixpanel","default": "enabled", "rules":[
{"state": "disabled", "value":
{"device":[{"model":"Google Nexus 5 - 5.1.0 - API 22 - 1080x1920"}, {"manufacturer":"samsung", "model":"s4"}]}
}
]}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment