Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/capacitor-plugin/CapacitorFileTransfer.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Pod::Spec.new do |s|
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
s.source_files = 'ios/Sources/FileTransferPlugin/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '14.0'
s.dependency 'IONFileTransferLib', spec='~> 1.0'
s.dependency 'IONFileTransferLib', spec='~> 1.0.1'
s.dependency 'Capacitor'
s.swift_version = '5.1'
end
7 changes: 4 additions & 3 deletions packages/capacitor-plugin/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ let package = Package(
products: [
.library(
name: "CapacitorFileTransfer",
targets: ["FileTransferPlugin"])
targets: ["FileTransferPlugin"]
)
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "7.0.0")
],
targets: [
.binaryTarget(
name: "IONFileTransferLib",
url: "https://github.com/ionic-team/ion-ios-filetransfer/releases/download/1.0.0/IONFileTransferLib.zip",
checksum: "59f5bbf1c7dfe5c5f872ad4d10a0bd0b8e57bd21cf18ff8ac68e9c4a65ec3c1e" // sha-256
url: "https://github.com/ionic-team/ion-ios-filetransfer/releases/download/1.0.1/IONFileTransferLib.zip",
checksum: "0a239f814fa3746f68850246855d974c9795f60342897413212b2b46690f70d5" // sha-256
),
.target(
name: "FileTransferPlugin",
Expand Down
172 changes: 170 additions & 2 deletions packages/capacitor-plugin/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/example-app/android/capacitor.settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include ':capacitor-android'
project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/android/capacitor')

include ':capacitor-file-transfer'
project(':capacitor-file-transfer').projectDir = new File('../node_modules/@capacitor/file-transfer/android')
project(':capacitor-file-transfer').projectDir = new File('../../capacitor-plugin/android')

include ':capacitor-file-viewer'
project(':capacitor-file-viewer').projectDir = new File('../node_modules/@capacitor/file-viewer/android')
Expand Down
10 changes: 5 additions & 5 deletions packages/example-app/ios/App/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ PODS:
- CapacitorFilesystem (7.1.3):
- Capacitor
- IONFilesystemLib (~> 1.0)
- CapacitorFileTransfer (1.0.2):
- CapacitorFileTransfer (1.0.4):
- Capacitor
- IONFileTransferLib (~> 1.0)
- IONFileTransferLib (~> 1.0.1)
- CapacitorFileViewer (1.0.2):
- Capacitor
- IONFileViewerLib (~> 1.0.1)
- IONFilesystemLib (1.0.1)
- IONFileTransferLib (1.0.0)
- IONFileTransferLib (1.0.1)
- IONFileViewerLib (1.0.1)

DEPENDENCIES:
Expand Down Expand Up @@ -44,10 +44,10 @@ SPEC CHECKSUMS:
Capacitor: fcbee427ff437f414bbb3bc2d39364ad9bd2b8a5
CapacitorCordova: 345f93b7edd121db98e4ec20ac94d6d7bcaf7e48
CapacitorFilesystem: 8e48bb1a036caf0d01605eb4bfe74b880cca8f80
CapacitorFileTransfer: 491faa027f38270a6ce10ef27b40804cb2dfe330
CapacitorFileTransfer: 776bdbc7d71a490a79c81ea97bf25f069c632106
CapacitorFileViewer: 4f6fcd47151b904e2d7cf57ebd7dd3739c10da9e
IONFilesystemLib: 89258b8e3e85465da93127d25d7ce37f977e8a6f
IONFileTransferLib: 06c85b3f8dd9d46f39e2172213f45d810708c61e
IONFileTransferLib: b268561ab0ba7f386eea228c4986b55ba0146ca9
IONFileViewerLib: 9e6b09451afa7705545d4d20e2974b4f1555390c

PODFILE CHECKSUM: 76668ea156e59ff21841d22849461df8faf9b06b
Expand Down
3 changes: 2 additions & 1 deletion packages/example-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.