In the above code, the "build" object has three properties: "preview", "preview2", and "preview3". The "preview" object has two properties: "android" and "gradleCommand". The "android" property specifies the build type (apk) and the "gradleCommand" property sets the command to assembleRelease on the developmentClient. The "production" object has no properties.
Library: react-native
{
"build": {
"preview": {
"android": {
"buildType": "apk"
}
},
"preview2": {
"android": {
"gradleCommand": ":app:assembleRelease"
}
},
"preview3": {
"developmentClient": true
},
"production": {}
}
}