forked from ionic-team/capacitor-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(push-notifications): Add SPM support to push-notifications (ion…
- Loading branch information
1 parent
e829b72
commit d17ea3a
Showing
20 changed files
with
70 additions
and
847 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"pins" : [ | ||
{ | ||
"identity" : "capacitor6-spm-test", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/ionic-team/capacitor6-spm-test.git", | ||
"state" : { | ||
"branch" : "main", | ||
"revision" : "cf4ff2bc1dffb14adc27b1e5a09ac37e85424b99" | ||
} | ||
} | ||
], | ||
"version" : 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// swift-tools-version: 5.9 | ||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "CapacitorPushNotifications", | ||
platforms: [.iOS(.v13)], | ||
products: [ | ||
.library( | ||
name: "PushNotificationsPlugin", | ||
targets: ["PushNotificationsPlugin"]) | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/ionic-team/capacitor6-spm-test.git", branch: "main") | ||
], | ||
targets: [ | ||
.target( | ||
name: "PushNotificationsPlugin", | ||
dependencies: [ | ||
.product(name: "Capacitor", package: "capacitor6-spm-test"), | ||
.product(name: "Cordova", package: "capacitor6-spm-test") | ||
], | ||
path: "ios/Sources/PushNotificationsPlugin"), | ||
.testTarget( | ||
name: "PushNotificationsPluginTests", | ||
dependencies: ["PushNotificationsPlugin"], | ||
path: "ios/Tests/PushNotificationsPluginTests") | ||
] | ||
) |
Oops, something went wrong.