react-native-acoustic-connect-beta 16.0.37 → 16.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,7 @@
15
15
  "react": "18.2.0",
16
16
  "react-dom": "18.2.0",
17
17
  "react-native": "0.72.10",
18
- "react-native-acoustic-connect-beta": "16.0.37",
18
+ "react-native-acoustic-connect-beta": "16.0.39",
19
19
  "react-native-gesture-handler": "~2.12.0",
20
20
  "react-native-keyboard-aware-scroll-view": "^0.9.5",
21
21
  "react-native-reanimated": "~3.3.0",
package/Jenkinsfile CHANGED
@@ -20,10 +20,19 @@ pipeline {
20
20
  PATH="${PATH}:${GEM_HOME}/bin"
21
21
  }
22
22
 
23
+ options {
24
+ // Throttle jobs based on global config for the given category
25
+ throttleJobProperty(
26
+ categories: ['SDK','AndroidThrottle'],
27
+ throttleEnabled: true,
28
+ throttleOption: 'category'
29
+ )
30
+ }
31
+
23
32
  stages {
24
33
  stage('Setup Build Environment') {
25
34
  when {
26
- anyOf { branch 'feature/*'; branch 'develop'; branch 'staging'; branch 'master' }
35
+ anyOf { branch 'feature/*'; branch 'develop'; branch 'staging'; branch 'main' }
27
36
  }
28
37
  steps {
29
38
  script {
@@ -38,7 +47,7 @@ pipeline {
38
47
  }
39
48
  }
40
49
  // stage('Build iOS - xcode') {
41
- // when { anyOf { branch 'feature/*'; branch 'develop'; branch 'master' } }
50
+ // when { anyOf { branch 'feature/*'; branch 'develop'; branch 'main' } }
42
51
  // steps {
43
52
  // echo 'Building..'
44
53
  // script{
@@ -48,7 +57,7 @@ pipeline {
48
57
  // }
49
58
  // Issue starting simulator
50
59
  stage('Build iOS - yarn ios') {
51
- when { anyOf { branch 'feature/*'; branch 'develop'; branch 'master' } }
60
+ when { anyOf { branch 'feature/*'; branch 'develop'; branch 'main' } }
52
61
  steps {
53
62
  echo 'Building..'
54
63
  script{
@@ -63,7 +72,7 @@ pipeline {
63
72
  }
64
73
  }
65
74
  // stage('Build Android - gradle') {
66
- // when { anyOf { branch 'feature/*'; branch 'develop'; branch 'master' } }
75
+ // when { anyOf { branch 'feature/*'; branch 'develop'; branch 'main' } }
67
76
  // steps {
68
77
  // echo 'Building..'
69
78
  // // build errors need to review how to build
@@ -73,7 +82,7 @@ pipeline {
73
82
  // }
74
83
  // }
75
84
  stage('Build Android - react native cmd') {
76
- when { anyOf { branch 'feature/*'; branch 'develop'; branch 'master' } }
85
+ when { anyOf { branch 'feature/*'; branch 'develop'; branch 'main' } }
77
86
  steps {
78
87
  echo 'Building..'
79
88
  script{
@@ -89,11 +98,20 @@ pipeline {
89
98
  }
90
99
  }
91
100
  stage('Test') {
92
- when { anyOf { branch 'feature/*'; branch 'develop'; branch 'master' } }
101
+ when { anyOf { branch 'feature/*'; branch 'develop'; branch 'main' } }
93
102
  steps {
94
103
  echo 'Testing..'
95
104
  }
96
105
  }
106
+ stage('Publish Feature') {
107
+ when { branch 'develop'}
108
+ steps {
109
+ echo 'Publish Slack Feature....'
110
+ script{
111
+ getSlackReport(false)
112
+ }
113
+ }
114
+ }
97
115
  stage('Publish Beta') {
98
116
  when { branch 'develop'}
99
117
  steps {
@@ -103,36 +121,39 @@ pipeline {
103
121
  if (genBuild) {
104
122
  updateLibraryDependencies(true)
105
123
  publishBeta()
124
+ getSlackReport(false)
106
125
  }
107
126
  }
108
127
  }
109
128
  }
110
- // stage('Publish Release') {
111
- // when { branch 'master' }
112
- // steps {
113
- // echo 'Publish Release....'
114
- // script{
115
- // if (genBuild) {
116
- // publishRelease()
117
- // }
118
- // }
119
- // }
120
- // }
121
- }
122
- post {
123
- always {
124
- script{
125
- getSlackReport(false)
129
+ stage('Publish Release') {
130
+ when { branch 'main' }
131
+ steps {
132
+ echo 'Publish Release....'
133
+ script{
134
+ if (genBuild) {
135
+ updateLibraryDependencies(false)
136
+ publishRelease()
137
+ getSlackReport(true)
138
+ }
139
+ }
126
140
  }
127
141
  }
128
- // // Clean after build
129
- // success {
130
- // cleanWs cleanWhenNotBuilt: false, cleanWhenFailure: false, cleanWhenUnstable: false, deleteDirs: true, disableDeferredWipeout: true, patterns: [[pattern: "**/Reports/**", type: 'EXCLUDE']]
131
- // }
132
- // aborted {
133
- // cleanWs cleanWhenNotBuilt: false, cleanWhenFailure: false, cleanWhenUnstable: false, deleteDirs: true, disableDeferredWipeout: true, patterns: [[pattern: "**/Reports/**", type: 'EXCLUDE']]
134
- // }
135
142
  }
143
+ // post {
144
+ // // always {
145
+ // // script{
146
+ // // getSlackReport(false)
147
+ // // }
148
+ // // }
149
+ // // // Clean after build
150
+ // // success {
151
+ // // cleanWs cleanWhenNotBuilt: false, cleanWhenFailure: false, cleanWhenUnstable: false, deleteDirs: true, disableDeferredWipeout: true, patterns: [[pattern: "**/Reports/**", type: 'EXCLUDE']]
152
+ // // }
153
+ // // aborted {
154
+ // // cleanWs cleanWhenNotBuilt: false, cleanWhenFailure: false, cleanWhenUnstable: false, deleteDirs: true, disableDeferredWipeout: true, patterns: [[pattern: "**/Reports/**", type: 'EXCLUDE']]
155
+ // // }
156
+ // }
136
157
  }
137
158
 
138
159
  import groovy.transform.Field
@@ -209,7 +230,7 @@ def setupGlobals(sourceBranch) {
209
230
  platform = "iOS Simulator,name=iPhone 16 Plus,OS=${platformLatest}"
210
231
 
211
232
  def fText = ""
212
- if (sourceBranch == "master") {
233
+ if (sourceBranch == "main") {
213
234
  fText = "Release ${name} build"
214
235
  } else {
215
236
  fText = "Beta ${name} build"
@@ -537,7 +558,7 @@ def checkoutRepos() {
537
558
  // Review
538
559
  }
539
560
 
540
- if (env.GIT_BRANCH.contains('master')) {
561
+ if (env.GIT_BRANCH.contains('main')) {
541
562
  runCMD("cd ${tempTestDir} && git clone git@github.com:go-acoustic/react-native-acoustic-connect.git -b main")
542
563
  }
543
564
  }
@@ -546,7 +567,7 @@ def gitPush(path, commitMsg, tagMsg, branch, commitMsg2) {
546
567
  echo "Git Push for: ${path}"
547
568
  runCMD('''cd \"''' + path + '''\" && git add . -A''')
548
569
  runCMD('''cd \"''' + path + '''\" && git commit -a -m \"''' + commitMsg + '''\" -m \"''' + commitMsg2 + '''\"''')
549
-
570
+
550
571
  // Tag repos
551
572
  echo "Tag repos"
552
573
  runCMD('''cd \"''' + path + '''\" && git tag -f \"''' + tagMsg + '''\" -m \"''' + commitMsg2 + '''\"''')
@@ -612,14 +633,16 @@ def publishRelease() {
612
633
 
613
634
  // Update package-lock.json
614
635
  def examplePackageFile = "${releaseDir}/package-lock.json"
615
- def exampleFileContent = readFile "${examplePackageFile}"
616
- Map exampleJsonContent = (Map) new JsonSlurper().parseText(exampleFileContent)
617
- exampleJsonContent.put("version", currentVersion)
618
- key = ''
619
- exampleJsonContent.packages."$key".put("version", currentVersion)
620
- def exampleJson = JsonOutput.toJson(exampleJsonContent)
621
- exampleJson = JsonOutput.prettyPrint(exampleJson)
622
- writeFile(file:"${examplePackageFile}", text: exampleJson)
636
+ if (fileExists(examplePackageFile)) {
637
+ def exampleFileContent = readFile "${examplePackageFile}"
638
+ Map exampleJsonContent = (Map) new JsonSlurper().parseText(exampleFileContent)
639
+ exampleJsonContent.put("version", currentVersion)
640
+ key = ''
641
+ exampleJsonContent.packages."$key".put("version", currentVersion)
642
+ def exampleJson = JsonOutput.toJson(exampleJsonContent)
643
+ exampleJson = JsonOutput.prettyPrint(exampleJson)
644
+ writeFile(file:"${examplePackageFile}", text: exampleJson)
645
+ }
623
646
 
624
647
  withCredentials([string(credentialsId: 'NPMJS_TOKEN', variable: 'NPMJS_TOKEN')]) {
625
648
  sh 'echo "//registry.npmjs.org/:_authToken=${NPMJS_TOKEN}" >> ~/.npmrc'
@@ -634,8 +657,8 @@ def publishRelease() {
634
657
  echo commitDesciption
635
658
 
636
659
  // push repos
637
- // gitPush("${buildDir}", commitMsg, currentVersion, srcBranch, commitDesciption) - there are no changes.
638
660
  gitPush("${releaseDir}", commitMsg, currentVersion, "main", commitDesciption)
661
+ // gitPush("${buildDir}", commitMsg, currentVersion, srcBranch, commitDesciption)
639
662
  }
640
663
 
641
664
  def populateSlackMessageGlobalVariables() {
@@ -1,3 +1,3 @@
1
1
  {
2
- "LibraryVersion": "10.4.21"
2
+ "LibraryVersion": "10.4.20"
3
3
  }
@@ -6,7 +6,7 @@
6
6
  "CompressPostMessage": true,
7
7
  "DefaultOrientation": 0,
8
8
  "DisableCookieManager": false,
9
- "LibraryVersion": "2.1.9",
9
+ "LibraryVersion": "2.1.10",
10
10
  "MNCMCC": {
11
11
  "00": "N/A",
12
12
  "20201": "Cosmote",
@@ -24,7 +24,7 @@
24
24
  "IpPlaceholder": "N/A",
25
25
  "KillSwitchAsync": true,
26
26
  "KillSwitchDelay": 300,
27
- "LibraryVersion": "10.4.7",
27
+ "LibraryVersion": "10.4.6",
28
28
  "LogFullRequestResponsePayloads": true,
29
29
  "MessageTypeHeader": "WorklightHit",
30
30
  "MessageTypes": "4,5",
package/latestChanges CHANGED
@@ -25,3 +25,4 @@ Known Issues
25
25
 
26
26
  - After iOS 13, library no longer supports iPad because of Apple changes in iPad OS.
27
27
  - Dual sim features are in beta. Example information using multiple carriers.
28
+
package/package.json CHANGED
@@ -40,5 +40,5 @@
40
40
  "verifyConnectSetup": "node scripts/verifyConnectSetup.js $INIT_CWD"
41
41
  },
42
42
  "summary": "react-native ios android tealeaf connect cxa wxca er enhanced-replay",
43
- "version": "16.0.37"
43
+ "version": "16.0.39"
44
44
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "Connect": {
3
- "AndroidVersion": "10.4.21",
3
+ "AndroidVersion": "10.4.20",
4
4
  "AppKey": "b6c3709b7a4c479bb4b5a9fb8fec324c",
5
5
  "KillSwitchUrl": "https://lib-us-2.brilliantcollector.com/collector/switch/b6c3709b7a4c479bb4b5a9fb8fec324c",
6
6
  "PostMessageUrl": "https://lib-us-2.brilliantcollector.com/collector/collectorPost",