react-native-ux-cam
Advanced tools
Comparing version 1.2.0 to 1.3.0
{ | ||
"name": "react-native-ux-cam", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "React Native wrapper for uxcam.com.", | ||
@@ -5,0 +5,0 @@ "main": "./src/UXCam.js", |
@@ -56,2 +56,9 @@ # react-native-ux-cam | ||
// Get the url for the current user. Useful for connecting to other | ||
// analytics services. | ||
const currentUserUrl = UXCam.urlForCurrentUser(); | ||
// Get the url for the current session. | ||
const currentSessionUrl = UXCam.urlForCurrentSession(); | ||
// Hide a sensitive screen. | ||
@@ -58,0 +65,0 @@ UXCam.occludeSensitiveScreen(true); |
@@ -32,2 +32,10 @@ // Libraries | ||
urlForCurrentUser() { | ||
return RNUXCam.urlForCurrentUser(); | ||
} | ||
urlForCurrentSession() { | ||
return RNUXCam.urlForCurrentSession(); | ||
} | ||
} | ||
@@ -34,0 +42,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
168587
30
74