Giphy / giphy-react-native-sdk

GIPHY React Native SDK
https://developers.giphy.com
Apache License 2.0
67 stars 25 forks source link

Error with configuring api key #151

Closed vishwak5599 closed 10 months ago

vishwak5599 commented 10 months ago

If i add import { GiphySDK } from '@giphy/react-native-sdk'

GiphySDK.configure({ apiKey: '*****', // Android SDK key })

this code bloack to my code iam getting the below error :

ERROR Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RTNGiphySDKModule' could not be found. Verify that a module by this name is registered in the native binary., js engine: hermes

Please help!!

pshoniuk commented 10 months ago

Hi @vishwak5599
Could you please provide more details, like React Native & GIPHY RN SDK versions and whether the new or old arch is used? It would be ideal if you could share a minimal reproducer repo.

pshoniuk commented 10 months ago

Duplicate of https://github.com/Giphy/giphy-react-native-sdk/issues/153