I try to do a simple cross platform app that consumes secure resources onan arcgis online oragnization.
I use Authentication Manager in my shared project to access secure ressources. The UWP app automatically prompts the user to provide login/password info. It's pretty straightforward.
I thought it would act the same way on a Xamrin.Android app but id doesn't.
Am I wrong?
I try to do a cross platform project (Xamarin.Forms), but Android project doesn't act the same way. It doesn't prompt the user for login/password. Do I have to handle it by defining a challenge handler (so a custom UI) to let the user enter his login/password)?
Thanks in advance for any clarification on this.
Will the upcoming toolkit make this easier?
Is there any other things to consider when developping a cross platform app ?
There's no default authentication UI in our API for Xamarin, but it's something we'll consider for the toolkit. UWP has a built in UI as you discovered and we have added a prototype UI for WPF to the v100.0 Toolkit branch arcgis-toolkit-dotnet/src/Esri.ArcGISRuntime.Toolkit/WPF/UI/SignInForm at v100 · Esri/arcgis-toolkit...
You'll find some v100 protocol-specific security samples for Forms in arcgis-runtime-samples-dotnet/src/Forms/Shared/Samples/Security at master · Esri/arcgis-runtime-samp...