You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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);
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?
The text was updated successfully, but these errors were encountered: