countly-sdk-react-native-bridge
Advanced tools
Comparing version 19.2.7 to 19.2.8
@@ -24,14 +24,22 @@ /** | ||
// countly initialization | ||
Countly.init = function(serverUrl,appKey, deviceId, starRatingLimit, titleText, messageText, buttonText,consentFlag){ | ||
Countly.init = function(serverUrl, | ||
appKey, | ||
deviceId = "", | ||
starRatingAutoSessionCount = "0", | ||
starRatingTitle = "Rate us.", | ||
starRatingMessage = "How would you rate the app?", | ||
starRatingButtonText = "Dismiss", | ||
consentFlag = false | ||
){ | ||
Countly.serverUrl = serverUrl; | ||
Countly.appKey = appKey; | ||
var args = []; | ||
args.push(serverUrl || ""); | ||
args.push(appKey || ""); | ||
args.push(deviceId || ""); | ||
args.push(starRatingLimit || "5"); | ||
args.push(titleText || "Rate us."); | ||
args.push(messageText || "How would you rate the app?"); | ||
args.push(buttonText || "Dismiss"); | ||
args.push(consentFlag || false); | ||
args.push(serverUrl); | ||
args.push(appKey); | ||
args.push(deviceId); | ||
args.push(starRatingAutoSessionCount); | ||
args.push(starRatingTitle); | ||
args.push(starRatingMessage); | ||
args.push(starRatingButtonText); | ||
args.push(consentFlag); | ||
@@ -96,3 +104,2 @@ CountlyReactNative.init(args); | ||
// countly enable logger | ||
Countly.setViewTracking = function(boolean){ | ||
@@ -99,0 +106,0 @@ CountlyReactNative.setViewTracking([boolean || "false"]); |
{ | ||
"name": "countly-sdk-react-native-bridge", | ||
"version": "19.2.7", | ||
"version": "19.2.8", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Trinisoft Technologies", |
484554
1635