Open justussigma opened 9 months ago
UPDATE: If I call: constructor() { requestCameraPermissions().then(() => { }); }
this gives me the view if i restart the app after allowing the app use the camera but how can I actually use the functions ofthe CameraView component?
HI!
I am new to nativescript and angular so bear with me. I have followed the instructions to implement this component in Angular Nativescript:
Then I have this in my view.component.ts: import { registerElement } from '@nativescript/angular'; ------> this because 'nativescript-angular/element-registry' didnt work import { CameraView } from '@nativescript-community/ui-cameraview'; registerElement('CameraView', () => CameraView);
and this in my view.component.html:
<FlexboxLayout flexDirection="column" justifyContent="space-around" alignItems="center"
I only get a blackscreen... How can use the functions inside the CameraView component to get a camera view on the screen?