Skip to content

Commit 6a10798

Browse files
authored
Merge pull request #234 from BranchMetrics/clean-up-js-automation
Clean up JS automation and docs
2 parents 968ca99 + 0bf124d commit 6a10798

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

docs/branch.json.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,6 @@ of `branch.json`.
9494
|key|description|type|
9595
|---|---|---|
9696
|debugMode|If true, `setDebug` will be called in the native SDK, enabling testing of install events.|Boolean|
97-
|branchKey|If set, the specified key overrides all other settings, including the Info.plist, AndroidManifest.xml and the liveKey and testKey settings here.|String|
98-
|liveKey|If branchKey is not set and useTestInstance is false or absent, this key will be used to override the keys from the Info.plist and AndroidManifest.xml|String|
99-
|testKey|If branchKey is not set and useTestInstance is true, this key will be used to override the keys from the Info.plist and AndroidManifest.xml|String|
100-
|useTestInstance|If branchKey is not set and useTestInstance is true, the testKey from branch.json will be used if present. If branchKey and testKey are not set: On iOS, the test key from the Info.plist will be used, if present. On Android, the io.branch.sdk.TestMode metadata key will determine which instance is used.|Boolean|
10197
|appleSearchAdsDebugMode|If true, `setAppleSearchAdsDebugMode` will be called on the iOS Branch instance. Ignored on Android.|Boolean|
10298
|delayInitToCheckForSearchAds|If true, `delayInitToCheckForSearchAds` will be called on the iOS Branch instance. Ignored on Android.|Boolean|
10399

@@ -108,9 +104,6 @@ See [branch.example.json](https://github.com/BranchMetrics/react-native-branch-d
108104
```json
109105
{
110106
"debugMode": true,
111-
"liveKey": "key_live_xxxx",
112-
"testKey": "key_test_yyyy",
113-
"useTestInstance": true,
114107
"delayInitToCheckForSearchAds": true,
115108
"appleSearchAdsDebugMode": true
116109
}

scripts/androidUtil.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,6 @@ function androidPackageDir() {
125125
return path.join('.', 'android', 'app', 'src', 'main', 'java', androidPackageName().replace(/\./, path.sep))
126126
}
127127

128-
function replaceBranchGetAutoinstnace() {
129-
const packageDir = androidPackageDir()
130-
source = fs.readFileSync(path.join())
131-
}
132-
133128
module.exports = {
134129
addBranchConfigToAndroidAssetsFolder: addBranchConfigToAndroidAssetsFolder,
135130
removeBranchConfigFromAndroidAssetsFolder: removeBranchConfigFromAndroidAssetsFolder

0 commit comments

Comments
 (0)