Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.

Commit ec60b55

Browse files
authored
Updated AnalyticsFilters to refer to Analytics-Swift-Live (#5)
1 parent 0367052 commit ec60b55

File tree

9 files changed

+51
-195
lines changed

9 files changed

+51
-195
lines changed
0 Bytes
Binary file not shown.

Examples/DestinationFiltersExample/DestinationFiltersExample.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 21 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Examples/DestinationFiltersExample/DestinationFiltersExample/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Segment
1010
import AnalyticsFilters
1111

1212
extension Analytics {
13-
static let config = Configuration(writeKey: "93EMLzmXzP6EJ3cJOhdaAgEVNnZjwRqA")
13+
static let config = Configuration(writeKey: "<YOUR WRITE KEY>")
1414
.flushAt(1)
1515
.trackApplicationLifecycleEvents(true)
1616

Package.resolved

Lines changed: 19 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ let package = Package(
1717
],
1818
dependencies: [
1919
// Dependencies declare other packages that this package depends on.
20-
.package(url: "https://github.com/segment-integrations/analytics-swift-live.git", .upToNextMajor(from: "1.0.0")),
20+
.package(url: "https://github.com/segment-integrations/analytics-swift-live.git", from: "3.1.0"),
2121
.package(url: "https://github.com/segmentio/analytics-swift.git", from: "1.4.7"),
22-
.package(url: "https://github.com/segmentio/substrata-swift.git", .upToNextMajor(from: "0.0.2")),
2322
],
2423
targets: [
2524
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
@@ -28,7 +27,6 @@ let package = Package(
2827
name: "AnalyticsFilters",
2928
dependencies: [
3029
.product(name: "Segment", package: "analytics-swift"),
31-
.product(name: "Substrata", package: "substrata-swift"),
3230
.product(name: "AnalyticsLive", package: "analytics-swift-live"),
3331
]),
3432
.testTarget(

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
# DestinationFilters-Swift
22

3-
Analytics-Swift plugin to enable the use of [Destination Filters](https://segment.com/docs/connections/destinations/destination-filters/) for destination plugins running in device-mode
4-
5-
NOTE: Device-mode Destination Filters for iOS is currently only available in Beta
3+
This package is deprecated. Please use [Analytics-Swift-Live](https://github.com/segment-integrations/analytics-swift-live), which includes this functionality.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
//
2+
// AnalyticsFilters.swift
3+
// AnalyticsFilters
4+
//
5+
// Created by Brandon Sneed on 11/26/24.
6+
//
7+
8+
@_exported import AnalyticsLive

0 commit comments

Comments
 (0)