-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
HI!
I am new to nativescript and angular so bear with me. I have followed the instructions to implement this component in Angular Nativescript:
- ns plugin add @nativescript-community/ui-cameraview (in the root folder)
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?
Metadata
Metadata
Assignees
Labels
No labels