react-native-acoustic-connect-beta 16.0.34 → 16.0.36

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.
@@ -5,90 +5,84 @@
5
5
  "KillSwitchUrl": "https://lib-us-2.brilliantcollector.com/collector/switch/b6c3709b7a4c479bb4b5a9fb8fec324c",
6
6
  "useRelease": false,
7
7
  "iOSVersion": "",
8
- "AndroidVersion": "",
8
+ "AndroidVersion": "10.4.20",
9
9
  "layoutConfig": {
10
10
  "AutoLayout": {
11
- "GlobalScreenSettings": {
12
- "ScreenChange": true,
13
- "DisplayName": "Example",
14
- "CaptureLayoutDelay": 500,
15
- "ScreenShot": true,
16
- "NumberOfWebViews": 0,
17
- "CaptureUserEvents": true,
18
- "CaptureScreenVisits": false,
19
- "CaptureLayoutOn": 2,
20
- "CaptureScreenshotOn": 2,
21
- "Masking": {
22
- "HasMasking": true,
23
- "HasCustomMask": true,
24
- "Sensitive": {
25
- "capitalCaseAlphabet": "X",
26
- "number": "9",
27
- "smallCaseAlphabet": "x",
28
- "symbol": "#"
29
- },
30
- "MaskIdList": [],
31
- "MaskValueList": []
32
- }
33
- }
34
- },
35
- "MainActivity": {
36
- "ScreenChange": true,
37
- "DisplayName": "LoginActivity",
38
- "CaptureLayoutOn": 2,
39
- "Masking": {
40
- "HasMasking": true,
41
- "HasCustomMask": true,
42
- "Sensitive": {
43
- "capitalCaseAlphabet": "X",
44
- "number": "9",
45
- "smallCaseAlphabet": "x",
46
- "symbol": "#"
47
- },
48
- "MaskIdList": [
49
- "password"
50
- ],
51
- "MaskValueList": [],
52
- "MaskAccessibilityIdList": [],
53
- "MaskAccessibilityLabelList": [
54
- "Masking",
55
- "Test Masking",
56
- "password"
57
- ]
11
+ "GlobalScreenSettings":{
12
+ "ScreenChange": true,
13
+ "DisplayName": "",
14
+ "CaptureLayoutDelay": 1,
15
+ "ScreenShot": true,
16
+ "NumberOfWebViews": 0,
17
+ "CaptureUserEvents": true,
18
+ "CaptureScreenVisits": false,
19
+ "CaptureLayoutOn": 2,
20
+ "CaptureScreenshotOn": 2,
21
+ "Masking": {
22
+ "HasMasking": true,
23
+ "HasCustomMask": true,
24
+ "Sensitive": {
25
+ "capitalCaseAlphabet": "X",
26
+ "number": "9",
27
+ "smallCaseAlphabet": "x",
28
+ "symbol": "#"
29
+ },
30
+ "MaskIdList": [
31
+ ],
32
+ "MaskValueList": [
33
+ ],
34
+ "MaskAccessibilityIdList": [
35
+ ],
36
+ "MaskAccessibilityLabelList": [
37
+ ]
38
+ }
39
+ },
40
+ "ExampleMaskingPage":{
41
+ "ScreenChange": false,
42
+ "DisplayName": "",
43
+ "CaptureLayoutDelay": 0,
44
+ "ScreenShot": false,
45
+ "NumberOfWebViews": 0,
46
+ "CaptureUserEvents": false,
47
+ "CaptureScreenVisits": false,
48
+ "CaptureLayoutOn": 0,
49
+ "CaptureScreenshotOn": 0,
50
+ "Masking": {
51
+ "HasMasking": true,
52
+ "HasCustomMask": true,
53
+ "Sensitive": {
54
+ "capitalCaseAlphabet": "X",
55
+ "number": "9",
56
+ "smallCaseAlphabet": "x",
57
+ "symbol": "#"
58
+ },
59
+ "MaskIdList": [
60
+ "^9[0-9][0-9][0-9]$",
61
+ "^\\[wvv,0\\],\\[dddv,0\\],\\[v,0\\],\\[v,0\\],\\[v,0\\],\\[b,0\\](.)*$"
62
+ ],
63
+ "MaskValueList": [
64
+ "^4[0-9]{12}(?:[0-9]{3})?$",
65
+ "^3[47][0-9]{13}$",
66
+ "^65[4-9][0-9]{13}|64[4-9][0-9]{13}|6011[0-9]{12}|(622(?:12[6-9]|1[3-9][0-9]|[2-8][0-9][0-9]|9[01][0-9]|92[0-5])[0-9]{10})$",
67
+ "^(5[1-5][0-9]{14}|2(22[1-9][0-9]{12}|2[3-9][0-9]{13}|[3-6][0-9]{14}|7[0-1][0-9]{13}|720[0-9]{12}))$"
68
+ ],
69
+ "MaskAccessibilityIdList": [
70
+ ],
71
+ "MaskAccessibilityLabelList": [
72
+ ]
73
+ }
58
74
  }
59
75
  },
60
- "Button": {
61
- "ScreenChange": true,
62
- "DisplayName": "Visible",
63
- "CaptureLayoutDelay": 500,
64
- "ScreenShot": true,
65
- "NumberOfWebViews": 0,
66
- "CaptureUserEvents": true,
67
- "CaptureScreenVisits": true,
68
- "CaptureLayoutOn": 2,
69
- "CaptureScreenshotOn": 2
70
- },
71
- "ErrorTest": {
72
- "ScreenChange": false,
73
- "DisplayName": "Hidden",
74
- "CaptureLayoutDelay": 1,
75
- "ScreenShot": false,
76
- "NumberOfWebViews": 0,
77
- "CaptureUserEvents": false,
78
- "CaptureScreenVisits": false,
79
- "CaptureLayoutOn": 0,
80
- "CaptureScreenshotOn": 0
81
- },
82
76
  "AppendMapIds": {
83
- "[w,9290],[v,0]": {
84
- "mid": "ASimpleUIView"
85
- },
86
- "tag2999999": {
87
- "mid": "giveAdditionalId1"
88
- },
89
- "idxPathValue": {
90
- "mid": "giveAdditionalId2"
91
- }
77
+ "[w,9290],[v,0]": {
78
+ "mid": "ASimpleUIView"
79
+ },
80
+ "tag2999999": {
81
+ "mid": "giveAdditionalId1"
82
+ },
83
+ "idxPathValue": {
84
+ "mid": "giveAdditionalId2"
85
+ }
92
86
  }
93
87
  }
94
88
  }
