To run the example project, clone the repo, and run pod install
from the Example directory first.
Segment-Firebase is currently only available through CocoaPods.
Register your app in the Firebase console and add the GoogleService-Info.plist
to the root of your Xcode project.
Add the following dependency to your Podfile:
pod 'Segment-Firebase'
After adding the dependency and running pod install
, import the integration:
#import <Segment-Firebase/SEGFirebaseIntegrationFactory.h>
Finally, register the dependency with the Segment SDK:
[config use:[SEGFirebaseIntegrationFactory instance]];
By default, Segment only bundles Firebase/Core
which is Firebase's Analytics offering. You can see the other available Firebase pods and features here.
Segment-Firebase is available under the MIT license. See the LICENSE file for more info.