countly-sdk-react-native-bridge
Advanced tools
Comparing version 20.4.2 to 20.4.3
@@ -305,2 +305,5 @@ /** | ||
} | ||
Countly.pinnedCertificates = function(certificateName){ | ||
CountlyReactNative.pinnedCertificates([certificateName || ""]); | ||
} | ||
Countly.startEvent = function(eventName){ | ||
@@ -307,0 +310,0 @@ CountlyReactNative.startEvent([eventName.toString() || ""]); |
@@ -28,2 +28,3 @@ import React, { Component } from 'react'; | ||
this.enableParameterTamperingProtection = this.enableParameterTamperingProtection.bind(this); | ||
this.pinnedCertificates = this.pinnedCertificates.bind(this); | ||
}; | ||
@@ -209,3 +210,5 @@ | ||
}; | ||
pinnedCertificates(){ | ||
Countly.pinnedCertificates("count.ly.cer"); | ||
} | ||
setRequiresConsent(){ | ||
@@ -494,2 +497,3 @@ Countly.setRequiresConsent(true); | ||
< Button onPress = { this.pinnedCertificates } title = "Pinned Certificates" color = "#00b5ad"> </Button> | ||
< Button onPress = { this.enableParameterTamperingProtection } title = "Enable Parameter Tapmering Protection" color = "#00b5ad"> </Button> | ||
@@ -496,0 +500,0 @@ < Button onPress = { this.setRequiresConsent } title = "Init Consent" color = "#00b5ad"> </Button> |
{ | ||
"name": "countly-sdk-react-native-bridge", | ||
"version": "20.4.2", | ||
"version": "20.4.3", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Trinisoft Technologies", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
233758
40
2045