cyril23 commented on issue #826:
URL:
https://github.com/apache/cordova-plugin-camera/issues/826#issuecomment-1598878145
> EDIT: the fork by levieu above did not work for me
same here for me. Testing on Android 13.0.0 on a OnePlus 9 Pro:
I've tried the following repos **and finally found a working one**:
- `apache`:
- current Master https://github.com/apache/cordova-plugin-camera (which
includes
https://github.com/apache/cordova-plugin-camera/commit/23642f09b5e72d38bce171041f260674ba297c0e
- which is obviously NOT related to THIS issue)
- result: Error 20
- fork `OutSystems`:
- I actually came here googling for the error 20 issue, and at first found
this discussion
https://www.outsystems.com/forums/discussion/86980/cordova-camera-plugin-returning-error-20/
so I gave the `OutSystems` fork a try
- release
https://github.com/OutSystems/cordova-plugin-camera/releases/tag/4.2.0-OS42
(via `plugin name="cordova-plugin-camera"
spec="https://github.com/OutSystems/cordova-plugin-camera.git#4.2.0-OS42" />`)
- result: various Build errors (`Failed to install
'cordova-plugin-camera': Error: pod: Command failed with exit code 1` in
`node_modules/cordova-common/src/superspawn.js:136:25`, even after increasing
my `<preference name="android-minSdkVersion" value="22" />` to `<preference
name="android-minSdkVersion" value="26" />` which only the `OutSystems` fork
needs apparently!)
- fork `levieu`:
- current Master https://github.com/levieu/cordova-plugin-camera (which
contains
https://github.com/levieu/cordova-plugin-camera/commit/06186bc150fe56f8a9adb40a8393dca1298e50f8
which looked promising)
- result: Error 20 still
- fork `jalios`
- current Master https://github.com/jalios/cordova-plugin-camera/ (which
contains
https://github.com/jalios/cordova-plugin-camera/commit/bd1dd6a742bafc63591169eb371e39ad63007d97
which looks promising, too)
- result: **OK, finally I can take pictures again**!
So I've solved the Issue for me by including
`<plugin name="cordova-plugin-camera"
spec="https://github.com/jalios/cordova-plugin-camera.git" />`
instead of
`<plugin name="cordova-plugin-camera" spec="6.0.0" />`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]