Skip to content

Commit

Permalink
Add copy/save media support for Android 9 (aeharding#657)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeharding authored Aug 14, 2023
1 parent 6a0d365 commit 6abb0d9
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
1 change: 1 addition & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@
<!-- Permissions -->

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="28" />
</manifest>
2 changes: 1 addition & 1 deletion android/capacitor.settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ include ':capacitor-plugin-safe-area'
project(':capacitor-plugin-safe-area').projectDir = new File('../node_modules/.pnpm/capacitor-plugin-safe-area@2.0.5_@capacitor+core@5.2.3/node_modules/capacitor-plugin-safe-area/android')

include ':capacitor-stash-media'
project(':capacitor-stash-media').projectDir = new File('../node_modules/.pnpm/capacitor-stash-media@0.0.3_@capacitor+core@5.2.3/node_modules/capacitor-stash-media/android')
project(':capacitor-stash-media').projectDir = new File('../node_modules/.pnpm/capacitor-stash-media@0.0.4_@capacitor+core@5.2.3/node_modules/capacitor-stash-media/android')
2 changes: 1 addition & 1 deletion ios/App/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def capacitor_pods
pod 'CapacitorAndroidNavMode', :path => '../../node_modules/.pnpm/capacitor-android-nav-mode@0.0.1_@capacitor+core@5.2.3/node_modules/capacitor-android-nav-mode'
pod 'CapacitorApplicationContext', :path => '../../node_modules/.pnpm/capacitor-application-context@0.0.1_@capacitor+core@5.2.3/node_modules/capacitor-application-context'
pod 'CapacitorPluginSafeArea', :path => '../../node_modules/.pnpm/capacitor-plugin-safe-area@2.0.5_@capacitor+core@5.2.3/node_modules/capacitor-plugin-safe-area'
pod 'CapacitorStashMedia', :path => '../../node_modules/.pnpm/capacitor-stash-media@0.0.3_@capacitor+core@5.2.3/node_modules/capacitor-stash-media'
pod 'CapacitorStashMedia', :path => '../../node_modules/.pnpm/capacitor-stash-media@0.0.4_@capacitor+core@5.2.3/node_modules/capacitor-stash-media'
end

target 'App' do
Expand Down
10 changes: 5 additions & 5 deletions ios/App/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ PODS:
- Capacitor
- CapacitorShare (5.0.6):
- Capacitor
- CapacitorStashMedia (0.0.3):
- CapacitorStashMedia (0.0.4):
- Capacitor
- SDWebImage
- CapacitorStatusBar (5.0.6):
Expand All @@ -38,7 +38,7 @@ DEPENDENCIES:
- "CapacitorKeyboard (from `../../node_modules/.pnpm/@capacitor+keyboard@5.0.6_@capacitor+core@5.2.3/node_modules/@capacitor/keyboard`)"
- "CapacitorPluginSafeArea (from `../../node_modules/.pnpm/capacitor-plugin-safe-area@2.0.5_@capacitor+core@5.2.3/node_modules/capacitor-plugin-safe-area`)"
- "CapacitorShare (from `../../node_modules/.pnpm/@capacitor+share@5.0.6_@capacitor+core@5.2.3/node_modules/@capacitor/share`)"
- "CapacitorStashMedia (from `../../node_modules/.pnpm/capacitor-stash-media@0.0.3_@capacitor+core@5.2.3/node_modules/capacitor-stash-media`)"
- "CapacitorStashMedia (from `../../node_modules/.pnpm/capacitor-stash-media@0.0.4_@capacitor+core@5.2.3/node_modules/capacitor-stash-media`)"
- "CapacitorStatusBar (from `../../node_modules/.pnpm/@capacitor+status-bar@5.0.6_@capacitor+core@5.2.3/node_modules/@capacitor/status-bar`)"

SPEC REPOS:
Expand Down Expand Up @@ -67,7 +67,7 @@ EXTERNAL SOURCES:
CapacitorShare:
:path: "../../node_modules/.pnpm/@capacitor+share@5.0.6_@capacitor+core@5.2.3/node_modules/@capacitor/share"
CapacitorStashMedia:
:path: "../../node_modules/.pnpm/capacitor-stash-media@0.0.3_@capacitor+core@5.2.3/node_modules/capacitor-stash-media"
:path: "../../node_modules/.pnpm/capacitor-stash-media@0.0.4_@capacitor+core@5.2.3/node_modules/capacitor-stash-media"
CapacitorStatusBar:
:path: "../../node_modules/.pnpm/@capacitor+status-bar@5.0.6_@capacitor+core@5.2.3/node_modules/@capacitor/status-bar"

Expand All @@ -82,10 +82,10 @@ SPEC CHECKSUMS:
CapacitorKeyboard: b978154b024a5f65e044908e37d15b7de58b9d12
CapacitorPluginSafeArea: bfdd714827dbd89fb44fea286beec996e1b0c5c4
CapacitorShare: cd41743331cb71d217c029de54b681cbd91e0fcc
CapacitorStashMedia: c2a4d719906c1862007f3562194018dfeda87451
CapacitorStashMedia: 3320d13a65938e7a1185ee4ab700212cf904367d
CapacitorStatusBar: 565c0a1ebd79bb40d797606a8992b4a105885309
SDWebImage: 750adf017a315a280c60fde706ab1e552a3ae4e9

PODFILE CHECKSUM: 513f55da4f15f9fd9dc84fe0653db7dd2c4240e2
PODFILE CHECKSUM: b916aeea7ba283acd52f451eedbb48da80cab8b1

COCOAPODS: 1.12.1
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"capacitor-application-context": "^0.0.1",
"capacitor-plugin-safe-area": "^2.0.5",
"capacitor-set-version": "^2.0.13",
"capacitor-stash-media": "^0.0.3",
"capacitor-stash-media": "^0.0.4",
"date-fns": "^2.30.0",
"dexie": "^3.2.4",
"dexie-react-hooks": "^1.1.6",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

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

0 comments on commit 6abb0d9

Please sign in to comment.