Skip to content

Commit ea3cab2

Browse files
fix(ios): Opening local files without file:// (#14)
* fix(ios): Opening local files without file:// * chore: sync dependencies * chore: Update native lib * chore: update ios example app
1 parent d4f3d78 commit ea3cab2

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

packages/capacitor-plugin/CapacitorFileViewer.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
1212
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
1313
s.source_files = 'ios/Sources/FileViewerPlugin/*.{swift,h,m,c,cc,mm,cpp}'
1414
s.ios.deployment_target = '14.0'
15-
s.dependency 'IONFileViewerLib', spec='~> 1.0.1'
15+
s.dependency 'IONFileViewerLib', spec='~> 1.0.3'
1616
s.dependency 'Capacitor'
1717
s.swift_version = '5.1'
1818
end

packages/capacitor-plugin/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ let package = Package(
1111
],
1212
dependencies: [
1313
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "7.0.0"),
14-
.package(url: "https://github.com/ionic-team/ion-ios-fileviewer.git", from: "1.0.1")
14+
.package(url: "https://github.com/ionic-team/ion-ios-fileviewer.git", from: "1.0.3")
1515
],
1616
targets: [
1717
.target(

packages/capacitor-plugin/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/example-app-capacitor/android/capacitor.settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ include ':capacitor-splash-screen'
99
project(':capacitor-splash-screen').projectDir = new File('../node_modules/@capacitor/splash-screen/android')
1010

1111
include ':capacitor-file-viewer'
12-
project(':capacitor-file-viewer').projectDir = new File('../node_modules/@capacitor/file-viewer/android')
12+
project(':capacitor-file-viewer').projectDir = new File('../../capacitor-plugin/android')

packages/example-app-capacitor/ios/App/Podfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ PODS:
44
- CapacitorCamera (7.0.0):
55
- Capacitor
66
- CapacitorCordova (7.0.0)
7-
- CapacitorFileViewer (1.0.2):
7+
- CapacitorFileViewer (1.0.4):
88
- Capacitor
9-
- IONFileViewerLib (~> 1.0.1)
9+
- IONFileViewerLib (~> 1.0.3)
1010
- CapacitorSplashScreen (7.0.0):
1111
- Capacitor
12-
- IONFileViewerLib (1.0.1)
12+
- IONFileViewerLib (1.0.3)
1313

1414
DEPENDENCIES:
1515
- "Capacitor (from `../../node_modules/@capacitor/ios`)"
@@ -38,9 +38,9 @@ SPEC CHECKSUMS:
3838
Capacitor: fcbee427ff437f414bbb3bc2d39364ad9bd2b8a5
3939
CapacitorCamera: 777ddf61d727754fcda0b92303ae09ea3765d7b7
4040
CapacitorCordova: 345f93b7edd121db98e4ec20ac94d6d7bcaf7e48
41-
CapacitorFileViewer: 4f6fcd47151b904e2d7cf57ebd7dd3739c10da9e
41+
CapacitorFileViewer: 346f0bf5e3520be1ad86f8299f2990b4936cba34
4242
CapacitorSplashScreen: f4e58cc02aafd91c7cbaf32a3d1b44d02a115125
43-
IONFileViewerLib: 9e6b09451afa7705545d4d20e2974b4f1555390c
43+
IONFileViewerLib: 574758ebcaa4b1543669b1c9708f1970e1172b29
4444

4545
PODFILE CHECKSUM: 77a7484d3339f92395579b7104fae0ab5447d5b7
4646

packages/example-app-capacitor/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)