{"id":19491682,"url":"https://github.com/rudderlabs/rudder-integration-firebase-swift","last_synced_at":"2025-04-25T19:32:20.633Z","repository":{"id":37747936,"uuid":"468234497","full_name":"rudderlabs/rudder-integration-firebase-swift","owner":"rudderlabs","description":"Repository for the RudderStack iOS SDK integration with Firebase","archived":false,"fork":false,"pushed_at":"2025-01-20T06:55:54.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-04-20T19:43:47.108Z","etag":null,"topics":["firebase","ios","rudderstack","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rudderlabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-10T07:16:26.000Z","updated_at":"2025-01-20T06:04:42.000Z","dependencies_parsed_at":"2024-01-22T14:46:18.157Z","dependency_job_id":"705209b6-1e71-4ffa-82f6-00d07c7dd9fe","html_url":"https://github.com/rudderlabs/rudder-integration-firebase-swift","commit_stats":{"total_commits":6,"total_committers":3,"mean_commits":2.0,"dds":0.5,"last_synced_commit":"70a3c3b8b1ca2ff3f5a25e28d1c5d9007dffc460"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Frudder-integration-firebase-swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Frudder-integration-firebase-swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Frudder-integration-firebase-swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Frudder-integration-firebase-swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rudderlabs","download_url":"https://codeload.github.com/rudderlabs/rudder-integration-firebase-swift/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250882637,"owners_count":21502341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["firebase","ios","rudderstack","swift"],"created_at":"2024-11-10T21:17:47.256Z","updated_at":"2025-04-25T19:32:20.599Z","avatar_url":"https://github.com/rudderlabs.png","language":"Swift","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://rudderstack.com/\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/59817155/121357083-1c571300-c94f-11eb-8cc7-ce6df13855c9.png\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cb\u003eThe Customer Data Platform for Developers\u003c/b\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://cocoapods.org/pods/RudderFirebase\"\u003e\n    \u003cimg src=\"https://img.shields.io/cocoapods/v/RudderFirebase.svg?style=flat\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e\n    \u003ca href=\"https://rudderstack.com\"\u003eWebsite\u003c/a\u003e\n    ·\n    \u003ca href=\"https://www.rudderstack.com/docs/stream-sources/rudderstack-sdk-integration-guides/rudderstack-ios-sdk/ios-v2/\"\u003eDocumentation\u003c/a\u003e\n    ·\n    \u003ca href=\"https://rudderstack.com/join-rudderstack-slack-community\"\u003eCommunity Slack\u003c/a\u003e\n  \u003c/b\u003e\n\u003c/p\u003e\n\n---\n# Integrating RudderStack iOS SDK with Firebase\n\nThis repository contains the resources and assets required to integrate the [RudderStack iOS SDK](https://www.rudderstack.com/docs/stream-sources/rudderstack-sdk-integration-guides/rudderstack-ios-sdk/ios-v2/) with [Firebase](https://firebase.google.com/).\n\nFor more information on configuring Firebase as a destination in RudderStack and the supported events and their mappings, refer to the [Firebase documentation](https://www.rudderstack.com/docs/destinations/analytics/firebase/).\n\n| Important: This device mode integration is supported for Firebase v8.15.0 and above.|\n| :---|\n\n## Step 1: Integrate the SDK with Firebase\n\n1. Add [Firebase](http://firebase.google.com) as a destination in the [RudderStack dashboard](https://app.rudderstack.com/).\n2. Download the `GoogleService-Info.plist` from your [Firebase console](https://console.firebase.google.com/) and place it in your project.\n3. `RudderFirebase` is available through [CocoaPods](https://cocoapods.org). To install it, add the following line to your `Podfile`:\n\n```ruby\npod 'RudderFirebase', '~\u003e 1.3.0'\n```\n4. Run the `pod install` command.\n\n## Step 2: Import the SDK\n\n### Swift\n\n```swift\nimport RudderFirebase\n```\n\n### Objective C\n\n```objectivec\n@import RudderFirebase;\n```\n\n## Step 3: Initialize the RudderStack client (`RSClient`)\n\nPlace the following in your `AppDelegate` under the `didFinishLaunchingWithOptions` method.\n\n### Objective C\n\n```objective-c\nRSConfig *config = [[RSConfig alloc] initWithWriteKey:WRITE_KEY];\n[config dataPlaneURL:DATA_PLANE_URL];\n[[RSClient sharedInstance] configureWith:config];\n[[RSClient sharedInstance] addDestination:[[RudderFirebaseDestination alloc] init]];\n```\n### Swift\n\n```swift\nlet config: RSConfig = RSConfig(writeKey: WRITE_KEY)\n            .dataPlaneURL(DATA_PLANE_URL)\nRSClient.sharedInstance().configure(with: config)\nRSClient.sharedInstance().addDestination(RudderFirebaseDestination())\n```\n\n## Step 4: Send events\n\nFollow the steps listed in the [RudderStack iOS SDK](https://github.com/rudderlabs/rudder-sdk-ios/tree/master-v2#sending-events) repo to start sending events to Firebase.\n\n## About RudderStack\n\nRudderStack is the **customer data platform** for developers. With RudderStack, you can build and deploy efficient pipelines that collect customer data from every app, website, and SaaS platform, then activate your data in your warehouse, business, and marketing tools.\n\n| Start building a better, warehouse-first CDP that delivers complete, unified data to every part of your customer data stack. Sign up for [RudderStack Cloud](https://app.rudderstack.com/signup?type=freetrial) today. |\n| :---|\n\n## Contact us\n\nFor queries on configuring or using this integration, start a conversation in our [Slack](https://rudderstack.com/join-rudderstack-slack-community) community.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudderlabs%2Frudder-integration-firebase-swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frudderlabs%2Frudder-integration-firebase-swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudderlabs%2Frudder-integration-firebase-swift/lists"}