Giter Site home page Giter Site logo

Comments (9)

blumanski avatar blumanski commented on May 18, 2024 1

Lol, I found the problem...
I had to drag the "GoogleService-Info.plist" file into xcode...

Thanks anyway :-)

from react-native-firestack.

bitcoinvsalts avatar bitcoinvsalts commented on May 18, 2024

+1

from react-native-firestack.

blumanski avatar blumanski commented on May 18, 2024

@auser
Today I was able to build for IOS which is great :-)

But the app is not running on ios, its crashing with the error below
emulator and iphone tested.

ExceptionsManager.js:82 Exception 'Failed to get default FIRDatabase instance. 
Must call FIRApp.configure() before using FIRDatabase.' was thrown while invoking 
onOnce on  target     FirestackDatabase with params (
"/marketAlerts/62D9781D-FF12-448B-B65E-270F6649DB5E",
    (
),
value,
3

)

So, what ever you have changed, it's getting close.

from react-native-firestack.

bitcoinvsalts avatar bitcoinvsalts commented on May 18, 2024

I fixed this by uncomment the "use_framework!" line in the podfile.
and running pod install again
H
πŸŽ‰

from react-native-firestack.

blumanski avatar blumanski commented on May 18, 2024

That didn't work for me....

I have installed a fresh app with newest versions, uncommented use_frameworks, still not working on ios with the same error as above.

If I use cloudMessage stuff in the code, the app is crashing right after start.
More testing....

from react-native-firestack.

blumanski avatar blumanski commented on May 18, 2024

const firestack = new Firestack();

doesn't seem to configure firebase

from react-native-firestack.

bitcoinvsalts avatar bitcoinvsalts commented on May 18, 2024

Make sure you have 'Firebase/Analytics' on your podfile, here is mine:

target 'Fishii' do

Uncomment this line if you're using Swift or would like to use dynamic frameworks

use_frameworks!

Pods for Fishii

target 'FishiiTests' do
inherit! :search_paths
# Pods for testing
end

end
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'

[
'Firebase',
'Firebase/Core',
'Firebase/Auth',
'Firebase/Storage',
'Firebase/Database',
'Firebase/RemoteConfig',
'Firebase/Analytics',
'Firebase/Messaging'
].each do |lib|
pod lib
end

from react-native-firestack.

gemfile0 avatar gemfile0 commented on May 18, 2024

I resolved the same way with blumanski.

from react-native-firestack.

calitbk avatar calitbk commented on May 18, 2024

The same way with blumanski. drag into xcode instead of into directory in finder or visual studio code (i use this ide)

from react-native-firestack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.