Skip to content
4 changes: 2 additions & 2 deletions buildHooks/src/prePublish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,12 @@ export const prePublish = async (c: RnvContext) => {
pkgFile = readObjectSync<any>(_pkgPath);
pkgName = pkgFile?.name;
}
const _rnvPath = path.join(dirPath, 'renative.json');
const _rnvPath = path.join(dirPath, RnvFileName.renative);
if (fsExistsSync(_rnvPath)) {
rnvPath = _rnvPath;
rnvFile = readObjectSync(rnvPath);
}
const _rnvTempPath = path.join(dirPath, 'renative.template.json');
const _rnvTempPath = path.join(dirPath, RnvFileName.renativeTemplate);
if (fsExistsSync(_rnvTempPath)) {
rnvTempPath = _rnvTempPath;
rnvTempFile = readObjectSync(rnvTempPath);
Expand Down
216 changes: 112 additions & 104 deletions packages/app-harness/appConfigs/harness/renative.json
Original file line number Diff line number Diff line change
@@ -1,119 +1,127 @@
{
"$schema": "../../.rnv/schema/rnv.app.json",
"extendsTemplate": "@rnv/template-starter/appConfigs/base/renative.json",
"id": "harness",
"common": {
"id": "renative.harness",
"title": "Harness",
"description": "Test Harness for ReNative",
"runtime": {
"welcomeMessage": "Hello ReNative Harness!"
},
"buildSchemes": {
"debug": {
"id": "renative.harness.debug",
"title": "Debug Harness"
},
"test": {
"id": "renative.harness.test",
"title": "Test Harness"
}
},
"fontSources": ["{{resolvePackage(react-native-vector-icons)}}/Fonts"],
"excludedPlugins": ["@react-native-firebase/app"]
},
"platforms": {
"ios": {
"entitlements": {
"aps-environment": "development"
"app": {
"extendsTemplate": "@rnv/template-starter/appConfigs/base/renative.json",
"id": "harness",
"common": {
"id": "renative.harness",
"title": "Harness",
"description": "Test Harness for ReNative",
"runtime": {
"welcomeMessage": "Hello ReNative Harness!"
},
"buildSchemes": {
"debug-static-pods": {
"runScheme": "Debug",
"bundleAssets": false,
"teamID": "9VVQTZS9NN",
"templateXcode": {
"Podfile": {
"sources": ["https://github.com/CocoaPods/Specs.git"],
"header": [
"plugin 'cocoapods-user-defined-build-types'",
"enable_user_defined_build_types!"
]
}
},
"excludedPlugins": []
"debug": {
"id": "renative.harness.debug",
"title": "Debug Harness"
},
"release": {
"id": "com.renative.harness.ios",
"provisionProfileSpecifier": "renative harness adhoc ios",
"provisioningStyle": "Manual",
"codeSignIdentity": "Apple Distribution",
"exportOptions": {
"method": "ad-hoc",
"uploadBitcode": true,
"compileBitcode": false,
"uploadSymbols": true,
"signingStyle": "manual",
"provisioningProfiles": {
"com.renative.harness.ios": "renative harness adhoc ios"
}
}
"test": {
"id": "renative.harness.test",
"title": "Test Harness"
}
}
},
"fontSources": [
"{{resolvePackage(react-native-vector-icons)}}/Fonts"
],
"excludedPlugins": [
"@react-native-firebase/app"
]
},
"tvos": {
"buildSchemes": {
"debug": {
"teamID": "9VVQTZS9NN"
"platforms": {
"ios": {
"entitlements": {
"aps-environment": "development"
},
"release": {
"id": "com.renative.harness.tvos",
"provisionProfileSpecifier": "renative harness adhoc tvos",
"provisioningStyle": "Manual",
"codeSignIdentity": "Apple Distribution",
"exportOptions": {
"method": "ad-hoc",
"uploadBitcode": true,
"compileBitcode": false,
"uploadSymbols": true,
"signingStyle": "manual",
"provisioningProfiles": {
"com.renative.harness.tvos": "renative harness adhoc tvos"
"buildSchemes": {
"debug-static-pods": {
"runScheme": "Debug",
"bundleAssets": false,
"teamID": "9VVQTZS9NN",
"templateXcode": {
"Podfile": {
"sources": [
"https://github.com/CocoaPods/Specs.git"
],
"header": [
"plugin 'cocoapods-user-defined-build-types'",
"enable_user_defined_build_types!"
]
}
},
"excludedPlugins": []
},
"release": {
"id": "com.renative.harness.ios",
"provisionProfileSpecifier": "renative harness adhoc ios",
"provisioningStyle": "Manual",
"codeSignIdentity": "Apple Distribution",
"exportOptions": {
"method": "ad-hoc",
"uploadBitcode": true,
"compileBitcode": false,
"uploadSymbols": true,
"signingStyle": "manual",
"provisioningProfiles": {
"com.renative.harness.ios": "renative harness adhoc ios"
}
}
}
}
}
},
"android": {
"reactNativeEngine": "hermes",
"buildSchemes": {
"debug-jsc": {
"signingConfig": "Debug",
"bundleAssets": false,
"reactNativeEngine": "jsc"
},
"tvos": {
"buildSchemes": {
"debug": {
"teamID": "9VVQTZS9NN"
},
"release": {
"id": "com.renative.harness.tvos",
"provisionProfileSpecifier": "renative harness adhoc tvos",
"provisioningStyle": "Manual",
"codeSignIdentity": "Apple Distribution",
"exportOptions": {
"method": "ad-hoc",
"uploadBitcode": true,
"compileBitcode": false,
"uploadSymbols": true,
"signingStyle": "manual",
"provisioningProfiles": {
"com.renative.harness.tvos": "renative harness adhoc tvos"
}
}
}
}
}
},
"tizen": {
"package": "NkVRhWHJSX",
"id": "NkVRhWHJSX.RNVanillaTV"
},
"tizenwatch": {
"package": "cHIP2fIRQZ",
"id": "cHIP2fIRQZ.RNVanillaWatch"
},
"tizenmobile": {
"package": "PauodvCU2r",
"id": "PauodvCU2r.RNVanillaMobile"
},
"web": {
"buildSchemes": {
"debug-engine-rn-web": {
"bundleAssets": false,
"environment": "development",
"engine": "engine-rn-web"
},
"android": {
"reactNativeEngine": "hermes",
"buildSchemes": {
"debug-jsc": {
"signingConfig": "Debug",
"bundleAssets": false,
"reactNativeEngine": "jsc"
}
}
},
"tizen": {
"package": "NkVRhWHJSX",
"id": "NkVRhWHJSX.RNVanillaTV"
},
"tizenwatch": {
"package": "cHIP2fIRQZ",
"id": "cHIP2fIRQZ.RNVanillaWatch"
},
"tizenmobile": {
"package": "PauodvCU2r",
"id": "PauodvCU2r.RNVanillaMobile"
},
"web": {
"buildSchemes": {
"debug-engine-rn-web": {
"bundleAssets": false,
"environment": "development",
"engine": "engine-rn-web"
}
}
}
}
}
},
"$schema": "../../../../.rnv/schema/renative-1.0.schema.json"
}
2 changes: 1 addition & 1 deletion packages/app-harness/appConfigs/harness/rnv.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "../../.rnv/schema/renative-1.0.schema.json",
"app": {
"extendsTemplate": "@rnv/template-starter/appConfigs/base/rnv.json",
"extendsTemplate": "@rnv/template-starter/appConfigs/base/renative.json",
"id": "harness"
},
"project": {}
Expand Down
Loading
Loading