Closed tgpetrov closed 5 years ago
Done
There is a ImagePickerMediaType enum that seems like it can be added to the demo app:
let context = imagepicker.create({ mode: "single", mediaType: imagepicker.ImagePickerMediaType.Image });
However when I run the app, it crashes withCannot read property 'Image' of undefined
Cannot read property 'Image' of undefined
tns --version
node_modules/tns-core-modules/package.json
"tns-android"
"tns-ios"
package.json
Go to demo app and replace this line:
let context = imagepicker.create({ mode: "single" });
with:
Run the app and tap the PICK SINGLE button.
expected: app to work same as before change actual: app crashes
The fix is published in nativescript-imagepicker@6.3.0
Make sure to check the demo app(s) for sample usage
Done
Make sure to check the existing issues in this repository
Done
If the demo apps cannot help and there is no issue for your problem, tell us about it
There is a ImagePickerMediaType enum that seems like it can be added to the demo app:
However when I run the app, it crashes with
Cannot read property 'Image' of undefined
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
tns --version
to fetch it) 6.0.2node_modules/tns-core-modules/package.json
file in your project) 6.0.0"tns-android"
and"tns-ios"
properties in thepackage.json
file of your project) 6.0.0package.json
file of your project and paste your dependencies and devDependencies here)Please, tell us how to recreate the issue in as much detail as possible.
Go to demo app and replace this line:
with:
Run the app and tap the PICK SINGLE button.
expected: app to work same as before change actual: app crashes