Skip to content

Commit 53743f0

Browse files
authored
Develop (#3)
* Added objc support. * removed log statements * updated segment version and code
1 parent bf3302f commit 53743f0

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

Package.resolved

Lines changed: 4 additions & 4 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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ let package = Package(
2222
.package(
2323
name: "Segment",
2424
url: "https://github.com/segmentio/analytics-swift.git",
25-
from: "1.4.0"
25+
from: "1.4.1"
2626
),
2727
.package(
2828
name: "AppsFlyerLib",

Sources/SegmentAppsFlyer/AppsFlyerDestination.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ import Segment
3434
import AppsFlyerLib
3535

3636
@objc(SEGAppsFlyerDestination)
37-
public class ObjCSegmentAppsFlyer: NSObject, ObjCDestination, ObjCDestinationShim {
38-
public func instance() -> DestinationPlugin { return AppsFlyerDestination() }
37+
public class ObjCSegmentAppsFlyer: NSObject, ObjCPlugin, ObjCPluginShim {
38+
public func instance() -> EventPlugin { return AppsFlyerDestination() }
3939
}
4040

4141
public class AppsFlyerDestination: UIResponder, DestinationPlugin {
@@ -261,6 +261,7 @@ extension AppsFlyerDestination: DeepLinkDelegate, UIApplicationDelegate {
261261
case .failure:
262262
return
263263
case .found:
264+
return
264265
}
265266

266267
guard let deepLinkObj:DeepLink = result.deepLink else { return }

0 commit comments

Comments
 (0)