File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ public void ExecuteCommand(Command command)
8282 case "trackAdRevenueV2" : TrackAdRevenueV2 ( ) ; break ;
8383 case "getLastDeeplink" : GetLastDeeplink ( ) ; break ;
8484 case "verifyPurchase" : VerifyPurchase ( ) ; break ;
85+ case "processDeeplink" : ProcessDeeplink ( ) ; break ;
8586 default : CommandNotFound ( _command . ClassName , _command . MethodName ) ; break ;
8687 }
8788 }
@@ -1010,6 +1011,12 @@ private void VerifyPurchase()
10101011#endif
10111012 }
10121013
1014+ private void ProcessDeeplink ( )
1015+ {
1016+ var deeplink = _command . GetFirstParameterValue ( "deeplink" ) ;
1017+ Adjust . processDeeplink ( deeplink , DeeplinkResolvedCallback ) ;
1018+ }
1019+
10131020 // helper methods
10141021
10151022 private void VerificationInfoCallback ( AdjustPurchaseVerificationInfo verificationInfo )
@@ -1021,6 +1028,13 @@ private void VerificationInfoCallback(AdjustPurchaseVerificationInfo verificatio
10211028 _testLibrary . SendInfoToServer ( localExtraPath ) ;
10221029 }
10231030
1031+ private void DeeplinkResolvedCallback ( string resolvedLink )
1032+ {
1033+ string localExtraPath = ExtraPath ;
1034+ _testLibrary . AddInfoToSend ( "resolved_link" , resolvedLink ) ;
1035+ _testLibrary . SendInfoToServer ( localExtraPath ) ;
1036+ }
1037+
10241038 private void CommandNotFound ( string className , string methodName )
10251039 {
10261040 TestApp . Log ( "Adjust Test: Method '" + methodName + "' not found for class '" + className + "'" ) ;
You can’t perform that action at this time.
0 commit comments