b68ba94d2a
Root cause of the SPM runtime regressions (call/chat push when closed, photo save): our local file: plugins didn't function because their package.json `files` array omitted "Package.swift", so npm can drop it from node_modules on install → cap sync can't wire the plugin into the CapApp-SPM package → the plugin isn't loaded at runtime. Official plugins all list Package.swift in files; ours now do too. Also add build-log diagnostics (node_modules symlink/copy + Package.swift presence, and the generated CapApp-SPM/Package.swift) so the wiring is provable, not guessed. Reapplies the SPM migration (Step B) that was reverted. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
28 lines
560 B
JSON
28 lines
560 B
JSON
{
|
|
"name": "media-library",
|
|
"version": "1.0.0",
|
|
"description": "Save downloaded photos & videos into a named Photos album for Biz Connect",
|
|
"main": "dist/plugin.cjs.js",
|
|
"module": "dist/esm/index.js",
|
|
"types": "dist/esm/index.d.ts",
|
|
"author": "BizGaze",
|
|
"license": "MIT",
|
|
"files": [
|
|
"dist/",
|
|
"ios/",
|
|
"MediaLibrary.podspec",
|
|
"Package.swift"
|
|
],
|
|
"capacitor": {
|
|
"ios": {
|
|
"src": "ios"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@capacitor/core": "^8.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@capacitor/core": "^8.0.0"
|
|
}
|
|
}
|