Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback: add Android and iOS code #5347

Open
Skorpjun161 opened this issue Mar 15, 2025 · 0 comments
Open

Feedback: add Android and iOS code #5347

Skorpjun161 opened this issue Mar 15, 2025 · 0 comments
Assignees
Labels

Comments

@Skorpjun161
Copy link

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"),
};

    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.

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

@alvinashcraft alvinashcraft self-assigned this Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants