-
Notifications
You must be signed in to change notification settings - Fork 615
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
feat(browser): Add close() method for android #2 #1107
base: main
Are you sure you want to change the base?
Conversation
any news on this ? |
Are you sure this is working properly ? Tried your lines but it doesn't close the window :( |
Works like a charm for me, don't forget to clean your project in android studio so the new code gets build. |
Please merge |
This comment was marked as abuse.
This comment was marked as abuse.
It would be great if this PR could be completed! |
@PH-Lars could you please merge with |
@PH-Lars please fix your linting errors and rebase with main |
Prettier run & main merge
I am using capacitor plugin and the lack of close() prevents me from addressing an issue in the software I am working on. It looks like the changes of the PR are working, are in general accepted by the reviewer and only a finalization step is left. Do you happen to have any idea when this will finally be merged? |
I've tested this PR:
|
This comment was marked as abuse.
This comment was marked as abuse.
I've tested this PR on a real device running API 30 and it works as excepted. I don't have a real device with API 29 so cannot test but as API 29 relates to Android 10 and that version no longer receives security updates this is not an issue for us as we will target API v. >=30 |
Hi, @giralte-ionic could you take a look at this issue, i have a login with teams button which works in web, but on native it does not because of this issue. |
Any updates? As far as I understand, it is basically done, except for an api version check. Looking through the issues, you can see that this pr is eagerly awaited. |
This solution overrides the current activity stack and may not close the custom tabs depending on the context that the activity was launched as. I opened #1972 to circumvent this |
Fixes for earlyer pull #151. Added the requested imports and added call to resolve so the promise will resolve.