2c1e1c7ca5
Photos/Files bug: the lightbox download handed nativeSaveFile a bare "/files/<id>" with no name, extension, or mime. Empty mime made bzSaveToPhotos short-circuit as "notmedia" — so saveToAlbum (and its permission prompt) never ran, and the image landed in the generic Files folder as an extension-less blob. Now nativeSaveFile trusts the server's Content-Type when the mime is unknown and appends a real extension (bzExtForMime/bzEnsureExt), so images reach the Images folder AND Photos. File preview: replace the @capacitor/share "share sheet" open with a new native FileOpener plugin (QLPreviewController). bzOpenFile now prefers a real Quick Look preview and only falls back to the share sheet if the plugin isn't in the build. Wired file-opener into mobile/package.json and the codemagic SPM diagnostics loop. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
36 lines
1.1 KiB
JSON
36 lines
1.1 KiB
JSON
{
|
|
"name": "biz-connect-mobile",
|
|
"version": "0.1.0",
|
|
"description": "Biz Connect mobile app — Capacitor shell loading the Connect web UI",
|
|
"scripts": {
|
|
"sync": "cap sync",
|
|
"assets": "capacitor-assets generate --android",
|
|
"assets:all": "capacitor-assets generate",
|
|
"android": "cap open android",
|
|
"ios": "cap open ios"
|
|
},
|
|
"dependencies": {
|
|
"audio-route": "file:plugins/audio-route",
|
|
"file-opener": "file:plugins/file-opener",
|
|
"media-library": "file:plugins/media-library",
|
|
"native-call": "file:plugins/native-call",
|
|
"share-inbox": "file:plugins/share-inbox",
|
|
"@capacitor-community/safe-area": "^8.0.0",
|
|
"@capacitor/android": "^8.0.0",
|
|
"@capacitor/app": "^8.0.0",
|
|
"@capacitor/camera": "^8.0.0",
|
|
"@capacitor/core": "^8.0.0",
|
|
"@capacitor/filesystem": "^8.0.0",
|
|
"@capacitor/ios": "^8.0.0",
|
|
"@capacitor/keyboard": "^8.0.0",
|
|
"@capacitor/share": "^8.0.0",
|
|
"@capacitor/push-notifications": "^8.0.0",
|
|
"@capacitor/splash-screen": "^8.0.0",
|
|
"@capacitor/status-bar": "^8.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@capacitor/assets": "^3.0.5",
|
|
"@capacitor/cli": "^8.0.0"
|
|
}
|
|
}
|