@@ -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.34",
18
+ "react-native-acoustic-connect-beta": "16.0.36",
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,41 @@
31
31
 
32
32
  @implementation RNConnectDynamicLoad
33
33
  + (void)load {
34
- [[EOApplicationHelper sharedInstance] setConfigItem:kConfigurableItemSetGestureDetector value:@"false" forModuleName:@"Connect"];
35
- [[EOApplicationHelper sharedInstance] setConfigItem:kConfigurableItemLogViewLayoutOnScreenTransition value:@"false" forModuleName:@"Connect"];
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:[(NSDictionary*)value objectForKey:@"AutoLayout"] forModuleName:kTLFCoreModule];
63
+ [[EOApplicationHelper sharedInstance] setConfigItem:@"AppendMapIds" value:[(NSDictionary*)value objectForKey:@"AppendMapIds"] forModuleName:kTLFCoreModule];
64
+ }
65
+ }
66
+ }
67
+
68
+ }
39
69
  @end
40
70
 
41
71
  @implementation RNCxa
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.34"
43
+ "version": "16.0.36"
44
44
  }
@@ -30,9 +30,10 @@ Pod::Spec.new do |s|
30
30
  s.source = { :git => repository, :tag => s.version }
31
31
  s.preserve_paths = 'README.md', 'package.json', '*.js'
32
32
  s.source_files = "ios/**/*.{h,m,json}"
33
- s.resource_bundles = {
34
- 'RNCxaConfig' => ['RNCxaConfig.json'],
33
+ s.resource_bundle = {
34
+ 'RNCxaConfig' => ['ios/RNCxaConfig.json'],
35
35
  }
36
+ s.resource = 'ios/RNCxaConfig.json'
36
37
 
37
38
  s.dependency 'React'
38
39
  s.xcconfig = { 'HEADER_SEARCH_PATHS' => '../../../ios/Pods/** ' }
@@ -18,16 +18,59 @@
18
18
  }
19
19
  },
