I have tested the following code for authorization in normal C# console application and everything works well:
var Authorizor = new SingleUserAuthorizer()
{
CredentialStore = new SingleUserInMemoryCredentialStore
{
ConsumerKey = "conskey",
ConsumerSecret = "conssec",
AccessToken = "accesstok",
AccessTokenSecret = "accesssec"
}
};
This works well and loads everything I need and no problems.
When I tried the same code in Xamarin.Forms application, it keeps throwing this error:
{"Invalid character '\u001f' in input string"}
I have been looking this up for hours and I cannot seem to make it work. I found some suggestions to make it load from appSettings
but Xamarin.Forms does not have any of that. Any ideas?