You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The most common use of MAUI, I would think, is using it for mobile development. So I think it's very important to add the Android and iOS code in the tutorial.
For example:
private void Initialize()
{
// assume Windows for this sample
if (OperatingSystem.IsWindows())
{
var options = new InteractiveBrowserCredentialOptions
{
TenantId = TenantId,
ClientId = ClientId,
AuthorityHost = AzureAuthorityHosts.AzurePublicCloud,
RedirectUri = new Uri("http://localhost"),
};
InteractiveBrowserCredential interactiveCredential = new(options);
_client = new GraphServiceClient(interactiveCredential, _scopes);
}
else
{
// TODO: Add iOS/Android support
}
}
I would expect iOS and Android is added to the sample tutorial. Especially because it does not support the localhost redirect. Without the sample code for mobile, I would expect the tutorial to be rather useless or troublesome for many developers.
Type of issue
Typo
Feedback
The most common use of MAUI, I would think, is using it for mobile development. So I think it's very important to add the Android and iOS code in the tutorial.
For example:
private void Initialize()
{
// assume Windows for this sample
if (OperatingSystem.IsWindows())
{
var options = new InteractiveBrowserCredentialOptions
{
TenantId = TenantId,
ClientId = ClientId,
AuthorityHost = AzureAuthorityHosts.AzurePublicCloud,
RedirectUri = new Uri("http://localhost"),
};
}
I would expect iOS and Android is added to the sample tutorial. Especially because it does not support the localhost redirect. Without the sample code for mobile, I would expect the tutorial to be rather useless or troublesome for many developers.
Page URL
https://learn.microsoft.com/en-us/windows/apps/windows-dotnet-maui/tutorial-graph-api
Content source URL
https://github.com/MicrosoftDocs/windows-dev-docs/blob/docs/hub/apps/windows-dotnet-maui/tutorial-graph-api.md
Author
@alvinashcraft
Document Id
b773729a-1016-eeb4-09d0-5059fdf383c1
The text was updated successfully, but these errors were encountered: