react-native-acoustic-connect-beta 16.0.33 → 16.0.35
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.
|
|
18
|
+
"react-native-acoustic-connect-beta": "16.0.35",
|
|
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/ios/RNCxa.m
CHANGED
|
@@ -31,11 +31,40 @@
|
|
|
31
31
|
|
|
32
32
|
@implementation RNConnectDynamicLoad
|
|
33
33
|
+ (void)load {
|
|
34
|
-
[
|
|
35
|
-
[[EOApplicationHelper sharedInstance] setConfigItem:
|
|
34
|
+
[self loadConnectConfig];
|
|
35
|
+
[[EOApplicationHelper sharedInstance] setConfigItem:kConfigurableItemSetGestureDetector value:@"false" forModuleName:kTLFCoreModule];
|
|
36
|
+
[[EOApplicationHelper sharedInstance] setConfigItem:kConfigurableItemLogViewLayoutOnScreenTransition value:@"false" forModuleName:kTLFCoreModule];
|
|
36
37
|
[[ConnectApplicationHelper sharedInstance] enableFramework];
|
|
37
38
|
[[ConnectApplicationHelper sharedInstance] isReactNative:YES];
|
|
38
39
|
}
|
|
40
|
+
|
|
41
|
+
+ (void)loadConnectConfig {
|
|
42
|
+
NSArray *eocoreKeys = @[@"CachingLevel", @"DoPostAppComesFromBackground", @"DoPostAppGoesToBackground", @"DoPostAppGoesToClose", @"DoPostAppIsLaunched", @"DoPostOnIntervals", @"DynamicConfigurationEnabled", @"HasToPersistLocalCache", @"LoggingLevel", @"ManualPostEnabled", @"PostMessageLevelCellular", @"PostMessageLevelWiFi", @"PostMessageTimeIntervals", @"CachedFileMaxBytesSize", @"CompressPostMessage", @"DefaultOrientation", @"LibraryVersion", @"MaxNumberOfFilesToCache", @"MessageVersion", @"PostMessageMaxBytesSize", @"PostMessageTimeout",@"TurnOffCorrectOrientationUpdates"];
|
|
43
|
+
NSArray *tealeafKeys = @[@"AppKey", @"DisableAutoInstrumentation", @"GetImageDataOnScreenLayout", @"JavaScriptInjectionDelay", @"KillSwitchEnabled", @"KillSwitchMaxNumberOfTries",@"KillSwitchTimeInterval", @"KillSwitchTimeout", @"KillSwitchUrl", @"UseWhiteList", @"WhiteListParam", @"LogLocationEnabled", @"MaxStringsLength", @"PercentOfScreenshotsSize", @"PercentToCompressImage", @"ScreenShotPixelDensity", @"PostMessageUrl", @"DoPostOnScreenChange", @"printScreen", @"ScreenshotFormat", @"SessionTimeout", @"SessionizationCookieName", @"CookieSecure", @"disableTLTDID",@"SetGestureDetector", @"AddGestureRecognizerUIButton", @"AddGestureRecognizerUIDatePicker", @"AddGestureRecognizerUIPageControl", @"AddGestureRecognizerUIPickerView", @"AddGestureRecognizerUIScrollView", @"AddGestureRecognizerUISegmentedControl", @"AddGestureRecognizerUISwitch", @"AddGestureRecognizerUITextView", @"AddGestureRecognizerWKWebView", @"AddMessageTypeHeader", @"DisableAlertAutoCapture", @"DisableAlertBackgroundForDisabledLogViewLayout", @"DisableKeyboardCapture", @"EnableWebViewInjectionForDisabledAutoCapture", @"FilterMessageTypes", @"InitialZIndex", @"IpPlaceholder", @"LibraryVersion", @"LogFullRequestResponsePayloads", @"LogViewLayoutOnScreenTransition", @"MessageTypeHeader", @"MessageTypes", @"RemoveIp", @"RemoveSwiftUIDuplicates", @"SubViewArrayZIndexIncrementTrigger", @"SwiftUICaptureNonVariadic", @"TextFieldBeingEditedUseSender", @"TreatJsonDictionariesAsString", @"UICPayload", @"UIKeyboardCaptureTouches", @"UseJPGForReplayImagesExtension", @"UseXpathId", @"actionSheet:buttonIndex", @"actionSheet:show", @"alertView:buttonIndex", @"alertView:show", @"autolog:pageControl", @"autolog:textBox:_searchFieldEndEditing", @"button:click", @"button:load", @"canvas:click", @"connection", @"customEvent", @"datePicker:dateChange", @"exception", @"gestures", @"label:load", @"label:textChange", @"layout", @"location", @"mobileState", @"orientation", @"pageControl:valueChanged", @"pickerView:valueChanged", @"screenChangeLevel", @"scroller:scrollChange", @"selectList:UITableViewSelectionDidChangeNotification", @"selectList:load", @"selectList:valueChange", @"slider:valueChange", @"stepper:valueChange", @"textBox:_searchFieldBeginChanged", @"textBox:_searchFieldBeginEditing", @"textBox:_searchFieldEditingChanged", @"textBox:textChange", @"textBox:textChanged", @"textBox:textFieldDidChange", @"toggleButton:click"];
|
|
44
|
+
|
|
45
|
+
NSBundle *bundle = [NSBundle bundleForClass:self.classForCoder];
|
|
46
|
+
NSURL *bundleURL = [[bundle resourceURL] URLByAppendingPathComponent:@"RNCxaConfig.bundle"];
|
|
47
|
+
NSBundle *resourceBundle = [NSBundle bundleWithURL:bundleURL];
|
|
48
|
+
NSString *path = [resourceBundle pathForResource:@"RNCxaConfig" ofType:@"json"];
|
|
49
|
+
NSData *data = [NSData dataWithContentsOfFile:path];
|
|
50
|
+
NSDictionary *jsonData = [NSJSONSerialization JSONObjectWithData:data options:kNilOptions error:nil];
|
|
51
|
+
|
|
52
|
+
if (jsonData != nil) {
|
|
53
|
+
NSDictionary *connectData = [jsonData objectForKey:@"Connect"];
|
|
54
|
+
for (NSString* key in connectData) {
|
|
55
|
+
id value = connectData[key];
|
|
56
|
+
|
|
57
|
+
if ([tealeafKeys containsObject:key]) {
|
|
58
|
+
[[EOApplicationHelper sharedInstance] setConfigItem:key value:value forModuleName:kTLFCoreModule];
|
|
59
|
+
} else if ([eocoreKeys containsObject:key]) {
|
|
60
|
+
[[EOApplicationHelper sharedInstance] setConfigItem:key value:value forModuleName:kEOCoreModule];
|
|
61
|
+
} else if ([key isEqualToString:@"layoutConfig"]) {
|
|
62
|
+
[[EOApplicationHelper sharedInstance] setConfigItem:@"AutoLayout" value:value forModuleName:kTLFCoreModule];
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
}
|
|
39
68
|
@end
|
|
40
69
|
|
|
41
70
|
@implementation RNCxa
|
package/package.json
CHANGED
|
@@ -18,21 +18,25 @@ puts "connectDependency:#{dependencyName}#{dependencyVersion}"
|
|
|
18
18
|
puts "***************************************************************"
|
|
19
19
|
|
|
20
20
|
Pod::Spec.new do |s|
|
|
21
|
-
s.name
|
|
22
|
-
s.version
|
|
23
|
-
s.description
|
|
24
|
-
s.homepage
|
|
25
|
-
s.summary
|
|
26
|
-
s.license
|
|
27
|
-
s.authors
|
|
28
|
-
s.platforms
|
|
21
|
+
s.name = package["name"]
|
|
22
|
+
s.version = package["version"]
|
|
23
|
+
s.description = package["description"]
|
|
24
|
+
s.homepage = package["homepage"]
|
|
25
|
+
s.summary = package["summary"]
|
|
26
|
+
s.license = package["license"]
|
|
27
|
+
s.authors = package["author"]
|
|
28
|
+
s.platforms = { :ios => "13.0" }
|
|
29
29
|
|
|
30
|
-
s.source
|
|
31
|
-
s.preserve_paths
|
|
32
|
-
s.source_files
|
|
30
|
+
s.source = { :git => repository, :tag => s.version }
|
|
31
|
+
s.preserve_paths = 'README.md', 'package.json', '*.js'
|
|
32
|
+
s.source_files = "ios/**/*.{h,m,json}"
|
|
33
|
+
s.resource_bundle = {
|
|
34
|
+
'RNCxaConfig' => ['ios/RNCxaConfig.json'],
|
|
35
|
+
}
|
|
36
|
+
s.resource = 'ios/RNCxaConfig.json'
|
|
33
37
|
|
|
34
38
|
s.dependency 'React'
|
|
35
|
-
s.xcconfig
|
|
39
|
+
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '../../../ios/Pods/** ' }
|
|
36
40
|
s.dependency "#{dependencyName}#{dependencyVersion}"
|
|
37
41
|
s.script_phase = {
|
|
38
42
|
:name => 'Build Config',
|