Every time I start an Intent it results in the following error and then the app crashes:
System.ArgumentException: An item with the same key has already been added.
For example in my project I have code to open the security settings
I also have an intent to install an update on the app
Intent promptInstall = new Intent(Intent.ActionView).SetDataAndType(Android.Net.Uri.FromFile(new Java.IO.File(FileStorageUrl(mFileName))), "application/vnd.android.package-archive"); promptInstall.AddFlags(ActivityFlags.NewTask); StartActivity(promptInstall);
Both always receive this error, app crashes however the intent is carried out i.e. the settingspage is loaded, the page to install the update is opened