20
20
  "AutoLayout": {
21
+ "ExampleMaskingPage": {
22
+ "CaptureLayoutDelay": 0,
23
+ "CaptureLayoutOn": 0,
24
+ "CaptureScreenVisits": false,
25
+ "CaptureScreenshotOn": 0,
26
+ "CaptureUserEvents": false,
27
+ "DisplayName": "",
28
+ "Masking": {
29
+ "HasCustomMask": true,
30
+ "HasMasking": true,
31
+ "MaskAccessibilityIdList": [
32
+
33
+ ],
34
+ "MaskAccessibilityLabelList": [
35
+
36
+ ],
37
+ "MaskIdList": [
38
+ "^9[0-9][0-9][0-9]$",
39
+ "^\\[wvv,0\\],\\[dddv,0\\],\\[v,0\\],\\[v,0\\],\\[v,0\\],\\[b,0\\](.)*$"
40
+ ],
41
+ "MaskValueList": [
42
+ "^4[0-9]{12}(?:[0-9]{3})?$",
43
+ "^3[47][0-9]{13}$",
44
+ "^65[4-9][0-9]{13}|64[4-9][0-9]{13}|6011[0-9]{12}|(622(?:12[6-9]|1[3-9][0-9]|[2-8][0-9][0-9]|9[01][0-9]|92[0-5])[0-9]{10})$",
45
+ "^(5[1-5][0-9]{14}|2(22[1-9][0-9]{12}|2[3-9][0-9]{13}|[3-6][0-9]{14}|7[0-1][0-9]{13}|720[0-9]{12}))$"
46
+ ],
47
+ "Sensitive": {
48
+ "capitalCaseAlphabet": "X",
49
+ "number": "9",
50
+ "smallCaseAlphabet": "x",
51
+ "symbol": "#"
52
+ }
53
+ },
54
+ "NumberOfWebViews": 0,
55
+ "ScreenChange": false,
56
+ "ScreenShot": false
57
+ },
21
58
  "GlobalScreenSettings": {
22
- "CaptureLayoutDelay": 500,
59
+ "CaptureLayoutDelay": 1,
23
60
  "CaptureLayoutOn": 2,
24
61
  "CaptureScreenVisits": false,
25
62
  "CaptureScreenshotOn": 2,
26
63
  "CaptureUserEvents": true,
27
- "DisplayName": "Example",
64
+ "DisplayName": "",
28
65
  "Masking": {
29
66
  "HasCustomMask": true,
30
67
  "HasMasking": true,
68
+ "MaskAccessibilityIdList": [
69
+
70
+ ],
71
+ "MaskAccessibilityLabelList": [
72
+
73
+ ],
31
74
  "MaskIdList": [
32
75
 
33
76
  ],
@@ -45,57 +88,6 @@
45
88
  "ScreenChange": true,
46
89
  "ScreenShot": true
47
90
  }
48
- },
49
- "Button": {
50
- "CaptureLayoutDelay": 500,
51
- "CaptureLayoutOn": 2,
52
- "CaptureScreenVisits": true,
53
- "CaptureScreenshotOn": 2,
54
- "CaptureUserEvents": true,
55
- "DisplayName": "Visible",
56
- "NumberOfWebViews": 0,
57
- "ScreenChange": true,
58
- "ScreenShot": true
59
- },
60
- "ErrorTest": {
61
- "CaptureLayoutDelay": 1,
62
- "CaptureLayoutOn": 0,
63
- "CaptureScreenVisits": false,
64
- "CaptureScreenshotOn": 0,
65
- "CaptureUserEvents": false,
66
- "DisplayName": "Hidden",
67
- "NumberOfWebViews": 0,
68
- "ScreenChange": false,
69
- "ScreenShot": false
70
- },
71
- "MainActivity": {
72
- "CaptureLayoutOn": 2,
73
- "DisplayName": "LoginActivity",
74
- "Masking": {
75
- "HasCustomMask": true,
76
- "HasMasking": true,
77
- "MaskAccessibilityIdList": [
78
-
79
- ],
80
- "MaskAccessibilityLabelList": [
81
- "Masking",
82
- "Test Masking",
83
- "password"
84
- ],
85
- "MaskIdList": [
86
- "password"
87
- ],
88
- "MaskValueList": [
89
-
90
- ],
91
- "Sensitive": {
92
- "capitalCaseAlphabet": "X",
93
- "number": "9",
94
- "smallCaseAlphabet": "x",
95
- "symbol": "#"
96
- }
97
- },
98
- "ScreenChange": true
99
91
  }
100
92
  },
101
93
  "useRelease": false