Have not done Android development for a while, new things. Nice to catch up.
Many of ASP.Net guys or girls are taking great feature of ASP.Net Identity to manage credential of their web services. When offering same service via App, it is nice to be able to use the same credential management.
Continue on from Making Android App with Xamarin 2 – Get InsntaceID. Now that we know how to get InsntaceID to identify the app, we will connect this ID with ASP.net Identity.
Continue on from the previous article on Making Android App with Xamarin 1 – Splash Screen. Let’s now make sure the device has valid credential, and if not ask user to input their login information.
Since TWC handles sensitive personal information I want to make sure the app is secured. So there will be two way authentication to manage credential and devices.
There are two things that can happen, when they launch the app.
- The user is already a member, already registered via web service.
- The user is new want to register as a member.
If the case, user is a member, then;
First get device ID and see if it is valid to move forward.
If valid then move forward to the main Activity, if not, then get ready link that device ID and credential information.
I read pros and cons of writing app with Xamarin. But well, if I can write both Android and iPhone App on Visual Studio, why not?