tradle / react-native-facetec-zoom

10 stars 13 forks source link

Error: Undefined is not an object evaluating ('native.preload') #1

Closed aguel closed 5 years ago

aguel commented 5 years ago

Compiled but getting runtime error "Error: Undefined is not an object evaluating ('native.preload')"

Not sure if this is SDK compatibility issue but im using the latest ZoomSDK 7.0.14 since the link to your S3 file for 7.0.8 is broken.

aguel commented 5 years ago

Any active link for SDK 7.0.8?

mvayngrib commented 5 years ago

hi @aguel, you can download the sdk from https://dev.zoomlogin.com/zoomsdk/#/downloads

aguel commented 5 years ago

I mean the latest SDK from FaceTec website it 7.0.14 and doesnt work well with this release.

On Thu, Apr 11, 2019 at 8:16 PM Mark Vayngrib notifications@github.com wrote:

hi @aguel https://github.com/aguel, you can download the sdk from https://dev.zoomlogin.com/zoomsdk/#/downloads

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tradle/react-native-facetec-zoom/issues/1#issuecomment-482090054, or mute the thread https://github.com/notifications/unsubscribe-auth/AD72LiYwxIeYdT1KIGxlnKfirQ4-ivKHks5vfyeDgaJpZM4cnTbK .

mvayngrib commented 5 years ago

the error seems to indicate you haven't linked the library. Did you run react-native link react-native-facetec-zoom? Can you check to make sure that in Build Phases, under Link Binary With Libraries, you see both libRNReactNativeZoomSdk.a and ZoomAuthenticationHybrid.framework?

aguel commented 5 years ago

Yes "react-native link react-native-facetec-zoom" done as per instruction in github.

Build phases -> Link Binary with Libraries checked for both ibRNReactNativeZoomSdk.a and ZoomAuthenticationHybrid.framework

Basically application can compile and run successfully but crashing on error "Error: Undefined is not an object evaluating ('native.preload')"

On Thu, Apr 11, 2019 at 8:42 PM Mark Vayngrib notifications@github.com wrote:

the error seems to indicate you haven't linked the library. Did you run react-native link react-native-facetec-zoom? Can you check to make sure that in Build Phases, under Link Binary With Libraries, you see both libRNReactNativeZoomSdk.a and ZoomAuthenticationHybrid.framework?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tradle/react-native-facetec-zoom/issues/1#issuecomment-482098375, or mute the thread https://github.com/notifications/unsubscribe-auth/AD72Lt0P6Tj6a8fZyEbg1HIiqbH-spK4ks5vfy3SgaJpZM4cnTbK .

aguel commented 5 years ago

got it sorted.