{"id":19491722,"url":"https://github.com/rudderlabs/rudder-integration-appsflyer-ios","last_synced_at":"2026-02-26T01:14:54.384Z","repository":{"id":41856415,"uuid":"242116635","full_name":"rudderlabs/rudder-integration-appsflyer-ios","owner":"rudderlabs","description":"RudderStack's Native SDK integration support for AppsFlyer.","archived":false,"fork":false,"pushed_at":"2024-11-18T03:26:23.000Z","size":165,"stargazers_count":2,"open_issues_count":4,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-20T19:43:46.705Z","etag":null,"topics":["appsflyer","ios","rudderstack"],"latest_commit_sha":null,"homepage":"https://www.rudderstack.com","language":"Objective-C","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":"2020-02-21T10:46:52.000Z","updated_at":"2024-07-09T15:29:25.000Z","dependencies_parsed_at":"2023-12-14T05:24:23.302Z","dependency_job_id":"a966e19b-7d17-4e65-922f-82394ef1eb10","html_url":"https://github.com/rudderlabs/rudder-integration-appsflyer-ios","commit_stats":{"total_commits":47,"total_committers":11,"mean_commits":"4.2727272727272725","dds":0.6808510638297872,"last_synced_commit":"ef17b38de4f66b11ba5a42b7fadc3988d5d23cef"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Frudder-integration-appsflyer-ios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Frudder-integration-appsflyer-ios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Frudder-integration-appsflyer-ios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Frudder-integration-appsflyer-ios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rudderlabs","download_url":"https://codeload.github.com/rudderlabs/rudder-integration-appsflyer-ios/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":["appsflyer","ios","rudderstack"],"created_at":"2024-11-10T21:17:55.011Z","updated_at":"2026-02-26T01:14:54.378Z","avatar_url":"https://github.com/rudderlabs.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What is RudderStack?\n\n[RudderStack](https://rudderstack.com/) is a **customer data pipeline** tool for collecting, routing and processing data from your websites, apps, cloud tools, and data warehouse.\n\nMore information on RudderStack can be found [here](https://github.com/rudderlabs/rudder-server).\n\n## Integrating AppsFlyer with RudderStack's iOS SDK\n\n1. Add [Appsflyer](https://www.appsflyer.com) as a destination in the [Dashboard](https://app.rudderstack.com/) and provide ```devKey``` and `appleAppId` from your iTunes profile.\n\n2. Rudder-Appsflyer is available through [**CocoaPods**](https://cocoapods.org) and [**Swift Package Manager (SPM)**](https://www.swift.org/package-manager/).\n### CocoaPods\n```ruby\npod 'Rudder-Appsflyer'\n```\n### Swift Package Manager (SPM)\n\nYou can also add the RudderStack iOS SDK via Swift Package Mangaer, via one of the following two ways:\n\n* [Xcode](#xcode)\n* [Swift](#swift)\n\n#### Xcode\n\n* Go to **File** - **Add Package**, as shown:\n\n![Adding a package](https://user-images.githubusercontent.com/59817155/140903027-286a1d64-f5d5-4041-9827-47b6cef76a46.png)\n\n* Enter the package repository (`git@github.com/rudderlabs/rudder-integration-appsflyer-ios.git`) in the search bar.\n\n* In **Dependency Rule**, select **Up to Next Major Version** and enter `3.0.0` as the value, as shown:\n\n![Setting dependency](https://user-images.githubusercontent.com/59817155/145574696-8c849749-13e0-40d5-aacb-3fccb5c8e67d.png)\n\n* Select the project to which you want to add the package.\n\n* Finally, click on **Add Package**.\n\n#### Swift\n\nTo leverage package.swift, use the following snippet in your project:\n\n```swift\n// swift-tools-version:5.5\n// The swift-tools-version declares the minimum version of Swift required to build this package.\n\nimport PackageDescription\n\nlet package = Package(\n    name: \"Rudder-Appsflyer\",\n    products: [\n        // Products define the executables and libraries a package produces, and make them visible to other packages.\n        .library(\n            name: \"Rudder-Appsflyer\",\n            targets: [\"Rudder-Appsflyer\"]),\n    ],\n    dependencies: [\n        // Dependencies declare other packages that this package depends on.\n        .package(url: \"git@github.com/rudderlabs/rudder-integration-appsflyer-ios.git\", from: \"3.0.0\")\n    ],\n    targets: [\n        // Targets are the basic building blocks of a package. A target can define a module or a test suite.\n        // Targets can depend on other targets in this package, and on products in packages this package depends on.\n        .target(\n            name: \"Rudder-Appsflyer\",\n            dependencies: [\n                .product(name: \"Rudder-Appsflyer\", package: \"rudder-integration-appsflyer-ios\")\n            ]),\n        .testTarget(\n            name: \"RudderStackTests\",\n            dependencies: [\"Rudder-Appsflyer\"]),\n    ]\n)\n```\n\n3. Initialize the `Appsflyer` SDK before initializing the Rudder SDK as shown below:\n\n```\n#import \u003cAppsFlyerLib/AppsFlyerLib.h\u003e\n\n[[AppsFlyerLib shared] setAppsFlyerDevKey:\u003cdevKey\u003e];\n[[AppsFlyerLib shared] setAppleAppID:\u003cappleAppId\u003e];\n[AppsFlyerLib shared].isDebug = YES;\n[[AppsFlyerLib shared] start];\n```\n\n## Initialize ```RSClient```\n\nPut this code in your ```AppDelegate.m``` file under the method ```didFinishLaunchingWithOptions```\n```\nRSConfigBuilder *builder = [[RSConfigBuilder alloc] init];\n[builder withDataPlaneUrl:DATA_PLANE_URL];\n[builder withFactory:[RudderAppsflyerFactory instance]];\n[RSClient getInstance:WRITE_KEY config:[builder build]];\n```\n\n## Send Events\n\nFollow the steps from the [RudderStack iOS SDK](https://github.com/rudderlabs/rudder-sdk-ios).\n\n## Contact Us\n\nIf you come across any issues while configuring or using this integration, please feel free to start a conversation on our [Slack](https://github.com/rudderlabs/rudder-integration-braze-ios/pull/4) channel. We will be happy to help you.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudderlabs%2Frudder-integration-appsflyer-ios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frudderlabs%2Frudder-integration-appsflyer-ios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudderlabs%2Frudder-integration-appsflyer-ios/lists"}