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

Fix grant orientation permission on iOS device. #432

Merged
merged 1 commit into from
Jul 31, 2022

Conversation

akharazyan
Copy link
Contributor

⚠️ All PRs have to be done versus 'dev' branch, so be aware of that, or we'll close your issue ⚠️

What kind of change does this PR introduce?
Fix grant orientation permission on iOS device.

  • Fix wrong usage of "this"

Can it be referenced to an Issue? If so what is the issue # ?

How can we test it?

Summary

Does this PR introduce a breaking change?
No

Please TEST your PR before proposing it. Specify here what device you have used for tests, version of OS and version of Browser

Other information

@nickw1
Copy link
Collaborator

nickw1 commented Jul 31, 2022

@akharazyan thanks for this.

Unfortunately I do not have access to an iOS device to test this, is anyone able to test?

@akharazyan
Copy link
Contributor Author

I've tested already and it works fine on production

@nickw1
Copy link
Collaborator

nickw1 commented Jul 31, 2022

Actually forget that, it's a very small change, anonymous function to arrow function to fix "this" issues. Will merge this.

@nickw1 nickw1 merged commit 3a0f955 into AR-js-org:dev Jul 31, 2022
@akharazyan akharazyan deleted the bugfix/ios-orientation-api branch August 13, 2022 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants