I upgraded to React Native 0.44, and reinstalled this library following the manual method in the docs (the automatic method was giving me problems), and now the app builds and runs from Xcode, but I get this error when importing it:
1 thought on “Native Module cannot be null – React Native 0.44”
Comments are closed.
Native Module cannot be null – React Native 0.44
I upgraded to React Native 0.44, and reinstalled this library following the manual method in the docs (the automatic method was giving me problems), and now the app builds and runs from Xcode, but I get this error when importing it:
1 thought on “Native Module cannot be null – React Native 0.44”
-
@jasan-s try update your podfile to something like the below for RN 44, it works here on 44
install! 'cocoapods', :deterministic_uuids => false # Uncomment this line to define a global platform for your project # platform :ios, '9.0' target 'ReactNativeFirebaseDemo' do platform :ios, '8.0' # Uncomment this line if you're using Swift or would like to use dynamic frameworks # use_frameworks! react_native_path = "../node_modules/react-native" pod "Yoga", :path => "#{react_native_path}/ReactCommon/yoga" # Pods for ReactNativeFirebaseDemo pod 'React', :path => '../node_modules/react-native' pod 'Firebase/Auth' pod 'Firebase/Analytics' pod 'Firebase/AppIndexing' pod 'Firebase/Core' pod 'Firebase/Crash' pod 'Firebase/Database' pod 'Firebase/DynamicLinks' pod 'Firebase/Messaging' pod 'Firebase/RemoteConfig' pod 'Firebase/Storage' pod 'RNFirebase', :path => '../node_modules/react-native-firebase' end
Comments are closed.
Native Module cannot be null – React Native 0.44
I upgraded to React Native 0.44, and reinstalled this library following the manual method in the docs (the automatic method was giving me problems), and now the app builds and runs from Xcode, but I get this error when importing it:
1 thought on “Native Module cannot be null – React Native 0.44”
-
@jasan-s try update your podfile to something like the below for RN 44, it works here on 44
install! 'cocoapods', :deterministic_uuids => false # Uncomment this line to define a global platform for your project # platform :ios, '9.0' target 'ReactNativeFirebaseDemo' do platform :ios, '8.0' # Uncomment this line if you're using Swift or would like to use dynamic frameworks # use_frameworks! react_native_path = "../node_modules/react-native" pod "Yoga", :path => "#{react_native_path}/ReactCommon/yoga" # Pods for ReactNativeFirebaseDemo pod 'React', :path => '../node_modules/react-native' pod 'Firebase/Auth' pod 'Firebase/Analytics' pod 'Firebase/AppIndexing' pod 'Firebase/Core' pod 'Firebase/Crash' pod 'Firebase/Database' pod 'Firebase/DynamicLinks' pod 'Firebase/Messaging' pod 'Firebase/RemoteConfig' pod 'Firebase/Storage' pod 'RNFirebase', :path => '../node_modules/react-native-firebase' end
Comments are closed.
I upgraded to React Native 0.44, and reinstalled this library following the manual method in the docs (the automatic method was giving me problems), and now the app builds and runs from Xcode, but I get this error when importing it:
1 thought on “Native Module cannot be null – React Native 0.44”
-
@jasan-s try update your podfile to something like the below for RN 44, it works here on 44
install! 'cocoapods', :deterministic_uuids => false # Uncomment this line to define a global platform for your project # platform :ios, '9.0' target 'ReactNativeFirebaseDemo' do platform :ios, '8.0' # Uncomment this line if you're using Swift or would like to use dynamic frameworks # use_frameworks! react_native_path = "../node_modules/react-native" pod "Yoga", :path => "#{react_native_path}/ReactCommon/yoga" # Pods for ReactNativeFirebaseDemo pod 'React', :path => '../node_modules/react-native' pod 'Firebase/Auth' pod 'Firebase/Analytics' pod 'Firebase/AppIndexing' pod 'Firebase/Core' pod 'Firebase/Crash' pod 'Firebase/Database' pod 'Firebase/DynamicLinks' pod 'Firebase/Messaging' pod 'Firebase/RemoteConfig' pod 'Firebase/Storage' pod 'RNFirebase', :path => '../node_modules/react-native-firebase' end
Comments are closed.
@jasan-s try update your podfile to something like the below for RN 44, it works here on 44