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

Add Idiom to MauiContext #1341

Closed
wants to merge 2 commits into from
Closed

Add Idiom to MauiContext #1341

wants to merge 2 commits into from

Conversation

jsuarezruiz
Copy link
Contributor

Description of Change

Add Idiom to MauiContext

Implements #1305

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

Does this PR touch anything that might affect accessibility?

  • No

public IMauiHandlersServiceProvider Handlers =>
_mauiHandlersServiceProvider ?? throw new InvalidOperationException($"No service provider was specified during construction.");

public TargetIdiom Idiom
Copy link
Contributor

@AmrAlSayed0 AmrAlSayed0 Jun 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this really need to be reimplemented? Xamarin.Essentials already has an implementation for it. https://docs.microsoft.com/en-us/xamarin/essentials/device-information?tabs=ios

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, must use Essentials as specified in Spec #1305

@jsuarezruiz
Copy link
Contributor Author

After a team meeting, we are going to do this in a different way.

@mattleibow mattleibow deleted the dotnetmaui-idiom branch April 4, 2022 16:49
@github-actions github-actions bot locked and limited conversation to collaborators Dec 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants