Hi Antonie,
I updated my app to the 2.9.1 built with file 2.25, we use to just use the capture to allow for camera or gallery but with the recent changes we are moving that to use the file.getImage. When doing this it opens up the gallery however when selecting an image (Android, galaxy s10, latest android version) the app crashes.
When I run the logcat it displays this error
--------- beginning of crash
02-05 06:39:19.852 21968 21968 E AndroidRuntime: FATAL EXCEPTION: main
02-05 06:39:19.852 21968 21968 E AndroidRuntime: Process: [appid], PID: 21968
02-05 06:39:19.852 21968 21968 E AndroidRuntime: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=80000, result=-1, data=Intent { dat=content://media/external/images/media/14577 flg=0x1 (has extras) }} to activity {[appname]/io.trigger.forge.android.core.ForgeActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.content.ClipData.getItemCount()' on a null object reference
The call is basic
forge.file.getImage( {width:1000},function (file) { do stuff})