Hi,
We are developing a mobile app in Xamarin Native, and we got the following execption when we are trying to create
a new user:
System.Net.WebException: Error: NameResolutionFailure
at com.shephertz.app42.paas.sdk.csharp.connection.RESTConnectorAsync.ExecutePost (System.String url, System.Collections.Generic.Dictionary`2 paramsDics, System.String bodyPayLoad, System.Collections.Generic.Dictionary`2 headerParams) [0x0010b] in <filename unknown>:0
at com.shephertz.app42.paas.sdk.csharp.user.UserService.CreateUser (System.String uName, System.String pwd, System.String emailAddress) [0x00125] in <filename unknown>:0
at UrbinderFirstProject.iOS.UISignUp.signUp (System.String i_Email, System.String i_Password) [0x00002] in C:\Users\User\Documents\Visual Studio 2015\Projects\firstproj\UrbinderFirstProject\UrbinderFirstProject.iOS\UIClasses\UISignUp.cs:27 }
The weird thing is that we are devoloping to android in the same project and with the exacte same code,
but we get the execption only in iOS.
furthermore, the android code creates the user in the DB.
We are using this SDK: App42_CSHARP_SDK_2.0
The code:
private void signUp(string i_Email, string i_Password)
{
try
{
BackendServices.GetUserService.CreateUser(i_Email, i_Password, i_Email);
txtSignUpResult_iOS.Text = "You Are Signed in as " + i_Email + "!";
}
catch (Exception e)
{
txtSignUpResult_iOS.Text = "Error: Please Check Youre User Credentials";
}
}
i get this exeption:
System.Net.WebException: Error: NameResolutionFailure
at com.shephertz.app42.paas.sdk.csharp.connection.RESTConnectorAsync.ExecutePost (System.String url, System.Collections.Generic.Dictionary`2 paramsDics, System.String bodyPayLoad, System.Collections.Generic.Dictionary`2 headerParams) [0x0010b] in <filename unknown>:0
at com.shephertz.app42.paas.sdk.csharp.user.UserService.CreateUser (System.String uName, System.String pwd, System.String emailAddress) [0x00125] in <filename unknown>:0
at UrbinderFirstProject.iOS.UISignUp.signUp (System.String i_Email, System.String i_Password) [0x00002] in C:\Users\User\Documents\Visual Studio 2015\Projects\firstproj\UrbinderFirstProject\UrbinderFirstProject.iOS\UIClasses\UISignUp.cs:27 }