-
Notifications
You must be signed in to change notification settings - Fork 31
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
How can Integrate video recorder to my ionic 5 project #34
Comments
same question here. I am having a problem integrating it to my ionic 5 capacitor |
So if you're running it on your device with the --livereload flag, it will be trying to execute the web/browser version (mock). And without it, I'm getting this error: So I'm guessing I need to add the permission check somewhere |
Have you guys enabled the plugin in your Android app as described in #23 (comment)? |
@Luca8991 I did that but on compiling the app it throws an error
|
@donmb1 what version of Capacitor are you using? When I commented I was using v2, but now v3 is available and there are some changes on how to enable plugins that you can find in the updating guide. Maybe this is the reason of your error! Otherwise, unfortunately I think I can't help you... |
Thanks. I will look later into this and hope to get it running 🤞
… Am 07.03.2022 um 16:32 schrieb Luca Bertelli ***@***.***>:
@donmb1 what version of Capacitor are you using? When I commented I was using v2, but now v3 is available and there are some changes on how to enable plugins that you can find in the updating guide. Maybe this is the reason of your error! Otherwise, unfortunately I think I can't help you...
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.
|
@Luca8991
However, it is still not registered. |
@donmb1 if your are using Capacitor v2, this is the correct method to register the plugin and it should work I think... If you're are on Capacitor v3 instead, this is not necessary and is done automatically by Capacitor itself |
@Luca8991 so I'm really wondering what I am doing wrong. All I get is a mocked file location but no real file :( |
@Luca8991 this is my packacke.json, I am using 4.0.1
|
V5.0.0 does not even have Android support. there is a PR pending which adds it: |
@donmb1 as I see you're using Capacitor v3, so this method you used to register the plugin is not working. You should import the plugin like it's written in this package's README. |
@Luca8991 where do I find this feature module |
@donmb1 I'm not sure as I never used Capacitor with Vue. Maybe using Ionic Framework + Vue could help you setup everything correctly for Capacitor and generate the |
I have followed all the predefined steps. The camera shows but I can't record. Can some one help me with the code snippet for ionic integration.
The text was updated successfully, but these errors were encountered: