import { registerWebModule, NativeModule } from 'expo'; import { OitiExpoLiveness3dModuleEvents } from './OitiExpoLiveness3d.types'; class OitiExpoLiveness3dModule extends NativeModule { PI = Math.PI; async setValueAsync(value: string): Promise { this.emit('onChange', { value }); } hello() { return 'Hello world! 👋'; } } export default registerWebModule(OitiExpoLiveness3dModule, 'OitiExpoLiveness3dModule');