Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nativescript-uxcam

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-uxcam - npm Package Compare versions

Comparing version 1.0.0-beta.3 to 1.0.0-beta.4

8

CHANGELOG.md
# Changelog
## [1.0.0-beta.4] - 2021-04-05
- Session not recording issue (Android) fixed
- iOS SDK updated to v3.3.4
## [1.0.0-beta.3] - 2021-03-19
- Force iOS version 10.0 in project and Podfile - UXCam requires 10.0+ on iOS
- Force iOS version 10.0 in project and Podfile
- UXCam requires 10.0+ on iOS

@@ -7,0 +13,0 @@ ## [1.0.0-beta.2] - 2021-02-25

57

index.android.js

@@ -11,10 +11,10 @@ var UXCam = com.uxcam.UXCam

static startWithKey(apiKey) {
if (UXCam){
if (UXCam) {
var context = applicationModule.android.startActivity;
if (context){
UXCam.startApplicationWithKeyForCordova(context, apiKey);
}else{
if (context) {
UXCam.startWithKey(apiKey);
} else {
console.log("UXCam: Cannot get application context");
}
}else{
} else {
console.log("UXCam: Cannot find UXCam package");

@@ -33,3 +33,3 @@ }

static urlForCurrentSession() {
return UXCam.urlForCurrentSession();
return UXCam.urlForCurrentSession();
}

@@ -44,7 +44,6 @@

UXCam.occludeSensitiveScreen(hideScreen, hideGesture);
}
else {
} else {
UXCam.occludeSensitiveScreen(hideScreen);
}
}

@@ -72,7 +71,7 @@

static logEventWithProperties(eventName, properties){
static logEventWithProperties(eventName, properties) {
var androidProps = new org.json.JSONObject();
for (var key in properties) {
androidProps.put(key + "", properties[key] + "");
}
for (var key in properties) {
androidProps.put(key + "", properties[key] + "");
}
UXCam.logEvent(eventName, androidProps)

@@ -117,3 +116,3 @@ }

static optInVideoRecordingStatus(){
static optInVideoRecordingStatus() {
return UXCam.optInVideoRecordingStatus();

@@ -158,4 +157,4 @@ }

static occludeSensitiveView(sensitiveView){
if (sensitiveView){
static occludeSensitiveView(sensitiveView) {
if (sensitiveView) {
UXCam.occludeSensitiveView(sensitiveView.nativeView);

@@ -165,10 +164,10 @@ }

static unOccludeSensitiveView(sensitiveView){
if (sensitiveView){
static unOccludeSensitiveView(sensitiveView) {
if (sensitiveView) {
UXCam.unOccludeSensitiveView(sensitiveView.nativeView);
}
}
static occludeSensitiveViewWithoutGesture(sensitiveView){
if (sensitiveView){
static occludeSensitiveViewWithoutGesture(sensitiveView) {
if (sensitiveView) {
UXCam.occludeSensitiveViewWithoutGesture(sensitiveView.nativeView);

@@ -186,15 +185,15 @@ }

static addScreenNameToIgnore(screenName){
static addScreenNameToIgnore(screenName) {
UXCam.addScreenNameToIgnore(screenName);
}
static addScreenNamesToIgnore(screenName){
static addScreenNamesToIgnore(screenName) {
UXCam.addScreenNamesToIgnore(screenName);
}
static removeScreenNameToIgnore(screenName){
static removeScreenNameToIgnore(screenName) {
UXCam.removeScreenNameToIgnore(screenName);
}
static removeScreenNamesToIgnore(screenName){
static removeScreenNamesToIgnore(screenName) {
UXCam.removeScreenNamesToIgnore(screenName);

@@ -221,7 +220,7 @@ }

var androidProps = new org.json.JSONObject();
for (var key in properties) {
androidProps.put(key + "", properties[key] + "");
}
for (var key in properties) {
androidProps.put(key + "", properties[key] + "");
}
UXCam.reportBugEvent(eventName, androidProps)
}
}
}
{
"name": "nativescript-uxcam",
"version": "1.0.0-beta.3",
"version": "1.0.0-beta.4",
"description": "NativeScript plugin for UXCam.",

@@ -23,7 +23,7 @@ "license": "MIT",

"ios",
"analytics",
"session-analytics",
"analytics",
"session-analytics",
"user-sessions",
"ux"
]
}
}
# NativeScript UXCam
## Installation
`tns plugin add nativescript-uxcam`

@@ -13,3 +14,3 @@

```javascript
import { NSUXCam } from 'nativescript-uxcam';
import {NSUXCam} from 'nativescript-uxcam';

@@ -27,4 +28,5 @@ NSUXCam.optIntoSchematicRecordings();

// Angular - replace <elementRefToOcclude> with your element reference after page is loaded
const sensitiveView = this.<elementRefToOcclude>.nativeElement;
NSUXCam.occludeSensitiveView(sensitiveView);
const sensitiveView = this.
<elementRefToOcclude>.nativeElement;
NSUXCam.occludeSensitiveView(sensitiveView);
```

@@ -78,2 +80,2 @@

reportBugEvent | Send a report of a problem your app encountered to be displayed in the dashboard
reportBugEventProperties | Send bug event with associated properties
reportBugEventProperties | Send bug event with associated properties

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc