react-native-firestack
react-native-firestack copied to clipboard
Native module cannot be null
#Can someone tell me what this means? I get it when I run-ios
Native module cannot be null.
js file:
import React, { Component } from 'react';
import Firestack from 'react-native-firestack';
export default class MyClass extends Component {
componentWillMount() {
const firestack = new Firestack({
debug: true`
});
}
}
my pod file contains:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
def firestack_pods
[
'Firebase',
'Firebase/Core',
'Firebase/Auth',
'Firebase/Storage',
'Firebase/Database',
'Firebase/RemoteConfig',
'Firebase/Messaging'
].each do |lib|
pod lib
end
end
target 'MyApp' do
use_frameworks!
firestack_pods
end
I am getting this same error