https://github.com/segment-integrations/analytics-ios-integration-firebase
Segment's bundled integration for Firebase on iOS
https://github.com/segment-integrations/analytics-ios-integration-firebase
ios
Last synced: about 1 year ago
JSON representation
Segment's bundled integration for Firebase on iOS
- Host: GitHub
- URL: https://github.com/segment-integrations/analytics-ios-integration-firebase
- Owner: segment-integrations
- License: mit
- Created: 2016-07-25T18:56:29.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-03-26T12:08:14.000Z (about 2 years ago)
- Last Synced: 2025-04-11T06:36:45.810Z (about 1 year ago)
- Topics: ios
- Language: Objective-C
- Size: 8.76 MB
- Stars: 14
- Watchers: 5
- Forks: 96
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Segment-Firebase
[](https://circleci.com/gh/segment-integrations/analytics-ios-integration-firebase)
[](http://cocoapods.org/pods/Segment-Firebase)
[](http://cocoapods.org/pods/Segment-Firebase)
[](https://cocoapods.org/pods/Segment-Firebase)
## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Requirements
## Installation
Segment-Firebase is currently only available through [CocoaPods](http://cocoapods.org).
Register your app in the [Firebase console](https://console.firebase.google.com/) 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
```
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](https://firebase.google.com/docs/analytics/). You can see the other available [Firebase pods and features here](https://firebase.google.com/docs/ios/setup).
## License
Segment-Firebase is available under the MIT license. See the LICENSE file for more info.