18 lines
570 B
Kotlin
18 lines
570 B
Kotlin
|
package com.reactnativevisioncamera
|
||
|
|
||
|
import com.facebook.react.ReactPackage
|
||
|
import com.facebook.react.bridge.NativeModule
|
||
|
import com.facebook.react.bridge.ReactApplicationContext
|
||
|
import com.facebook.react.uimanager.ViewManager
|
||
|
|
||
|
|
||
|
class VisionCameraPackage : ReactPackage {
|
||
|
override fun createNativeModules(reactContext: ReactApplicationContext): List<NativeModule> {
|
||
|
return listOf(VisionCameraModule(reactContext))
|
||
|
}
|
||
|
|
||
|
override fun createViewManagers(reactContext: ReactApplicationContext): List<ViewManager<*, *>> {
|
||
|
return emptyList()
|
||
|
}
|
||
|
}
|