react-native-firestack icon indicating copy to clipboard operation
react-native-firestack copied to clipboard

Native module cannot be null

Open ajmakhl opened this issue 7 years ago • 1 comments

#Can someone tell me what this means? I get it when I run-ios

Native module cannot be null. screen shot 2017-03-10 at 10 43 54 am

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

ajmakhl avatar Mar 10 '17 15:03 ajmakhl

I am getting this same error

agersoncgps avatar Apr 29 '17 17:04 agersoncgps