Skip to content

Commit fdad664

Browse files
typo fix
2 parents 38ac479 + cc4c041 commit fdad664

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

Countly.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Countly.disablePushNotifications = function(){
142142
/**
143143
*
144144
* Set messaging mode for push notifications
145-
* Should be call before Countly init
145+
* Should be called before Countly init
146146
*/
147147
Countly.pushTokenType = function(tokenType, channelName, channelDescription){
148148
var args = [];
@@ -159,7 +159,7 @@ Countly.sendPushToken = function(options){
159159

160160
/**
161161
* This method will ask for permission, enables push notification and send push token to countly server.
162-
* Should be call after Countly init
162+
* Should be called after Countly init
163163
*/
164164
Countly.askForNotificationPermission = function(){
165165
CountlyReactNative.askForNotificationPermission([]);
@@ -187,7 +187,7 @@ Countly.stop = function(){
187187

188188
/**
189189
* Enable countly internal debugging logs
190-
* Should be call before Countly init
190+
* Should be called before Countly init
191191
*
192192
* @deprecated in 20.04.6
193193
*
@@ -211,7 +211,7 @@ Countly.disableLogging = function(){
211211

212212
/**
213213
* Set to true if you want to enable countly internal debugging logs
214-
* Should be call before Countly init
214+
* Should be called before Countly init
215215
*/
216216
Countly.setLoggingEnabled = function(enabled = true){
217217
CountlyReactNative.setLoggingEnabled([enabled]);
@@ -231,7 +231,7 @@ Countly.demo = function(){
231231

232232
/**
233233
* Set user initial location
234-
* Should be call before init
234+
* Should be called before init
235235
* @param {ISO Country code for the user's country} countryCode
236236
* @param {Name of the user's city} city
237237
* @param {comma separate lat and lng values. For example, "56.42345,123.45325"} location
@@ -261,7 +261,7 @@ Countly.disableLocation = function(){
261261
/**
262262
*
263263
* Get currently used device Id.
264-
* Should be call after Countly init
264+
* Should be called after Countly init
265265
* */
266266
Countly.getCurrentDeviceId = async function(){
267267
if(!await Countly.isInitialized()) {
@@ -287,7 +287,7 @@ Countly.changeDeviceId = function(newDeviceID, onServer){
287287
/**
288288
*
289289
* Set to "true" if you want HTTP POST to be used for all requests
290-
* Should be call before Countly init
290+
* Should be called before Countly init
291291
*/
292292
Countly.setHttpPostForced = function(boolean = true){
293293
var args = [];
@@ -298,7 +298,7 @@ Countly.setHttpPostForced = function(boolean = true){
298298
Countly.isCrashReportingEnabled = false;
299299
/**
300300
* Enable crash reporting to report unhandled crashes to Countly
301-
* Should be call before Countly init
301+
* Should be called before Countly init
302302
*/
303303
Countly.enableCrashReporting = async function(){
304304
if (ErrorUtils && !Countly.isCrashReportingEnabled) {
@@ -378,7 +378,7 @@ Countly.endSession = function(){
378378
/**
379379
*
380380
* Set the optional salt to be used for calculating the checksum of requested data which will be sent with each request, using the &checksum field
381-
* Should be call before Countly init
381+
* Should be called before Countly init
382382
*/
383383
Countly.enableParameterTamperingProtection = function(salt){
384384
CountlyReactNative.enableParameterTamperingProtection([salt.toString() || ""]);
@@ -387,7 +387,7 @@ Countly.enableParameterTamperingProtection = function(salt){
387387
/**
388388
*
389389
* It will ensure that connection is made with one of the public keys specified
390-
* Should be call before Countly init
390+
* Should be called before Countly init
391391
*/
392392
Countly.pinnedCertificates = function(certificateName){
393393
CountlyReactNative.pinnedCertificates([certificateName || ""]);
@@ -495,7 +495,7 @@ Countly.userData.pullValue = function(keyName, keyValue){
495495
/**
496496
*
497497
* Set that consent should be required for features to work.
498-
* Should be call before Countly init
498+
* Should be called before Countly init
499499
*/
500500
Countly.setRequiresConsent = function(flag){
501501
CountlyReactNative.setRequiresConsent([flag]);
@@ -515,7 +515,7 @@ Countly.giveConsent = function(args){
515515
/**
516516
*
517517
* Give consent for specific features before init.
518-
* Should be call after Countly init
518+
* Should be called after Countly init
519519
*/
520520
Countly.giveConsentInit = async function(args){
521521
var features = [];
@@ -547,7 +547,7 @@ Countly.removeConsent = function(args){
547547
/**
548548
*
549549
* Give consent for all features
550-
* Should be call after Countly init
550+
* Should be called after Countly init
551551
*/
552552
Countly.giveAllConsent = function(){
553553
CountlyReactNative.giveAllConsent();
@@ -723,7 +723,7 @@ Countly.presentFeedbackWidget = function(widgetType, widgetId, closeButtonText){
723723
/**
724724
*
725725
* Events get grouped together and are sent either every minute or after the unsent event count reaches a threshold. By default it is 10
726-
* Should be call before Countly init
726+
* Should be called before Countly init
727727
*/
728728
Countly.setEventSendThreshold = function(size){
729729
CountlyReactNative.setEventSendThreshold([size.toString() || ""]);
@@ -772,7 +772,7 @@ Countly.recordNetworkTrace = function(networkTraceKey, responseCode, requestPayl
772772
/**
773773
*
774774
* Enable APM features, which includes the recording of app start time.
775-
* Should be call before Countly init
775+
* Should be called before Countly init
776776
*/
777777
Countly.enableApm = function(){
778778
var args = [];
@@ -783,7 +783,7 @@ Countly.enableApm = function(){
783783
*
784784
* Enable campaign attribution reporting to Countly.
785785
* For iOS use "recordAttributionID" instead of "enableAttribution"
786-
* Should be call before Countly init
786+
* Should be called before Countly init
787787
*/
788788
Countly.enableAttribution = async function(attributionID = "") {
789789
if (Platform.OS.match("ios")) {
@@ -832,7 +832,7 @@ Countly.removeDifferentAppKeysFromQueue = function(){
832832

833833
/**
834834
* Call this function when app is loaded, so that the app launch duration can be recorded.
835-
* Should be call after init.
835+
* Should be called after init.
836836
*/
837837
Countly.appLoadingFinished = async function(){
838838
if(!await Countly.isInitialized()) {

0 commit comments

Comments
 (0)