camera-preview icon indicating copy to clipboard operation
camera-preview copied to clipboard

Anybody have a IOS captureVideo works with capacitor 3

Open nseb opened this issue 2 years ago • 10 comments

Hello ,

in all pull requests, does anyone have an IOS version that works for video recording with capacitor 3?

nseb avatar Jan 18 '22 13:01 nseb

hi @nseb , what version of the plugin are you using? and what version on capacitor?

DiegoRodriguez93 avatar Jan 20 '22 14:01 DiegoRodriguez93

@DiegoRodriguez93 Capacitor 3 , I test camera-preview-2.0.0-beta-2 and the version @pbowyer , same resutlt , app crash when i want record

nseb avatar Jan 20 '22 19:01 nseb

Sample ionic (angular) project using camera-preview plugin.

My package.json

"dependencies": {
  // other deps 
  "@capacitor-community/camera-preview": "^2.0.0",
  "@capacitor/android": "3.4.1",
  "@capacitor/app": "1.1.0",
  "@capacitor/core": "3.4.1",
  "@capacitor/ios": "3.4.1",
 // other deps 
}

Screen Shot 2022-03-01 at 11 50 21 AM

Should I install any other specific commit to get iOS/Android record video working?

sultanmyrza avatar Mar 01 '22 09:03 sultanmyrza

Video Recording in IOS in not supported. I want same is there any way to record video on IOS?

Saqib92 avatar Jun 18 '22 10:06 Saqib92

@Saqib92 just want to share updates, now I'm using preview-camera which is used in the capture-lite app it works with capacitor 3. Can take photos, and record videos both on iOS, and Android. Here is the old demo. Hope this helps.

sultanmyrza avatar Jun 20 '22 08:06 sultanmyrza

@Saqib92 just want to share updates, now I'm using preview-camera which is used in the capture-lite app it works with capacitor 3. Can take photos, and record videos both on iOS, and Android. Here is the old demo. Hope this helps.

Plugin Not available to install.

install Command:

npm install @numbersprotocol/preview-camera

Error:

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@numbersprotocol%2fpreview-camera - Not found
npm ERR! 404 
npm ERR! 404  '@numbersprotocol/preview-camera@*' is not in this registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)

Saqib92 avatar Jun 20 '22 09:06 Saqib92

@Saqib92 can you try npm install 'numbersprotocol/preview-camera#release-0.0.2-auto-rotate-fix'?

sultanmyrza avatar Jun 20 '22 10:06 sultanmyrza

@Saqib92 can you try npm install 'numbersprotocol/preview-camera#release-0.0.2-auto-rotate-fix'?

Build is failing after installing this plugin.

Saqib92 avatar Jun 20 '22 13:06 Saqib92

@Saqib92 can you try npm install 'numbersprotocol/preview-camera#release-0.0.2-auto-rotate-fix'?

Build is failing after installing this plugin.

  1. android builds or iOS builds?
  2. can you please share your build logs?

sultanmyrza avatar Jun 21 '22 05:06 sultanmyrza

Can you please take this discussion to the numbersprotocol/preview-camera repository, thanks 🙂

pbowyer avatar Jun 21 '22 08:06 pbowyer