smileidentity / react-native

The Official Smile ID React Native SDK
https://docs.smileidentity.com/integration-options/mobile
MIT License
0 stars 2 forks source link

Building iOS with expo #44

Closed logickoder closed 2 months ago

logickoder commented 3 months ago

Hello, we have this error when running eas build.

[Codegen] Processing RNSmileIdSpec [Codegen] Searching for podspec in the project dependencies. [Codegen] Supported Apple platforms: ios for RNSmileIdSpec [Codegen] Done. UnsupportedGenericParserError: Module NativeSmileId: Unrecognized generic type 'AuthenticationRequest' in NativeModule spec. at translateTypeReferenceAnnotation (/Users/expo/workingdir/build/node_modules/@react-native/codegen/lib/parsers/typescript/modules/index.js:148:15) at translateTypeAnnotation (/Users/expo/workingdir/build/node_modules/@react-native/codegen/lib/parsers/typescript/modules/index.js:222:14) at /Users/expo/workingdir/build/node_modules/@react-native/codegen/lib/parsers/parsers-commons.js:373:11 at guard (/Users/expo/workingdir/build/node_modules/@react-native/codegen/lib/parsers/utils.js:26:14) at translateFunctionTypeAnnotation (/Users/expo/workingdir/build/node_modules/@react-native/codegen/lib/parsers/parsers-commons.js:367:25) at buildPropertySchema (/Users/expo/workingdir/build/node_modules/@react-native/codegen/lib/parsers/parsers-commons.js:484:7) at /Users/expo/workingdir/build/node_modules/@react-native/codegen/lib/parsers/parsers-commons.js:705:24 at guard (/Users/expo/workingdir/build/node_modules/@react-native/codegen/lib/parsers/utils.js:26:14) at /Users/expo/workingdir/build/node_modules/@react-native/codegen/lib/parsers/parsers-commons.js:702:14 at Array.map () { nodes: [ Node { type: 'TSTypeReference', start: 880, end: 901, loc: [SourceLocation], typeName: [Node] } ] }

JNdhlovu commented 2 months ago

Addressed in https://github.com/smileidentity/react-native/pull/42