Xamarin Chat Bot Challenge
Create a Xamarin cross platform app with Microsoft Bot Framework.
Your solution must have the following:
A button. A webview. A chat bot.
Glue everything together
Steps
-
Create a Chat Bot (if you already did, skip to step 2, else refer to https://github.com/cbtham/botsays )
-
Refer to this guide to setup Facebook authentication.
Tips: Create a new Azure Mobile App. You can use any platform you want. Refer https://docs.microsoft.com/en-us/azure/app-service-mobile/app-service-mobile-android-get-started (right hand side to change platform)
-
Create an empty Xamarin project.
-
Add a button to the MainPage.
-
Add the logic - upon authenticated, navigate to the second page which contains a webview. You can choose your platform of choice.
https://docs.microsoft.com/en-us/azure/app-service-mobile/app-service-mobile-auth
-
The webview loads the chat bot.
Hint: Publish the bot as direct line/webchat to get the iframe URL. The iframe URL should be your webview source.