Select to view content in your preferred language

Xamarin Forms 100.10 Runtime Crashes in CredentialPersistence

940
2
02-13-2021 04:06 PM
Dvirus
by
Regular Contributor

Hello,

 

Xamarin Forms 100.10.0 - UWP

 

 

 

 AuthenticationManager.Current.Persistence = await CredentialPersistence.CreateDefaultAsync();

 

 

 

or

 

 

 

 AuthenticationManager.Current.Persistence = await CredentialPersistence.CreateDefaultAsync("cred");

 

 

 

 

UnhandledException:

 

 

 

Type 'System.String[]' with data contract name 'ArrayOfstring:http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not expected. Add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to DataContractSerializer.

 

 

 

 

Revert to 100.09, not happen there.

 

 

 


 

Tags (2)
0 Kudos
2 Replies
dotMorten_esri
Esri Notable Contributor

We are aware of this issue, and unfortunately I don't have a workaround for you, besides building your own subclass of CredentialPersistence.

0 Kudos
Dvirus
by
Regular Contributor

Thanks @dotMorten_esri ,

Can we have some example? I tried to Implement but the documents not so clear.

 

0 Kudos