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
CB-12468 added ability to set|get default options; #213
base: master
Are you sure you want to change the base?
Conversation
Any estimates to merge it in master? |
Let there be tests |
Any changes to be rebased to master? What shell I do to improve pull in order to get this done? |
Have the same issue on IOS. Probably fixing ios is needed to, but seems that it's good workaround compatible with all systems. Why not merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems logical, why not merge?
We don't merge if it doesn't merge cleanly, that's why it didn't get merged most likely. |
It was ok year ago :) |
Give this PR one more try, please) |
Some CI check seems to be broken :( |
@IvanProdaiko94 could you please rebase onto |
@janpio ok |
9d3889e
to
8e47187
Compare
styling fixes final eslint fix fixed types
8e47187
to
53ee44e
Compare
One last rebase on |
Closing and re-opening to trigger a new CI/test run with new PR merge. |
While using plugin I must set popup features only when calling window.open method. But a lot of libraries (firebase, openFB) use window.open inside their own code where I can't directly menage the features of window to be opened, and on IOS, where we do not a have a 'back' button we could have a problem. For example window, opened with 'toolbar=no' will make app to stack with no ability to close the window. Another thing to be mentioned is when on IOS you use
So, my proposal is to provide an ability to setDefaultOptions method that will help to prevent external libraries to manage the options of of window to be opened directly. If pass a '(required)' in option like that 'location=no(required)' than any option provided in window.open method will not affect on the default settings.
I tested it in my projects (IOS|Android), and everything works fine;