Skip to content

feat(device): allowing to get region from the device#1497

Open
bsalesc wants to merge 1 commit intoionic-team:4.xfrom
loveholidays:allowing-get-region
Open

feat(device): allowing to get region from the device#1497
bsalesc wants to merge 1 commit intoionic-team:4.xfrom
loveholidays:allowing-get-region

Conversation

@bsalesc
Copy link

@bsalesc bsalesc commented Mar 21, 2023

This PR will allow applications get the region/country from the device, allowing them select the right experience depending on which country the device is from.

On android it will get from the language but on iOS there is a defined field for it. Web will throw an error saying that isn't supported.

Android

Screenshot 2023-03-21 at 15 48 10

iOS

Screenshot 2023-03-21 at 15 48 45

@jcesarmobile
Copy link
Member

Thanks for opening this PR 🙏

As part of our backlog maintenance effort, we’re reviewing older pull requests for compatibility with the current branch structure and latest releases.

Details: https://ionic.io/blog/keeping-capacitors-backlog-healthy

This PR will need to be rebased against the latest main branch and updated to resolve merge conflicts.

If we don’t see updates within 7 days, we’ll close it to keep the queue focused — but it can always be resubmitted once updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants