react-native-ux-cam
Advanced tools
Comparing version 1.3.0 to 1.4.0
{ | ||
"name": "react-native-ux-cam", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "React Native wrapper for uxcam.com.", | ||
@@ -5,0 +5,0 @@ "main": "./src/UXCam.js", |
@@ -56,2 +56,11 @@ # react-native-ux-cam | ||
// Add a custom tag with properties. | ||
UXCam.addTag('logged-in', { | ||
isLoggedIn: true, | ||
isAwesome: true, | ||
}); | ||
// Mark a user as a favorite. | ||
UXCam.markUserAsFavorite(); | ||
// Get the url for the current user. Useful for connecting to other | ||
@@ -58,0 +67,0 @@ // analytics services. |
@@ -10,2 +10,5 @@ // Libraries | ||
// -------------------------------------------------- | ||
// Initialize | ||
// -------------------------------------------------- | ||
startWithKey(key) { | ||
@@ -19,2 +22,5 @@ return RNUXCam.startWithKey(key); | ||
// -------------------------------------------------- | ||
// Occlude | ||
// -------------------------------------------------- | ||
occludeSensitiveScreen(shouldOcclude) { | ||
@@ -24,2 +30,5 @@ return RNUXCam.occludeSensitiveScreen(shouldOcclude); | ||
// -------------------------------------------------- | ||
// Tags | ||
// -------------------------------------------------- | ||
tagScreenName(screenName) { | ||
@@ -35,2 +44,13 @@ return RNUXCam.tagScreenName(screenName); | ||
addTag(tag, properties = {}) { | ||
return RNUXCam.addTag(tag, properties); | ||
} | ||
markUserAsFavorite() { | ||
return RNUXCam.markUserAsFavorite(); | ||
} | ||
// -------------------------------------------------- | ||
// URLs | ||
// -------------------------------------------------- | ||
urlForCurrentUser() { | ||
@@ -37,0 +57,0 @@ return RNUXCam.urlForCurrentUser(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
169750
48
83