Comments (13)
Hein,
Thanks for the note. You're the second to ask for this (thanks for making the issue). I disabled it previously as bit-code caused a build error previously. I don't recall the specific reason why I had it disabled, but I will investigate and report back.
from react-native-firestack.
Awesome! If I can be of any assistance let know.
Cheers, Hein
from react-native-firestack.
Btw, quick other question. I've integrated Firebase Crash reporting in my App. Complete with console.log interception and correct callstacks (both iOS and Android). Would you be interested in having this code to the firestack codebase?
from react-native-firestack.
Hein,
Absolutely! I've been meaning to put that on the feature list!
I have an initial doc on describing how it all works (https://github.com/fullstackreact/react-native-firestack/blob/master/Contributing.md). I think making it another module (akin to database
, analytics
, etc) makes the most sense that perhaps we can enable through a config setting.
What do you think?
from react-native-firestack.
Alright cool. It's really busy at the moment, but I'll try to create a pull request for it anytime soon.
from react-native-firestack.
Hein,
Let me know if you want some help on how to integrate it.
from react-native-firestack.
Yeah, well most of it is pretty straightforward to integrate. The only tricky thing is that when building the bundle, it also needs to generate sourcemaps. I've modified my scripts for it, but not sure how that would need to be done automatically when installing the firestack lib (or using react-native link
). I'll have a closer look when I have more time.
from react-native-firestack.
And yeah, having it in a separate module such as crash
would definitely also make sense to me. π
from react-native-firestack.
Btw, I was using the storage API's today and noticed the examples in the README are out of date.
It says firestack.uploadFile
but it should be firestack.storage.uploadFile
. But you're probably already aware of this :)
It works great btw =)
from react-native-firestack.
Oh yes! Can you make a PR with that update?
You can even make it by editing the README using the github editor (I believe through the site).
from react-native-firestack.
Okay, I recall why bit-code needed to be disabled. Firestack is built as a dynamic library, which needs to be linked against static libraries (React). Until we find a way to dynamically link Firestack to React, we can't enable bitcode.
Any suggestions?
from react-native-firestack.
As of now, I can't enable bitcode due:
- bitcode and the undefined flag are opposites (for obvious reasons, but we cannot build a library that cannot find it's symbols, but cannot build a dynamic library without using
-undefined
flag (yet). - Setting the build to a static library does not allow our app to find the Firebase libraries
- Setting the build to a dynamic library does not allow our app to use bitcode
I'm going to mark this as wontfix for now, until we can figure out a different build mechanism.
from react-native-firestack.
I think I fixed the bitcode
issue. I pushed the latest update to the feature/bitcode
branch, if you're interested in trying it out in your app.
Nevermind.
This is a pretty good reason for now using bitcode. Not necessarily that I agree that we shouldn't enable bitcode... For the time being, I'm okay with it being a requirement.
from react-native-firestack.
Related Issues (20)
- After installation, React/RCTBundleURLProvider.h file is no longer found
- How to delete file from storage? HOT 1
- Why is FirestackCloudMessaging module commented? HOT 1
- Authentication: Is there a method linkWithCredential HOT 2
- Android Verifier rejected due to bad method HOT 1
- avoid dependency conflict between play-services and firebase HOT 2
- Is the project stable & maintained for production use ? HOT 4
- Push Notifications - Here yet? HOT 1
- Docs: "Android requires the Google Play services to installed for authentication to function."
- setUserProperty implemented? HOT 2
- firestack storage not respond anything HOT 1
- Failed to upload file An unknown error occurred, please check the HTTP...
- signInWithCustomToken not running on android....Pls help
- Build error after linking firestack
- I am making a android chat app .Please give the solution
- Error:Execution failed for task ':app:transformClassesWithDexForDebug'. Give the Solution
- Getting the error βError:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. β when attempting to execute the project
- Native module cannot be null. HOT 1
- FirestackMessagingService.java:29: error: no suitable method found for putExtra(String,RemoteMessage)
- firebase
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-firestack.