Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find a declaration file for module 'react-native-braintree-dropin-ui' #97

Open
NadavBuchwalter opened this issue Jan 16, 2023 · 3 comments

Comments

@NadavBuchwalter
Copy link

1

Followed the Code guide , I installed -> npm i --save-dev @types/react-native-braintree-dropin-ui
but I cant import it.

Tried npm i --save-dev @types/react-native-braintree-dropin-ui -> did not work.

Has anyone encountered this problem?

@OpenTasteSG
Copy link

OpenTasteSG commented Feb 28, 2023

Follow the instructions few threads down on "React Native Drop in fix after React Native v0.69" and you need to move the podspec file from ios to root
node_modules/react-native-braintree-dropin-ui/ios/RNBraintreeDropIn.podspec to
node_modules/react-native-braintree-dropin-ui/RNBraintreeDropIn.podspec

and do a pod install

@Jigs6720
Copy link

need release a new version with this fix.
Follow the instructions few threads down on "React Native Drop in fix after React Native v0.69" and you need to move the podspec file from ios to root
node_modules/react-native-braintree-dropin-ui/ios/RNBraintreeDropIn.podspec to
node_modules/react-native-braintree-dropin-ui/RNBraintreeDropIn.podspec

and do a pod install

@marcshilling
Copy link

This is just a TypeScript error. You can silence it by creating a react-native-braintree-dropin-ui.d.ts file with contents declare module 'react-native-braintree-dropin-ui'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants