From the course: Building Android Apps with Azure

Unlock this course with a free trial

Join today to access over 22,500 courses taught by industry experts.

Adding Gradle changes for Azure login

Adding Gradle changes for Azure login

From the course: Building Android Apps with Azure

Adding Gradle changes for Azure login

- [Instructor] The Azure mobile SDK will redirect to a web view during the authentication flow and that process to handle that response from the web view is setup partly in the Android code and partly in the gradle build environment. We will need to define the activity that the Azure mobile SDK will use to handle the redirect. So to do that let's go into the manifest. I'm gonna minimize bookmark libs. Let's open up app and select source and open the Android manifest. Now under the application tag on line 22 we will add the activity tag. The activity that we want to select is not available from the dropdown. However, most of the package name and the path is available. So let's just select one of these. I'm gonna select custom tabs login activity. I'm gonna minimize my project view. The package name is correct, com.microsoft.windowsazure .mobileservices.authentication, but instead of custom tabs intermediate activity I'm going to add in redirect URL activity and we add the closing tag…

Contents