Comments (11)
What happened to it? What is the error here? Please provide me with more details?
from react-native-multiple-image-picker.
Can you show me your screenshot for code(import & call) and your error message.
from react-native-multiple-image-picker.
when you install the lib by default the version is 1.1.5
but the function openPicker is not working in that version nothing happens when calling openPicker()
from react-native-multiple-image-picker.
Do you call openPicker()
function like this:
import { openPicker } from '@baronha/react-native-multiple-image-picker';
// ...
const response = await openPicker(options);
from react-native-multiple-image-picker.
Yes
from react-native-multiple-image-picker.
It works in the version 1.1.2
The import and the call exactly like you mentioned
But in version 1.1.5 you released nothing happens there is no error
from react-native-multiple-image-picker.
try it on a fresh project, with installing it with : bun add ... / yarn add , it will install the 1.1.5 version ( that's not working )
the working version is 1.1.2 but it's not installed by default
from react-native-multiple-image-picker.
@baronha I found the problem,
when using : mediaType in options the openPicker is not working.
from react-native-multiple-image-picker.
@baronha I found the problem, when using : mediaType in options the openPicker is not working.
Show your code, please.
from react-native-multiple-image-picker.
const pickerResSelected = await openPicker({
numberOfColumn: 4,
allowedLivePhotos: false,
allowedPhotograph: selectedType === 'image' ? true : false,
allowedVideo: selectedType === 'video' ? true : false,
allowedVideoRecording: selectedType === 'video' ? true : false,
singleSelectedMode: false,
usedCameraButton: false,
maxVideoDuration: 180,
maximumMessageTitle: '',
maximumMessage:
selectedType === 'image'
? t('max-photos-reached')?.toString()
: t('one-video-max')?.toString(),
maxSelectedAssets: selectedType === 'image' ? 5 : 1,
doneTitle: t('next'),
usedPrefetch: true,
isExportThumbnail: false,
tapHereToChange: 'Album',
cancelTitle: t('cancel'),
autoPlay: true,
isPreview: Platform.OS === 'ios' ? true : false,
previewAtForceTouch: true,
selectedColor: palette.lightBlue,
emptyMessage: t('no-media-item-in-this-album')?.toString(),
//@ts-ignore
mediaType: selectedType === 'image' ? 'image' : 'video',
});
from react-native-multiple-image-picker.
Which OS are you on? Android
or iOS
Here is an example on iOS
with your code :
nx26uk.mp4
from react-native-multiple-image-picker.
Related Issues (20)
- Fix android app crashing issue with cropper mode enabled
- openPicker() not working HOT 2
- IOS: Cannot select image when you limit photo library and mediaType = "all" HOT 2
- ios: Not callback permission or notice on ios when user deny
- ios: can`t select image on ios when user status == .limited
- Feat: Thêm option chụp ảnh HOT 4
- Migrate to New Architecture | HXPhotoPicker HOT 2
- Can you provide a function to return base64? We need to upload it
- Error 163 duplicate symbols for architecture x86_64 on IOS HOT 7
- Image is not showing in Gallery after capturing image in Camera
- Type mismatch openPicker using singleSelectedMode HOT 2
- duplicate symbol '_OBJC_CLASS_$_TOActivityCroppedImageProvider' HOT 1
- 0.73 HOT 7
- Problem building in xcode HOT 1
- Caused by: org.jetbrains.kotlin.gradle.tasks.CompilationErrorException: Compilation error. See log for more details HOT 6
- iOS crashes on load
- [IOS] Loading forever when select image limit access
- App Crash on Android real device when click done. HOT 2
- Task :baronha_react-native-multiple-image-picker:compileDebugKotlin FAILED HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-multiple-image-picker.