Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any plans to support React Native? #59

Closed
joonhocho opened this issue May 19, 2016 · 13 comments
Closed

Any plans to support React Native? #59

joonhocho opened this issue May 19, 2016 · 13 comments

Comments

@joonhocho
Copy link

Any plans to support React Native both ios and android in the future?

@asciimike
Copy link
Contributor

It looks like there are a number of people asking about this on our Google Group, which is probably going to be the better place to discuss.

@joonhocho
Copy link
Author

thanks!

Regards,
Joon Ho Cho

On Sun, May 22, 2016 at 10:40 AM, Michael McDonald <notifications@github.com

wrote:

It looks like there are a number of people asking about this on our Google
Group https://groups.google.com/forum/#!forum/firebase-talk, which is
probably going to be the better place to discuss.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#59 (comment)

@sbefort
Copy link

sbefort commented Jun 1, 2016

+1

3 similar comments
@sibelius
Copy link

👍

@sagivo
Copy link

sagivo commented Nov 22, 2016

+1

@MichelDiz
Copy link

+1

@morganchen12
Copy link
Contributor

I currently have no plans to support React Native. I know RN generates an xcodeproj which you can presumably use CocoaPods with; what are we missing in this project for RN support?

@MichelDiz
Copy link

MichelDiz commented Apr 14, 2017

Some devs are moving to RN and new ones are coming. RN is improving support to multi-platform and that means "popularity". Your code can be used by far for more projects. Even creating a module whose support only the IOS has value. You can open the door to others fork you and support others platforms.

The question is - Why not? Enjouy the Hype. Get traction, get atention. Improove your self! We thankful!

@morganchen12
Copy link
Contributor

I'm aware of the benefits of RN, but we don't have plans because supporting platforms comes with a non-trivial maintenance cost. The reason I ask what FirebaseUI is missing is because I'd like to know what that cost is, to assess if supporting RN is worthwhile.

Can you not already use CocoaPods with RN and then just call FirebaseUI code natively?

@joonhocho
Copy link
Author

joonhocho commented Apr 15, 2017

@morganchen12
Yes, it can be done.
In my own experience, creating a RN bridge for iOS or Android native libraries is not too hard, but also not trivial. It requires a bit of experience on both iOS and Android,
thus Objective-C/Swift and Java. I have done it for few SDKs such as Google SignIn or LinkedIn SDK, and each took around a week to setup and publish without any automatic tests. They also require some maintenance as people file issues on different platforms and devices.
They were rather simple ones as they only wrap around simple api calls, but FirebaseUI involves UI interactions, so I'd assume there will be more issues and edge cases.
I just hope Firebase officially supports React Native as it seems like a promising and increasingly popular platform that will be around for a while.
I'd prefer to install official library and not worry about versions, breaking changes, and testing edge cases, and so on, than bridging it manually.
I created my own UI on top of firebase SDK for my project, so this doesn't really apply to me at the moment, but I think community will greatly appreciate it for sure when they want to quick start some projects.

@MichelDiz
Copy link

MichelDiz commented Apr 15, 2017

Okay, I'm determined to do that. But I do not know where to start (I started to Google it). Are there any articles that teach how to do this work? step by step? IOS and Android. In particular RN. How maintenance is costly, I think doing something individual (even if complicated) is the best thing to do so.

@joonhocho
Copy link
Author

joonhocho commented Apr 15, 2017

@MichelDiz You can look at https://facebook.github.io/react-native/docs/native-modules-ios.html , https://facebook.github.io/react-native/docs/native-modules-android.html native modules sections for iOS and Android. They are helpful, then also look at some existing projects on GitHub.

@morganchen12
Copy link
Contributor

Thanks @joonhocho.

Increasing adoption of RN will definitely be the biggest driver in FirebaseUI adopting RN support, but it probably still won't be a priority for a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants