react-native-acoustic-connect-beta 16.0.31 → 16.0.33
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.
- package/Example/nativebase-v3-kitchensink/package.json +1 -1
- package/ios/ConnectConfig/Build_Config.rb +19 -42
- package/ios/RNCxa.xcodeproj/project.pbxproj +2 -0
- package/ios/RNCxaConfig.json +1 -0
- package/package.json +1 -1
- package/react-native-acoustic-connect-beta.podspec +6 -2
- package/ios/TeafLayoutConfigDefault.json +0 -40
|
@@ -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.
|
|
18
|
+
"react-native-acoustic-connect-beta": "16.0.33",
|
|
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",
|
|
@@ -11,62 +11,39 @@ require 'json'
|
|
|
11
11
|
# prohibited.
|
|
12
12
|
#--------------------------------------------------------------------------------------------
|
|
13
13
|
|
|
14
|
-
pods_root
|
|
14
|
+
pods_root = ARGV[0]
|
|
15
15
|
config_file = ARGV[1]
|
|
16
|
-
|
|
17
|
-
$dependencyName = "ConnectReactNativeDebug"
|
|
18
|
-
$podFolder = "DebugConnectReactNative"
|
|
19
|
-
|
|
20
|
-
def update_config(module_name, key, value)
|
|
21
|
-
|
|
22
|
-
if value.class.eql?("Hash") || !module_name.eql?("Connect")
|
|
23
|
-
return false
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
plist_path = "#{ARGV[0]}/#{$dependencyName}/SDKs/iOS/#{$podFolder}/TLFResources.bundle/ConnectBasicConfig.plist"
|
|
27
|
-
|
|
28
|
-
if File.exist?(plist_path)
|
|
29
|
-
`/usr/libexec/PlistBuddy -c \"Set :#{key} #{value}" #{plist_path}`
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
|
|
33
|
-
def update_layout(jsonData)
|
|
34
|
-
connectConfigOverride = jsonData["Connect"]["layoutConfig"]
|
|
35
|
-
|
|
36
|
-
path = "../../ios/Pods/#{$dependencyName}/SDKs/iOS/#{$podFolder}/TLFResources.bundle/ConnectLayoutConfig.json"
|
|
37
|
-
puts "Has new layoutConfig:#{connectConfigOverride}, then update ConnectLayoutConfig.json at #{path}"
|
|
38
|
-
|
|
39
|
-
if(connectConfigOverride)
|
|
40
|
-
connectConfigOverrideJson = JSON.generate(connectConfigOverride)
|
|
41
|
-
File.write(path,connectConfigOverrideJson)
|
|
42
|
-
puts JSON.pretty_generate(connectConfigOverrideJson)
|
|
43
|
-
end
|
|
44
|
-
end
|
|
16
|
+
lib_root = ARGV[2]
|
|
45
17
|
|
|
46
18
|
begin
|
|
47
19
|
config_path = "#{pods_root}/../../#{config_file}"
|
|
48
20
|
if File.exist?(config_path)
|
|
21
|
+
puts "Read from ConnectConfig.json at:#{config_path}"
|
|
49
22
|
json = JSON.parse(File.read(config_path))
|
|
23
|
+
puts JSON.pretty_generate(json)
|
|
50
24
|
else
|
|
25
|
+
puts "ConnectConfig.json does not exist at:#{config_path}"
|
|
51
26
|
exit
|
|
52
27
|
end
|
|
53
28
|
|
|
54
|
-
|
|
55
|
-
|
|
29
|
+
libConfigPath = "#{lib_root}/ios/RNCxaConfig.json"
|
|
30
|
+
if File.exist?(libConfigPath)
|
|
31
|
+
puts "Read from RNCxaConfig.json at:#{libConfigPath}"
|
|
32
|
+
libConfig = File.read(libConfigPath)
|
|
33
|
+
puts libConfig
|
|
56
34
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
next
|
|
60
|
-
end
|
|
61
|
-
|
|
62
|
-
value.map do |config|
|
|
63
|
-
config_key, config_value = config
|
|
64
|
-
update_config(module_name, config_key, config_value)
|
|
35
|
+
File.open(libConfigPath, 'w') do |f|
|
|
36
|
+
f.write(JSON.pretty_generate(json))
|
|
65
37
|
end
|
|
38
|
+
|
|
39
|
+
libConfig = File.read(libConfigPath)
|
|
40
|
+
puts "Update #{libConfigPath} to"
|
|
41
|
+
puts "#{libConfig}"
|
|
42
|
+
else
|
|
43
|
+
puts "RNCxaConfig.json does not exist at:#{libConfigPath}"
|
|
44
|
+
exit
|
|
66
45
|
end
|
|
67
46
|
|
|
68
|
-
update_layout(json)
|
|
69
|
-
|
|
70
47
|
rescue Errno::ENOENT
|
|
71
48
|
exit
|
|
72
49
|
end
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
6D7AF8B82CD2C79400C39C63 /* ConnectReactNative.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = ConnectReactNative.xcframework; path = ../../../ios/Pods/ConnectReactNativeDebug/SDKs/iOS/DebugConnectReactNative/ConnectReactNative.xcframework; sourceTree = "<group>"; };
|
|
44
44
|
6D7AF8BB2CD2CB1B00C39C63 /* EOCore.xcframework */ = {isa = PBXFileReference; expectedSignature = "AppleDeveloperProgram:QXQ67VKX2B:Acoustic, L.P."; lastKnownFileType = wrapper.xcframework; name = EOCore.xcframework; path = ../../../ios/Pods/EOCoreDebug/SDKs/iOS/Debug/EOCore.xcframework; sourceTree = "<group>"; };
|
|
45
45
|
6D7AF8BD2CD2CB2C00C39C63 /* TealeafReactNative.xcframework */ = {isa = PBXFileReference; expectedSignature = "AppleDeveloperProgram:QXQ67VKX2B:Acoustic, L.P."; lastKnownFileType = wrapper.xcframework; name = TealeafReactNative.xcframework; path = ../../../ios/Pods/TealeafReactNativeDebug/SDKs/iOS/DebugTealeafReactNative/TealeafReactNative.xcframework; sourceTree = "<group>"; };
|
|
46
|
+
6DA8617B2CEDB13A00A7C79B /* RNCxaConfig.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = RNCxaConfig.json; sourceTree = "<group>"; };
|
|
46
47
|
9927869C26A0CE1900356A5F /* libRNCxaStandaloneDebug.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNCxaStandaloneDebug.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
47
48
|
99312E5E20EC64C40060FE60 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
|
48
49
|
99312E6020EC64CD0060FE60 /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; };
|
|
@@ -87,6 +88,7 @@
|
|
|
87
88
|
children = (
|
|
88
89
|
B3E7B5881CC2AC0600A0062D /* RNCxa.h */,
|
|
89
90
|
B3E7B5891CC2AC0600A0062D /* RNCxa.m */,
|
|
91
|
+
6DA8617B2CEDB13A00A7C79B /* RNCxaConfig.json */,
|
|
90
92
|
134814211AA4EA7D00B7C361 /* Products */,
|
|
91
93
|
66B924C8204F8AA200DFC51F /* Frameworks */,
|
|
92
94
|
9927869C26A0CE1900356A5F /* libRNCxaStandaloneDebug.a */,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
package/package.json
CHANGED
|
@@ -29,10 +29,14 @@ Pod::Spec.new do |s|
|
|
|
29
29
|
|
|
30
30
|
s.source = { :git => repository, :tag => s.version }
|
|
31
31
|
s.preserve_paths = 'README.md', 'package.json', '*.js'
|
|
32
|
-
s.source_files = "ios/**/*.{h,m}"
|
|
32
|
+
s.source_files = "ios/**/*.{h,m,json}"
|
|
33
33
|
|
|
34
34
|
s.dependency 'React'
|
|
35
35
|
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '../../../ios/Pods/** ' }
|
|
36
36
|
s.dependency "#{dependencyName}#{dependencyVersion}"
|
|
37
|
-
s.
|
|
37
|
+
s.script_phase = {
|
|
38
|
+
:name => 'Build Config',
|
|
39
|
+
:script => %("${PODS_TARGET_SRCROOT}/ios/ConnectConfig/Build_Config.rb" "${PODS_ROOT}" "ConnectConfig.json" "${PODS_TARGET_SRCROOT}"),
|
|
40
|
+
:execution_position => :before_compile,
|
|
41
|
+
}
|
|
38
42
|
end
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"AutoLayout": {
|
|
3
|
-
"GlobalScreenSettings":{
|
|
4
|
-
"ScreenChange": true,
|
|
5
|
-
"DisplayName": "",
|
|
6
|
-
"CaptureLayoutDelay": 500,
|
|
7
|
-
"ScreenShot": true,
|
|
8
|
-
"NumberOfWebViews": 0,
|
|
9
|
-
"CaptureUserEvents": true,
|
|
10
|
-
"CaptureScreenVisits": false,
|
|
11
|
-
"CaptureLayoutOn": 2,
|
|
12
|
-
"CaptureScreenshotOn": 2,
|
|
13
|
-
"Masking": {
|
|
14
|
-
"HasMasking": true,
|
|
15
|
-
"HasCustomMask": true,
|
|
16
|
-
"Sensitive": {
|
|
17
|
-
"capitalCaseAlphabet": "X",
|
|
18
|
-
"number": "9",
|
|
19
|
-
"smallCaseAlphabet": "x",
|
|
20
|
-
"symbol": "#"
|
|
21
|
-
},
|
|
22
|
-
"MaskIdList": [
|
|
23
|
-
],
|
|
24
|
-
"MaskValueList": [
|
|
25
|
-
]
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"AppendMapIds": {
|
|
30
|
-
"[w,9290],[v,0]": {
|
|
31
|
-
"mid": "ASimpleUIView"
|
|
32
|
-
},
|
|
33
|
-
"tag2999999": {
|
|
34
|
-
"mid": "giveAdditionalId1"
|
|
35
|
-
},
|
|
36
|
-
"idxPathValue": {
|
|
37
|
-
"mid": "giveAdditionalId2"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|