Skip to content

Native module cannot be null #308

@ajmakhl

Description

@ajmakhl

#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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions