appsflyer-capacitor-plugin 6.18.0-rc1 → 6.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Package.swift +35 -0
- package/ios/Plugin/AppsFlyerPlugin.swift +1 -1
- package/package.json +3 -2
package/Package.swift
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// swift-tools-version: 5.9
|
|
2
|
+
import PackageDescription
|
|
3
|
+
|
|
4
|
+
let package = Package(
|
|
5
|
+
name: "AppsflyerCapacitorPlugin",
|
|
6
|
+
platforms: [.iOS(.v15)],
|
|
7
|
+
products: [
|
|
8
|
+
.library(
|
|
9
|
+
name: "AppsflyerCapacitorPlugin",
|
|
10
|
+
targets: ["AppsFlyerPlugin"])
|
|
11
|
+
],
|
|
12
|
+
dependencies: [
|
|
13
|
+
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0"),
|
|
14
|
+
.package(url: "https://github.com/AppsFlyerSDK/AppsFlyerFramework-Static.git", from: "6.18.0"),
|
|
15
|
+
],
|
|
16
|
+
targets: [
|
|
17
|
+
.target(
|
|
18
|
+
name: "AppsFlyerPlugin",
|
|
19
|
+
dependencies: [
|
|
20
|
+
.product(name: "Capacitor", package: "capacitor-swift-pm"),
|
|
21
|
+
.product(name: "Cordova", package: "capacitor-swift-pm"),
|
|
22
|
+
.product(name: "AppsFlyerLib-Static", package: "AppsFlyerFramework-Static")
|
|
23
|
+
],
|
|
24
|
+
path: "ios/Plugin",
|
|
25
|
+
// The plugin uses the modern Capacitor 6+ CAPBridgedPlugin
|
|
26
|
+
// protocol for registration (see AppsFlyerPlugin.swift), so
|
|
27
|
+
// there is no .m file to compile. SwiftPM doesn't allow mixed
|
|
28
|
+
// Swift + Objective-C source in a single target anyway, so
|
|
29
|
+
// adding one back would break SPM consumers (Capacitor 8's
|
|
30
|
+
// default). Info.plist stays excluded; it's resource metadata,
|
|
31
|
+
// not source.
|
|
32
|
+
exclude: ["Info.plist"])
|
|
33
|
+
],
|
|
34
|
+
swiftLanguageVersions: [.v5]
|
|
35
|
+
)
|
|
@@ -57,7 +57,7 @@ public class AppsFlyerPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
57
57
|
CAPPluginMethod(name: "isSDKStopped", returnType: CAPPluginReturnPromise),
|
|
58
58
|
CAPPluginMethod(name: "validateAndLogInAppPurchaseV2", returnType: CAPPluginReturnPromise),
|
|
59
59
|
]
|
|
60
|
-
private let APPSFLYER_PLUGIN_VERSION = "6.18.0
|
|
60
|
+
private let APPSFLYER_PLUGIN_VERSION = "6.18.0"
|
|
61
61
|
private var conversion = true
|
|
62
62
|
private var oaoa = true
|
|
63
63
|
private var udl = false
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appsflyer-capacitor-plugin",
|
|
3
|
-
"version": "6.18.0
|
|
3
|
+
"version": "6.18.0",
|
|
4
4
|
"iosSdkVersion": "6.18.0",
|
|
5
5
|
"androidSdkVersion": "6.18.0",
|
|
6
|
-
"buildNumber": "
|
|
6
|
+
"buildNumber": "20",
|
|
7
7
|
"description": "AppsFlyer SDK plugin for Capacitor",
|
|
8
8
|
"main": "dist/plugin.cjs.js",
|
|
9
9
|
"module": "dist/esm/index.js",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"android/build.gradle",
|
|
15
15
|
"dist/",
|
|
16
16
|
"ios/Plugin/",
|
|
17
|
+
"Package.swift",
|
|
17
18
|
"src/",
|
|
18
19
|
"package.json",
|
|
19
20
|
"README.md",
|