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

ISSUE: #168 #187

Closed
wants to merge 2 commits into from
Closed

ISSUE: #168 #187

wants to merge 2 commits into from

Conversation

xam8re
Copy link

@xam8re xam8re commented Aug 27, 2024

No description provided.

@xam8re
Copy link
Author

xam8re commented Aug 27, 2024

This fix multiple file selection on android.

fix: clearCookies()is not clearing the cache and cookies on iOS

guard let url = URL(string: urlString), let hostName = url.host else {
call.reject("Invalid URL")
return
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why changes here? cookie is not related to file choose

@@ -111,7 +111,8 @@ public boolean onShowFileChooser(
) {
openFileChooser(
filePathCallback,
fileChooserParams.getAcceptTypes()[0]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do this change still support one file only mode?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok just saw the comment upper

@riderx
Copy link
Contributor

riderx commented Aug 28, 2024

Look good can you just explain why the change in cookie?
if not related please do a separate PR

@Anthony-Matheou
Copy link

Tried this change out and it's still not working for my purposes in an auth flow. Would it be possible to add my custom solution in the associated issue as a separate method? Perhaps as a "clearAllCookies" function, since I think mine clears all the cookies for the in app browser? Would be a great help since this is the only Capacitor in-app browser plugin that I've found that has all the other functionality I need for my project. Clearing the cookies/cache is the only functionality I'm missing right now.

@xam8re
Copy link
Author

xam8re commented Aug 29, 2024

Look good can you just explain why the change in cookie?
if not related please do a separate PR

I fixed also cookie and forgot to make a specific branch

@riderx
Copy link
Contributor

riderx commented Aug 29, 2024

@Anthony-Matheou this PR is supposed to add multi file select, not cookie.
@xam8re can you remove cookie fix from it?
We do a different PR for this and will test that separately

@riderx
Copy link
Contributor

riderx commented Aug 30, 2024

Ok i added both fix myself in separate PR

@riderx riderx closed this Aug 30, 2024
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.

3 participants