feat: Adding support for CustomTabs and fix ASWebAuthenticationSession in WebAuthenticationBroker
GitHub Issue (If applicable): closes #9338
PR Type
What kind of change does this PR introduce?
- Bugfix
- Feature
What is the current behavior?
Android: Doesn't use customtabs which is now the recommended model for doing web based authentication in an app iOS: ASWebAuthenticationSession throws exception in contructor when a full url is used as callbackuri (ie scheme://path instead of just scheme )
What is the new behavior?
Android: Now uses fall back from CustomTabs (if available) to external browser iOS: ASWebAuthenticationSession uses callbackuri.scheme instead of the whole callbackuri
PR Checklist
Please check if your PR fulfills the following requirements:
- [ ] Docs have been added/updated which fit documentation template (for bug fixes / features)
- [ X ] Unit Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)
- [ ] Validated PR
Screenshots Compare Test Runresults. - [ X ] Contains NO breaking changes
- [ ] Associated with an issue (GitHub or internal) and uses the automatic close keywords.
- [ X ] Commits must be following the Conventional Commits specification.
Congrats on your first pull-request! We ❤ the people who are involved in this project, and we’d love to pay it forward by sending you some swag. If you have any feedback (or ideas how to improve Uno as a open-source project) please open a feedback issue.
Merci beaucoup 👋