nativescript-uxcam
Advanced tools
+1
-0
@@ -7,2 +7,3 @@ # Changelog | ||
| ---------- | ---------- | ---------- | ||
| 1.0.2 | 2023-07-13 | Fixed few native methods not working correctly issue | ||
| 1.0.1 | 2023-03-03 | Added option for configuration and occlusion while startup | ||
@@ -9,0 +10,0 @@ 1.0.0 | 2021-05-24 | First full release |
+13
-5
@@ -14,3 +14,3 @@ var UXCam = com.uxcam.UXCam | ||
| const PLUGIN_NAME = "nativescript"; | ||
| const PLUGIN_VERSION = "1.0.1"; | ||
| const PLUGIN_VERSION = "1.0.2"; | ||
@@ -221,4 +221,8 @@ export class NSUXCam { | ||
| static logEvent(eventName, properties) { | ||
| if(typeof properties !== "undefined" || properties !== null){ | ||
| UXCam.logEvent(eventName, properties); | ||
| if(typeof properties != "undefined" || properties != null){ | ||
| if(properties instanceof Map){ | ||
| UXCam.logEvent(eventName, new org.json.JSONObject(JSON.stringify(Object.fromEntries(properties)))); | ||
| } else if(properties instanceof Object){ | ||
| UXCam.logEvent(eventName, new org.json.JSONObject(JSON.stringify(properties))); | ||
| } | ||
| }else{ | ||
@@ -548,4 +552,8 @@ UXCam.logEvent(eventName); | ||
| static reportBugEvent(eventName, properties){ | ||
| if(typeof properties !== "undefined" || properties !== null){ | ||
| UXCam.reportBugEvent(eventName, properties); | ||
| if(typeof properties != "undefined" || properties != null){ | ||
| if(properties instanceof Map){ | ||
| UXCam.reportBugEvent(eventName, new org.json.JSONObject(JSON.stringify(Object.fromEntries(properties)))); | ||
| } else if(properties instanceof Object){ | ||
| UXCam.reportBugEvent(eventName, new org.json.JSONObject(JSON.stringify(properties))); | ||
| } | ||
| }else{ | ||
@@ -552,0 +560,0 @@ UXCam.reportBugEvent(eventName); |
+8
-7
| const PLUGIN_NAME = "nativescript"; | ||
| const PLUGIN_VERSION = "1.0.1"; | ||
| const PLUGIN_VERSION = "1.0.2"; | ||
@@ -137,6 +137,7 @@ export class NSUXCam { | ||
| static occludeSensitiveScreen(hideScreen, hideGesture) { | ||
| console.log("called occlude screen"); | ||
| if(typeof hideGesture !== "undefined"){ | ||
| UXCam.occludeSensitiveScreen(hideScreen, hideGesture); | ||
| UXCam.occludeSensitiveScreenHideGestures(hideScreen, hideGesture); | ||
| }else{ | ||
| UXCam.occludeSensitiveScreen(hideScreen, true); | ||
| UXCam.occludeSensitiveScreen(hideScreen); | ||
| } | ||
@@ -175,3 +176,3 @@ } | ||
| static setUserProperty(propertyName, value) { | ||
| UXCam.setUserProperty(propertyName, value); | ||
| UXCam.setUserPropertyValue(propertyName, value); | ||
| } | ||
@@ -188,3 +189,3 @@ | ||
| static setSessionProperty(propertyName, value) { | ||
| UXCam.setSessionProperty(propertyName, value); | ||
| UXCam.setSessionPropertyValue(propertyName, value); | ||
| } | ||
@@ -202,3 +203,3 @@ | ||
| if(typeof properties !== "undefined" || properties !== null){ | ||
| UXCam.logEvent(eventName, properties); | ||
| UXCam.logEventWithProperties(eventName, properties); | ||
| }else{ | ||
@@ -525,3 +526,3 @@ UXCam.logEvent(eventName); | ||
| if(typeof properties !== "undefined" || properties !== null){ | ||
| UXCam.reportBugEvent(eventName, properties); | ||
| UXCam.reportBugEventProperties(eventName, properties); | ||
| }else{ | ||
@@ -528,0 +529,0 @@ UXCam.reportBugEvent(eventName); |
+1
-1
| { | ||
| "name": "nativescript-uxcam", | ||
| "version": "1.0.1", | ||
| "version": "1.0.2", | ||
| "description": "NativeScript plugin for UXCam.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -12,3 +12,19 @@ | ||
| dependencies { | ||
| implementation 'com.uxcam:uxcam:3.6.0' | ||
| implementation ('com.uxcam:uxcam:3.6.10'){ | ||
| exclude group: 'com.uxcam', module:'screenshot' | ||
| } | ||
| implementation ('com.uxcam:screenshot:1.0.11'){ | ||
| exclude group: 'com.uxcam', module:'screenaction' | ||
| exclude group: 'androidx.core', module:'core-ktx' | ||
| } | ||
| implementation ('com.uxcam:screenaction:1.0.8'){ | ||
| exclude group: 'androidx.core', module:'core-ktx' | ||
| exclude group: 'androidx.appcompat', module:'appcompat' | ||
| exclude group: 'com.google.android.material', module:'material' | ||
| exclude group: 'androidx.compose.ui', module:'ui' | ||
| exclude group: 'androidx.compose.ui', module:'ui-tooling' | ||
| exclude group: 'androidx.compose.ui', module:'ui-tooling-data' | ||
| } | ||
| } |
@@ -1,1 +0,1 @@ | ||
| pod 'UXCam', '~> 3.5.3' | ||
| pod 'UXCam', '~> 3.6.4' |
@@ -140,3 +140,3 @@ | ||
| declare class UXCamBlurSetting extends NSObject implements UXCamOcclusionSetting { | ||
| declare class UXCamBlurSetting extends NSObject implements UXCamOcclusionSetting, UXGestureRecordable { | ||
@@ -159,3 +159,3 @@ static alloc(): UXCamBlurSetting; // inherited from NSObject | ||
| hideGestures: boolean; // inherited from UXCamOcclusionSetting | ||
| hideGestures: boolean; // inherited from UXGestureRecordable | ||
@@ -242,4 +242,2 @@ readonly isProxy: boolean; // inherited from NSObjectProtocol | ||
| hideGestures: boolean; // inherited from UXCamOcclusionSetting | ||
| readonly isProxy: boolean; // inherited from NSObjectProtocol | ||
@@ -345,4 +343,2 @@ | ||
| hideGestures: boolean; | ||
| type: UXOcclusionType; | ||
@@ -355,3 +351,3 @@ } | ||
| declare class UXCamOverlaySetting extends NSObject implements UXCamOcclusionSetting { | ||
| declare class UXCamOverlaySetting extends NSObject implements UXCamOcclusionSetting, UXGestureRecordable { | ||
@@ -372,3 +368,3 @@ static alloc(): UXCamOverlaySetting; // inherited from NSObject | ||
| hideGestures: boolean; // inherited from UXCamOcclusionSetting | ||
| hideGestures: boolean; // inherited from UXGestureRecordable | ||
@@ -433,2 +429,11 @@ readonly isProxy: boolean; // inherited from NSObjectProtocol | ||
| interface UXGestureRecordable extends NSObjectProtocol { | ||
| hideGestures: boolean; | ||
| } | ||
| declare var UXGestureRecordable: { | ||
| prototype: UXGestureRecordable; | ||
| }; | ||
| declare const enum UXOcclusionCategory { | ||
@@ -435,0 +440,0 @@ |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
81001
1.9%1542
0.85%0
-100%