File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed
test-app-core/src/main/java/com/adjust/testapp
test-app-webbridge/src/main/assets Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 2323import com .adjust .sdk .AdjustPurchaseVerificationResult ;
2424import com .adjust .sdk .AdjustSessionFailure ;
2525import com .adjust .sdk .AdjustSessionSuccess ;
26+ import com .adjust .sdk .AdjustStoreInfo ;
2627import com .adjust .sdk .AdjustTestOptions ;
2728import com .adjust .sdk .AdjustThirdPartySharing ;
2829import com .adjust .sdk .LogLevel ;
@@ -331,6 +332,18 @@ private void config() {
331332 }
332333 }
333334
335+ if (command .containsParameter ("storeName" )) {
336+ AdjustStoreInfo storeInfo ;
337+ String storeName = command .getFirstParameterValue ("storeName" );
338+ storeInfo = new AdjustStoreInfo (storeName );
339+
340+ if (command .containsParameter ("storeAppId" )) {
341+ String storeAppId = command .getFirstParameterValue ("storeAppId" );
342+ storeInfo .setStoreAppId (storeAppId );
343+ }
344+ adjustConfig .setStoreInfo (storeInfo );
345+ }
346+
334347 if (command .containsParameter ("deferredDeeplinkCallback" )) {
335348 adjustConfig .setOnDeferredDeeplinkResponseListener (new OnDeferredDeeplinkResponseListener () {
336349 @ Override
Original file line number Diff line number Diff line change 1111 < script type ="text/javascript " src ="adjust_event.js "> </ script >
1212 < script type ="text/javascript " src ="adjust_third_party_sharing.js "> </ script >
1313 < script type ="text/javascript " src ="adjust_config.js "> </ script >
14+ < script type ="text/javascript " src ="adjust_store_info.js "> </ script >
1415 < script type ="text/javascript " src ="adjust.js "> </ script >
1516 < script type ="text/javascript " src ="test_library.js "> </ script >
1617 < script type ="text/javascript " src ="command_executor.js "> </ script >
Original file line number Diff line number Diff line change @@ -343,6 +343,18 @@ AdjustCommandExecutor.prototype.config = function(params) {
343343 }
344344 }
345345
346+ if ( 'storeName' in params ) {
347+ var storeInfo ;
348+ var storeName = getFirstParameterValue ( params , 'storeName' ) ;
349+ storeInfo = new AdjustStoreInfo ( storeName ) ;
350+
351+ if ( 'storeAppId' in params ) {
352+ var storeAppId = getFirstParameterValue ( params , 'storeAppId' ) ;
353+ storeInfo . setStoreAppId ( storeAppId ) ;
354+ }
355+ adjustConfig . setStoreInfo ( storeInfo ) ;
356+ }
357+
346358 if ( 'attributionCallbackSendAll' in params ) {
347359 var basePath = this . basePath ;
348360 adjustConfig . setAttributionCallback ( function ( attribution ) {
You can’t perform that action at this time.
0 commit comments