Skip to content

feat: Allow to hide the file picker button #130

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

Merged
merged 1 commit into from
May 17, 2024
Merged

Conversation

jcesarmobile
Copy link
Member

related to ionic-team/capacitor-plugins#749

camera plugin on web shows the "pick from gallery" button, which is not available on native platforms and some users requested to remove it, but can't be removed from Capacitor camera plugin because it's part of pwa-elements.

So this PR adds properties to not render the button if desired.

@ekoeryanto
Copy link

hi, how use this feature with capacitor getPhoto method?

@jcesarmobile
Copy link
Member Author

It's not possible yet, the plugin needs some changes that are not merged.

@ekoeryanto
Copy link

ekoeryanto commented Jul 17, 2024

ah, I see. thanks.
so for now i use my fork again

for one in hurry, i publish @pake/pwa-elements npm package with the hidePicker default to true

@AlexEscalante
Copy link

AlexEscalante commented Oct 1, 2024

I guess the capacitor plugin needs this to add this option as well...

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.

4 participants