Skip to content

moribaleta/ReactNative-NativeCameraIOS-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ReactNative-NativeCameraIOS-Template

template for creating a NativeCamera in IOS to be bridged on react-native

NativeCamera module developed in swift

instructions

  1. copy the CameraModuleManager.swift and CameraModuleManager.m file from the ios code folder to your ios folder in the react-native project
  2. open XCode and add the files CameraModuleManager.swift and CameraModuleManager.m on your project structure
  3. XCode will prompt to create bridge header .h file
  4. open SampleProjectCamera-Bridging-Header.h file in ios code folder and copy the imports and paste it to your header project
  5. copy the folder NativeCameraModule that contains the js file and paste it to your root project
  6. import component to your app.js and use it

you can view the example on SampleProjectCamera Folder

About

template for create a NativeCamera to be bridge on react-native

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published