react-native-inappbrowser
react-native-inappbrowser copied to clipboard
Options not taken into account for openAuth
Which platform(s) does your issue occur on?
- iOS
- emulator: iPhone 12
Please, provide the following version numbers that your issue occurs with:
- CLI: 5.0.1
- Plugin: react-native-inappbrowser 3.6.3
Please, tell us how to recreate the issue in as much detail as possible.
Works: color changes.
InAppBrowser.open("http://google.com", {
preferredBarTintColor: '#453AA4',
})
Does not work: color stays default.
InAppBrowser.openAuth("http://google.com", "", {
preferredBarTintColor: '#453AA4',
})
This applies to all options.
Hello mate, thanks for reporting this issue
iOS authentication flow don't support options, for more details check here https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsession
Best, Juan
@jdnichollsc Thanks, would it be possible to bypass this using https://msolarana.netlify.app/2021/01/06/fixing-aswebauthenticationsession-presentation/ or a similar method?
Ohh it looks interesting, let me check but in the meantime, any pull request is welcome! ❤️
Any news on this issue? I would also be highly interested in a fix/work around. Also more than happy to help on a PR, but unfortunately I am a JavaScript dev and not a Swift/Objective C specialist 😞
@mirkode I didn't know about Swift/ObjectiveC but I learned a lot by doing this plugin, any pull request is welcome! <3
Hello ! is there Any update? or links to fix that isssue please ?