-
Notifications
You must be signed in to change notification settings - Fork 33
feat: Adding Swift Package Manager support #137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
51e5484
Starting on adding SPM support
theproducer 529774a
Moving ios-engine into SPM package
theproducer faaa7d6
Bumping ios deployment target
theproducer c21df2f
Making adjustments for SPM and Cocoapds compatibility
theproducer 2999162
Updating test apps
theproducer 9184d68
Fixing iOS unit tests
theproducer 61d0a83
Using installed github runner ios version
theproducer ad3f228
Fixing min iOS version
theproducer 24aadab
adding changeset
theproducer 206bb65
Removing android project from SPM example app
theproducer c8a959c
Updating lockfile
theproducer 348feba
Updating plugin ios verify scripts for SPM
theproducer 45fbe19
Updating .gitignore for SPM
theproducer 888c9ab
Adding PNPM to unit test job
theproducer 853aaba
Updating Android capacitor plugin name to match changes
theproducer d6a27c9
re-rendering docs?
theproducer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,5 @@ | ||
| --- | ||
| "@capacitor/background-runner": minor | ||
| --- | ||
|
|
||
| iOS: Adding support for Swift Package Manager |
This file contains hidden or 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 hidden or 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 @@ | ||
| # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
|
||
| # dependencies | ||
| /node_modules | ||
| /.pnp | ||
| .pnp.js | ||
|
|
||
| # testing | ||
| /coverage | ||
|
|
||
| # production | ||
| /build | ||
|
|
||
| # misc | ||
| .DS_Store | ||
| .env.local | ||
| .env.development.local | ||
| .env.test.local | ||
| .env.production.local | ||
| .vscode | ||
| .idea | ||
|
|
||
| npm-debug.log* | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
|
|
||
| # Optional eslint cache | ||
| .eslintcache |
This file contains hidden or 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,84 @@ | ||
| # Change Log | ||
|
|
||
| ## 1.0.9 | ||
|
|
||
| ### Patch Changes | ||
|
|
||
| - Updated dependencies [2eda1d1] | ||
| - Updated dependencies [b76dbd4] | ||
| - Updated dependencies [a484f9f] | ||
| - Updated dependencies [ef998c1] | ||
| - Updated dependencies [8ef1ca0] | ||
| - @capacitor/background-runner@2.2.0 | ||
|
|
||
| ## 1.0.8 | ||
|
|
||
| ### Patch Changes | ||
|
|
||
| - Updated dependencies [0e13e79] | ||
| - @capacitor/background-runner@2.1.0 | ||
|
|
||
| ## 1.0.7 | ||
|
|
||
| ### Patch Changes | ||
|
|
||
| - Updated dependencies [4cc44dd] | ||
| - Updated dependencies [7adb608] | ||
| - Updated dependencies [36d9a61] | ||
| - Updated dependencies [4957271] | ||
| - Updated dependencies [3194a7d] | ||
| - @capacitor/background-runner@2.0.0 | ||
|
|
||
| ## 1.0.6 | ||
|
|
||
| ### Patch Changes | ||
|
|
||
| - Updated dependencies [174f2fe] | ||
| - Updated dependencies [11124d2] | ||
| - Updated dependencies [142e96d] | ||
| - Updated dependencies [18f72b6] | ||
| - Updated dependencies [d6511b2] | ||
| - Updated dependencies [b09f30e] | ||
| - @capacitor/background-runner@1.1.0 | ||
|
|
||
| All notable changes to this project will be documented in this file. | ||
| See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
|
|
||
| ## [1.0.5](https://github.com/ionic-team/capacitor-background-runner/compare/1.0.4...1.0.5) (2023-08-17) | ||
|
|
||
| **Note:** Version bump only for package example-app | ||
|
|
||
| ## [1.0.4](https://github.com/ionic-team/capacitor-background-runner/compare/1.0.3...1.0.4) (2023-08-10) | ||
|
|
||
| **Note:** Version bump only for package example-app | ||
|
|
||
| ## [1.0.3](https://github.com/ionic-team/capacitor-background-runner/compare/1.0.2...1.0.3) (2023-08-10) | ||
|
|
||
| **Note:** Version bump only for package example-app | ||
|
|
||
| ## [1.0.2](https://github.com/ionic-team/capacitor-background-runner/compare/1.0.1...1.0.2) (2023-08-10) | ||
|
|
||
| **Note:** Version bump only for package example-app | ||
|
|
||
| ## [1.0.1](https://github.com/ionic-team/capacitor-background-runner/compare/1.0.0...1.0.1) (2023-08-09) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - setting JavaVersion to 17 ([#14](https://github.com/ionic-team/capacitor-background-runner/issues/14)) ([5844d0c](https://github.com/ionic-team/capacitor-background-runner/commit/5844d0c814378b9c4ebafe752c297d7110e8c2ba)) | ||
| - Supporting post install script on Windows ([#12](https://github.com/ionic-team/capacitor-background-runner/issues/12)) ([75b4ed0](https://github.com/ionic-team/capacitor-background-runner/commit/75b4ed0cdb44c4caa506c9969b7fdbbe2e122779)) | ||
|
|
||
| # 1.0.0 (2023-07-18) | ||
|
|
||
| ### Features | ||
|
|
||
| - Android JS Engine / Plugin ([#6](https://github.com/ionic-team/enterprise-background-runner/issues/6)) ([1f52918](https://github.com/ionic-team/enterprise-background-runner/commit/1f52918784d91558a3e7798d5449887d7fb5cd32)) | ||
| - Capacitor Plugin ([#3](https://github.com/ionic-team/enterprise-background-runner/issues/3)) ([ffac505](https://github.com/ionic-team/enterprise-background-runner/commit/ffac505560c144d2478ed6de49dc7d0c5130b15c)) | ||
| - **iOS:** Adding Capacitor Web APIs ([#4](https://github.com/ionic-team/enterprise-background-runner/issues/4)) ([7daa335](https://github.com/ionic-team/enterprise-background-runner/commit/7daa3350335989e8caf20c7258074a6dfa5d2cfe)) | ||
|
|
||
| # 1.0.0-rc.1 (2023-07-18) | ||
|
|
||
| ### Features | ||
|
|
||
| - Android JS Engine / Plugin ([#6](https://github.com/ionic-team/capacitor-background-runner/issues/6)) ([1f52918](https://github.com/ionic-team/capacitor-background-runner/commit/1f52918784d91558a3e7798d5449887d7fb5cd32)) | ||
| - Capacitor Plugin ([#3](https://github.com/ionic-team/capacitor-background-runner/issues/3)) ([ffac505](https://github.com/ionic-team/capacitor-background-runner/commit/ffac505560c144d2478ed6de49dc7d0c5130b15c)) | ||
| - **iOS:** Adding Capacitor Web APIs ([#4](https://github.com/ionic-team/capacitor-background-runner/issues/4)) ([7daa335](https://github.com/ionic-team/capacitor-background-runner/commit/7daa3350335989e8caf20c7258074a6dfa5d2cfe)) |
This file contains hidden or 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,22 @@ | ||
| /// <reference types="@capacitor/background-runner" /> | ||
|
|
||
| import { CapacitorConfig } from "@capacitor/cli"; | ||
|
|
||
| const config: CapacitorConfig = { | ||
| appId: "io.ionic.starter", | ||
| appName: "example-app", | ||
| webDir: "build", | ||
| bundledWebRuntime: false, | ||
| plugins: { | ||
| BackgroundRunner: { | ||
| label: "com.example.background.task", | ||
| src: "background.js", | ||
| event: "monitorLocation", | ||
| repeat: true, | ||
| interval: 2, | ||
| autoStart: false, | ||
| }, | ||
| }, | ||
| }; | ||
|
|
||
| export default config; |
This file contains hidden or 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,7 @@ | ||
| { | ||
| "name": "example-app", | ||
| "integrations": { | ||
| "capacitor": {} | ||
| }, | ||
| "type": "react" | ||
| } |
This file contains hidden or 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,13 @@ | ||
| App/build | ||
| App/Pods | ||
| App/output | ||
| App/App/public | ||
| DerivedData | ||
| xcuserdata | ||
|
|
||
| # Cordova plugins for Capacitor | ||
| capacitor-cordova-ios-plugins | ||
|
|
||
| # Generated Config files | ||
| App/App/capacitor.config.json | ||
| App/App/config.xml |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.