36d51ba40d
Telemetry only showed 'override didn't throw', and the web __BUILD tag can't tell native binaries apart, so we couldn't see WHERE iOS actually routed the audio or which plugin build ran. setSpeaker now resolves with the real currentRoute output port (Receiver/Speaker/Bluetooth), the live AVAudioSession category/mode/options, and a native-build marker (1.0.2-diag) so the route log is unambiguous. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
27 lines
517 B
JSON
27 lines
517 B
JSON
{
|
|
"name": "audio-route",
|
|
"version": "1.0.2",
|
|
"description": "iOS earpiece/speaker audio route toggle 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/",
|
|
"AudioRoute.podspec"
|
|
],
|
|
"capacitor": {
|
|
"ios": {
|
|
"src": "ios"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@capacitor/core": "^7.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@capacitor/core": "^7.0.0"
|
|
}
|
|
}
|