jfoclpf opened a new issue #756:
URL: https://github.com/apache/cordova-plugin-camera/issues/756
Just to let you know that some of the very recent commits are breaking the
build. I can't precise which but after checking the commit history they should
be from Aug 11, 2021 or Aug 9, 2021, but not fully sure.
In my `package.json` I was fetching this plugin directly from the latest dev
version here on github and not from npm, and since few days ago the building is
breaking.
I know it comes from here because when I fetch this plugin from npm, it
doesn't break. Since the break seems to come from plugin
`cordova-plugin-simple-image-resizer` it would be preferable to keep the plugin
`cordova-plugin-camera` *always* backward compatible.
The error log:
```
/home/vagrant/build/com.in.my.district/platforms/android/app/src/main/java/info/protonet/imageresizer/ImageResizer.java:15:
error: package org.apache.cordova.camera does not exist
import org.apache.cordova.camera.FileHelper;
^
/home/vagrant/build/com.in.my.district/platforms/android/app/src/main/java/info/protonet/imageresizer/ImageResizer.java:161:
error: cannot find symbol
BitmapFactory.decodeStream(FileHelper.getInputStreamFromUriString(uriString,
cordova), null, options);
^
symbol: variable FileHelper
location: class ImageResizer
/home/vagrant/build/com.in.my.district/platforms/android/app/src/main/java/info/protonet/imageresizer/ImageResizer.java:168:
error: cannot find symbol
Bitmap unscaledBitmap =
BitmapFactory.decodeStream(FileHelper.getInputStreamFromUriString(uriString,
cordova), null, options);
^
symbol: variable FileHelper
location: class ImageResizer
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note:
/home/vagrant/build/com.in.my.district/platforms/android/app/src/main/java/org/apache/cordova/file/AssetFilesystem.java
uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileReleaseJavaWithJavac'.
```
Full error log
[here](https://gitlab.com/linsui/fdroiddata/-/jobs/1490357882).
--
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]