@@ -43,6 +43,7 @@ var Adjust = {
4343 } ;
4444
4545 registerIfPresent ( adjustConfig . attributionCallbackName , adjustConfig . attributionCallbackFunction ) ;
46+ registerIfPresent ( adjustConfig . thirdPartySharingSettingsChangedCallbackName , adjustConfig . thirdPartySharingSettingsChangedCallbackFunction ) ;
4647 registerIfPresent ( adjustConfig . eventSuccessCallbackName , adjustConfig . eventSuccessCallbackFunction ) ;
4748 registerIfPresent ( adjustConfig . eventFailureCallbackName , adjustConfig . eventFailureCallbackFunction ) ;
4849 registerIfPresent ( adjustConfig . sessionSuccessCallbackName , adjustConfig . sessionSuccessCallbackFunction ) ;
@@ -61,6 +62,7 @@ var Adjust = {
6162 } ;
6263
6364 registerInternal ( adjustConfig . attributionCallbackName , adjustConfig . adjust_attributionCallback ) ;
65+ registerInternal ( adjustConfig . thirdPartySharingSettingsChangedCallbackName , adjustConfig . adjust_thirdPartySharingSettingsChangedCallback ) ;
6466 registerInternal ( adjustConfig . eventSuccessCallbackName , adjustConfig . adjust_eventSuccessCallback ) ;
6567 registerInternal ( adjustConfig . eventFailureCallbackName , adjustConfig . adjust_eventFailureCallback ) ;
6668 registerInternal ( adjustConfig . sessionSuccessCallbackName , adjustConfig . adjust_sessionSuccessCallback ) ;
@@ -343,6 +345,14 @@ var Adjust = {
343345 }
344346 } ,
345347
348+ getThirdPartySharingSettingsWithTimeout : function ( timeoutInMilliSec , callback ) {
349+ if ( AdjustBridge ) {
350+ const callbackId = window . randomCallbackIdWithPrefix ( "adjust_getThirdPartySharingSettingsWithTimeout" ) ;
351+ this . _handleGetterCallback ( callback , callbackId ) ;
352+ this . _callBridge ( 'getThirdPartySharingSettingsWithTimeout' , [ timeoutInMilliSec , callbackId ] ) ;
353+ }
354+ } ,
355+
346356 getSdkVersion : function ( callback ) {
347357 if ( AdjustBridge ) {
348358 const callbackId = window . randomCallbackIdWithPrefix ( "adjust_getSdkVersion" ) ;
@@ -359,7 +369,7 @@ var Adjust = {
359369 if ( this . adjustConfig ) {
360370 return this . adjustConfig . getSdkPrefix ( ) ;
361371 } else {
362- return 'web-bridge5.6.1 ' ;
372+ return 'web-bridge5.7.0 ' ;
363373 }
364374 } ,
365375
0 commit comments