public TaskCompletionSource <string> StartSession()
 {
     stringOutput = new TaskCompletionSource <string>();
     if (sessionUrl.Length > 0)
     {
         AEPAssurance.StartSession(sessionUrl);
     }
     else
     {
         Console.WriteLine("Invalid session url");
     }
     stringOutput.SetResult("");
     return(stringOutput);
 }
Пример #2
0
 // Handle app open from url scheme of aepassurancetestApp://link
 public override bool OpenUrl(UIApplication app, NSUrl url, NSDictionary options)
 {
     AEPAssurance.StartSession(url);
     return(false);
 }
Пример #3
0
    //Assurance plugin methods.
    public void startAssuranceSession()
    {
        const string url = "griffon://?adb_validation_sessionid=6b55294e-32d4-49e8-9279-e3fe12a9d309";

        AEPAssurance.StartSession(url);
    }