Closed sjovicic closed 3 years ago
I had the issue that RNSmtpMailer is undefined and later that I can not build app since React module path is wrong.
If you follow README steps on MacOS you can get two issues:
Solution for #1 is to run $ npm install react-native-smtp-mailer --save (from README steps) and then update RNSmtpMailer.podspec RNSmtpMailer.podspec.txtin ios folder (attached). Solution was given here: https://github.com/angelos3lex/react-native-smtp-mailer/issues/19#issuecomment-531601108 Proceede with next steps in the README.
$ npm install react-native-smtp-mailer --save
Solution for #2 is to update Header search Paths to use lowercase name for React folder Insted of $(SRCROOT)/../../../React you should have $(SRCROOT)/../../../react
$(SRCROOT)/../../../React
$(SRCROOT)/../../../react
I had the issue that RNSmtpMailer is undefined and later that I can not build app since React module path is wrong.
If you follow README steps on MacOS you can get two issues:
Solution for #1 is to run
$ npm install react-native-smtp-mailer --save
(from README steps) and then update RNSmtpMailer.podspec RNSmtpMailer.podspec.txtin ios folder (attached). Solution was given here: https://github.com/angelos3lex/react-native-smtp-mailer/issues/19#issuecomment-531601108 Proceede with next steps in the README.Solution for #2 is to update Header search Paths to use lowercase name for React folder Insted of
$(SRCROOT)/../../../React
you should have$(SRCROOT)/../../../react