react-native-acoustic-connect-beta 16.0.21 → 16.0.23
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/android/build.gradle +3 -4
- package/android/src/main/java/com/tl/uic/rncxa/RNCxaModule.java +0 -12
- package/ios/RNCxa.m +0 -11
- package/package.json +1 -1
- package/scripts/javaParser.js +2 -2
- package/Example/nativebase-v3-kitchensink/TealeafConfig.json +0 -85
|
@@ -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.23",
|
|
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/android/build.gradle
CHANGED
|
@@ -14,12 +14,11 @@ buildscript {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
android {
|
|
17
|
-
|
|
18
|
-
buildToolsVersion '32.0.0'
|
|
17
|
+
compileSdk 34
|
|
19
18
|
|
|
20
19
|
defaultConfig {
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
minSdk 21
|
|
21
|
+
targetSdk 34
|
|
23
22
|
versionCode 1
|
|
24
23
|
// get version name from package.json version
|
|
25
24
|
versionName "1.0"
|
|
@@ -400,18 +400,6 @@ public class RNCxaModule extends ReactContextBaseJavaModule implements Lifecycle
|
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
402
|
|
|
403
|
-
/**
|
|
404
|
-
* Log ScreenView Page event.
|
|
405
|
-
*
|
|
406
|
-
* @param logicalPageName Page name or title e.g. "Login View Controller"; Must not be empty.
|
|
407
|
-
* @param promise Javascript Promise interface.
|
|
408
|
-
*/
|
|
409
|
-
@ReactMethod
|
|
410
|
-
public void logScreenViewPageName(final String logicalPageName, final Promise promise) {
|
|
411
|
-
final boolean result = Connect.INSTANCE.logScreenview(Objects.requireNonNull(getCurrentActivity()), logicalPageName, ScreenviewType.LOAD);
|
|
412
|
-
updateResult(result, promise);
|
|
413
|
-
}
|
|
414
|
-
|
|
415
403
|
/**
|
|
416
404
|
* Requests that the framework logs an screen load event.
|
|
417
405
|
*
|
package/ios/RNCxa.m
CHANGED
|
@@ -299,17 +299,6 @@ RCT_EXPORT_METHOD(setCurrentScreenName:(NSString*)logicalPageName resolver:(RCTP
|
|
|
299
299
|
});
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
/*!
|
|
303
|
-
@discussion Requests that the framework logs an application context for load.
|
|
304
|
-
@param logicalPageName - Page name or title e.g. "Login View Controller"; Must not be empty.
|
|
305
|
-
@param referrer - Page name or title that loads logicalPageName. Could be empty.
|
|
306
|
-
@return Boolean value will return whether it was able to log the screenview event.
|
|
307
|
-
*/
|
|
308
|
-
RCT_EXPORT_METHOD(logScreenViewPageName:(NSString*)logicalPageName resolver:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) {
|
|
309
|
-
id result = [NSNumber numberWithBool:[[ConnectCustomEvent sharedInstance] logScreenViewPageName:logicalPageName]];
|
|
310
|
-
[self updateResult:result resolver:resolve rejecter:reject];
|
|
311
|
-
}
|
|
312
|
-
|
|
313
302
|
/*!
|
|
314
303
|
@discussion Requests that the framework logs an application context for load.
|
|
315
304
|
@param logicalPageName - Page name or title e.g. "Login View Controller"; Must not be empty.
|
package/package.json
CHANGED
package/scripts/javaParser.js
CHANGED
|
@@ -46,9 +46,9 @@ const javaCode = `public boolean dispatchTouchEvent(MotionEvent e) {
|
|
|
46
46
|
return super.dispatchTouchEvent(e);
|
|
47
47
|
}`;
|
|
48
48
|
|
|
49
|
-
const javaCode2 =`${upperJavaCode}\nimport com.
|
|
49
|
+
const javaCode2 =`${upperJavaCode}\nimport com.acoustic.connect.android.connectmod.Connect;`
|
|
50
50
|
const re = new RegExp(/dispatchTouchEvent/, "g");
|
|
51
|
-
const re2 = new RegExp("import com.
|
|
51
|
+
const re2 = new RegExp("import com.acoustic.connect.android.connectmod.Connect", "g");
|
|
52
52
|
const found = re.test(javaData);
|
|
53
53
|
|
|
54
54
|
if (!found) {
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"Tealeaf": {
|
|
3
|
-
"AppKey": "b6c3709b7a4c479bb4b5a9fb8fec324c",
|
|
4
|
-
"PostMessageUrl": "https://lib-us-2.brilliantcollector.com/collector/collectorPost",
|
|
5
|
-
"KillSwitchUrl": "https://lib-us-2.brilliantcollector.com/collector/switch/b6c3709b7a4c479bb4b5a9fb8fec324c",
|
|
6
|
-
"useRelease": false,
|
|
7
|
-
"SessionTimeout": 30,
|
|
8
|
-
"LogViewLayoutOnScreenTransition": true,
|
|
9
|
-
"PercentToCompressImage": 80,
|
|
10
|
-
"PercentOfScreenshotsSize": 40,
|
|
11
|
-
"ScreenShotPixelDensity": 2,
|
|
12
|
-
"MaxStringsLength": 300,
|
|
13
|
-
"layoutConfig": {
|
|
14
|
-
"AutoLayout": {
|
|
15
|
-
"GlobalScreenSettings": {
|
|
16
|
-
"ScreenChange": true,
|
|
17
|
-
"DisplayName": "Default name",
|
|
18
|
-
"CaptureLayoutDelay": 1,
|
|
19
|
-
"ScreenShot": true,
|
|
20
|
-
"NumberOfWebViews": 0,
|
|
21
|
-
"CaptureUserEvents": true,
|
|
22
|
-
"CaptureScreenVisits": true,
|
|
23
|
-
"CaptureLayoutOn": 2,
|
|
24
|
-
"CaptureScreenshotOn": 2
|
|
25
|
-
},
|
|
26
|
-
"MainActivity": {
|
|
27
|
-
"ScreenChange": true,
|
|
28
|
-
"DisplayName": "Home",
|
|
29
|
-
"CaptureLayoutOn": 2,
|
|
30
|
-
"Masking": {
|
|
31
|
-
"HasMasking": true,
|
|
32
|
-
"HasCustomMask": true,
|
|
33
|
-
"Sensitive": {
|
|
34
|
-
"capitalCaseAlphabet": "X",
|
|
35
|
-
"number": "9",
|
|
36
|
-
"smallCaseAlphabet": "x",
|
|
37
|
-
"symbol": "#"
|
|
38
|
-
},
|
|
39
|
-
"MaskIdList": [],
|
|
40
|
-
"MaskValueList": [],
|
|
41
|
-
"MaskAccessibilityIdList": [],
|
|
42
|
-
"MaskAccessibilityLabelList": [
|
|
43
|
-
"Masking",
|
|
44
|
-
"Test Masking",
|
|
45
|
-
"password"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"Button": {
|
|
50
|
-
"ScreenChange": true,
|
|
51
|
-
"DisplayName": "Visible",
|
|
52
|
-
"CaptureLayoutDelay": 500,
|
|
53
|
-
"ScreenShot": true,
|
|
54
|
-
"NumberOfWebViews": 0,
|
|
55
|
-
"CaptureUserEvents": true,
|
|
56
|
-
"CaptureScreenVisits": true,
|
|
57
|
-
"CaptureLayoutOn": 2,
|
|
58
|
-
"CaptureScreenshotOn": 2
|
|
59
|
-
},
|
|
60
|
-
"ErrorTest": {
|
|
61
|
-
"ScreenChange": false,
|
|
62
|
-
"DisplayName": "Hidden",
|
|
63
|
-
"CaptureLayoutDelay": 1,
|
|
64
|
-
"ScreenShot": false,
|
|
65
|
-
"NumberOfWebViews": 0,
|
|
66
|
-
"CaptureUserEvents": false,
|
|
67
|
-
"CaptureScreenVisits": false,
|
|
68
|
-
"CaptureLayoutOn": 0,
|
|
69
|
-
"CaptureScreenshotOn": 0
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"AppendMapIds": {
|
|
73
|
-
"[w,9290],[v,0]": {
|
|
74
|
-
"mid": "ASimpleUIView"
|
|
75
|
-
},
|
|
76
|
-
"tag2999999": {
|
|
77
|
-
"mid": "giveAdditionalId1"
|
|
78
|
-
},
|
|
79
|
-
"idxPathValue": {
|
|
80
|
-
"mid": "giveAdditionalId2"
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|