@@ -277,7 +277,7 @@ function initSdkCallback(options, successC, errorC) {
277277 return RNAppsFlyer . initSdkWithCallBack ( options , successC , errorC ) ;
278278}
279279
280- function initSdkPromise ( options ) : Promise < string > {
280+ function initSdkPromise ( options ) {
281281 if (
282282 typeof options . appId !== "string" &&
283283 typeof options . appId !== "undefined"
@@ -293,7 +293,7 @@ function initSdkPromise(options): Promise<string> {
293293 return RNAppsFlyer . initSdkWithPromise ( options ) ;
294294}
295295
296- function initSdk ( options , success , error ) : Promise < string > {
296+ function initSdk ( options , success , error ) {
297297 if ( success && error ) {
298298 //initSdk is a callback function
299299 initSdkCallback ( options , success , error ) ;
@@ -309,11 +309,11 @@ function logEventCallback(eventName, eventValues, successC, errorC) {
309309 return RNAppsFlyer . logEvent ( eventName , eventValues , successC , errorC ) ;
310310}
311311
312- function logEventPromise ( eventName , eventValues ) : Promise < string > {
312+ function logEventPromise ( eventName , eventValues ) {
313313 return RNAppsFlyer . logEventWithPromise ( eventName , eventValues ) ;
314314}
315315
316- function logEvent ( eventName , eventValues , success , error ) : Promise < string > {
316+ function logEvent ( eventName , eventValues , success , error ) {
317317 if ( success && error ) {
318318 //logEvent is a callback function
319319 logEventCallback ( eventName , eventValues , success , error ) ;
@@ -437,7 +437,7 @@ appsFlyer.updateServerUninstallToken = (token, successC) => {
437437} ;
438438
439439/**
440- * Setting your own customer ID enables you to cross-reference your own unique ID with AppsFlyer’ s unique ID and the other devices’ IDs.
440+ * Setting your own customer ID enables you to cross-reference your own unique ID with AppsFlyer' s unique ID and the other devices' IDs.
441441 * This ID is available in AppsFlyer CSV reports along with Postback APIs for cross-referencing with your internal IDs.
442442 *
443443 * @param {string } userId Customer ID for client.
0 commit comments