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

+21-12
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,46 @@
33
{
44
"identity" : "analytics-swift",
55
"kind" : "remoteSourceControl",
6-
"location" : "git@github.com:segmentio/analytics-swift.git",
6+
"location" : "https://github.com/segmentio/analytics-swift.git",
77
"state" : {
8-
"revision" : "ddbe8ef9f15b4e8f2f61ddf713f421702f0d2a52",
9-
"version" : "1.3.1"
8+
"revision" : "f6acb751ea058e6a4077a876595f40a827350b0e",
9+
"version" : "1.7.1"
1010
}
1111
},
1212
{
13-
"identity" : "edgefn-swift",
13+
"identity" : "analytics-swift-live",
1414
"kind" : "remoteSourceControl",
15-
"location" : "git@github.com:segmentio/EdgeFn-Swift.git",
15+
"location" : "https://github.com/segment-integrations/analytics-swift-live.git",
1616
"state" : {
17-
"revision" : "ff97785da9ed61c2c76cdbe3987aa084a30eeeb3",
18-
"version" : "0.1.2"
17+
"revision" : "c9f590123e83287f203180134438a4dcb4869c69",
18+
"version" : "3.1.0"
19+
}
20+
},
21+
{
22+
"identity" : "jsonsafeencoding-swift",
23+
"kind" : "remoteSourceControl",
24+
"location" : "https://github.com/segmentio/jsonsafeencoding-swift.git",
25+
"state" : {
26+
"revision" : "af6a8b360984085e36c6341b21ecb35c12f47ebd",
27+
"version" : "2.0.0"
1928
}
2029
},
2130
{
2231
"identity" : "sovran-swift",
2332
"kind" : "remoteSourceControl",
2433
"location" : "https://github.com/segmentio/Sovran-Swift.git",
2534
"state" : {
26-
"revision" : "944c17d7c46bd95fc37f09136cabd172be5b413b",
27-
"version" : "1.0.3"
35+
"revision" : "24867f3e4ac62027db9827112135e6531b6f4051",
36+
"version" : "1.1.2"
2837
}
2938
},
3039
{
3140
"identity" : "substrata-swift",
3241
"kind" : "remoteSourceControl",
33-
"location" : "git@github.com:segmentio/substrata-swift.git",
42+
"location" : "https://github.com/segmentio/substrata-swift.git",
3443
"state" : {
35-
"revision" : "a673d773d0a6dab86a31cadcb771b45022e0c5ac",
36-
"version" : "0.0.2"
44+
"revision" : "93f36ace19f4ed5a47d2e57a7edd9de92c18a37b",
45+
"version" : "2.0.5"
3746
}
3847
}
3948
],

Examples/DestinationFiltersExample/DestinationFiltersExample/AppDelegate.swift

+1-1
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

+19-10
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,46 @@
33
{
44
"identity" : "analytics-swift",
55
"kind" : "remoteSourceControl",
6-
"location" : "git@github.com:segmentio/analytics-swift.git",
6+
"location" : "https://github.com/segmentio/analytics-swift.git",
77
"state" : {
8-
"revision" : "c8fd5fdf59299f00b3e4303a1b12a6d88893bf56",
9-
"version" : "1.4.7"
8+
"revision" : "f6acb751ea058e6a4077a876595f40a827350b0e",
9+
"version" : "1.7.1"
1010
}
1111
},
1212
{
1313
"identity" : "analytics-swift-live",
1414
"kind" : "remoteSourceControl",
1515
"location" : "https://github.com/segment-integrations/analytics-swift-live.git",
1616
"state" : {
17-
"branch" : "add-removeLivePlugins-function",
18-
"revision" : "049479fe4e18fcdda96ae2578e1f5be3d34f2e41"
17+
"revision" : "c9f590123e83287f203180134438a4dcb4869c69",
18+
"version" : "3.1.0"
19+
}
20+
},
21+
{
22+
"identity" : "jsonsafeencoding-swift",
23+
"kind" : "remoteSourceControl",
24+
"location" : "https://github.com/segmentio/jsonsafeencoding-swift.git",
25+
"state" : {
26+
"revision" : "af6a8b360984085e36c6341b21ecb35c12f47ebd",
27+
"version" : "2.0.0"
1928
}
2029
},
2130
{
2231
"identity" : "sovran-swift",
2332
"kind" : "remoteSourceControl",
2433
"location" : "https://github.com/segmentio/Sovran-Swift.git",
2534
"state" : {
26-
"revision" : "64f3b5150c282a34af4578188dce2fd597e600e3",
27-
"version" : "1.1.0"
35+
"revision" : "24867f3e4ac62027db9827112135e6531b6f4051",
36+
"version" : "1.1.2"
2837
}
2938
},
3039
{
3140
"identity" : "substrata-swift",
3241
"kind" : "remoteSourceControl",
33-
"location" : "git@github.com:segmentio/substrata-swift.git",
42+
"location" : "https://github.com/segmentio/substrata-swift.git",
3443
"state" : {
35-
"revision" : "a673d773d0a6dab86a31cadcb771b45022e0c5ac",
36-
"version" : "0.0.2"
44+
"revision" : "93f36ace19f4ed5a47d2e57a7edd9de92c18a37b",
45+
"version" : "2.0.5"
3746
}
3847
}
3948
],

Package.swift

+1-3
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

+1-3
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.
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)