[iOS] Add Firebase to Chromium!

188 views
Skip to first unread message

Alex

unread,
Mar 23, 2017, 9:55:43 AM3/23/17
to Chromium-dev
Hi all!

I try to add Firebase.framework in my Chromium project for tracking and push notification. But i don't know how to add a THIRD PARTY FRAMEWORK in to project via NINJA build.

In this project, I see building framework from source code, but i cant see building with THIRD PARTY FRAMEWORK (ex: Firebase.framwework...).

Can anyone help me to resolve this problem?

Thanks!

Jason Liu

unread,
Mar 23, 2017, 10:26:21 AM3/23/17
to alexk...@gmail.com, Chromium-dev

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/112c0ed9-c7e0-43cd-a7c6-6d4bf3828d52%40chromium.org.

German Azcona

unread,
May 8, 2017, 1:07:01 PM5/8/17
to Chromium-dev
Thanks for pointing that out Jason. But I found those instructions to be confusing and incomplete.

Let take this apart a bit.

What Firebase says it needs:

1. Include the "GoogleService-Info.plist" file to the project.
For this I copied the file to src/ios/chrome/app/ and added the source on the src/ios/chrome/app/BUILD.gn file.
 
2. Add the framework files to the project.
Since I don't feel it can be added with cocoapods, I am trying to use the manual way. The instructions are long and require a lot of other things I have no idea how to achieve on the chromium project. Such as:
a. Where do I add the .framework files on the chromium directory? 
b. How do I enable -ObjC flag.
 
 
3. Import and initialize. No idea how to even import this newly added framework. I somehow feel @import Firebase; (as explained by the Firebase documentation) will not be enough.
 

Did you manage to get these working, Alex?

M shauket

unread,
Mar 19, 2019, 11:48:41 PM3/19/19
to Chromium-dev
Hi @Alex and @German are you able to add third party framework ?
Reply all
Reply to author
Forward
0 new messages