react-native-camera-roll-picker
react-native-camera-roll-picker copied to clipboard
does not return all images
I have 540 photo files in my phone but only show 10.
My code is:
<CameraRollPicker
style={{ flex: 1 }}
groupTypes={'All'}
selected={this.state.imagesSelected}
selectedMarker={
<View style={[styles.selectedCircle, { borderWidth: 0, backgroundColor: Colors.blueCheck }]} >
<MaterialCommunityIcons name='check' size={18} color={Colors.lightWhite} style={styles.iconCheck} />
</View >
}
callback={this.getSelectedImages}
/>
Using v1.2.3
version
Environment:
OS: macOS Sierra 10.12.6
Node: 9.5.0
Yarn: 1.3.2
npm: 5.6.0
Watchman: 4.7.0
Xcode: Xcode 8.3.2 Build version 8E2002
Android Studio: 2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: 0.51.0 => 0.51.0
There was an issue with this when iCloud Photo Library is enabled, it will not get the photos from iCloud. Not sure if it's fixed
I have the same problem any fix, pretty big issue who doesn't use iCloud
hi @waltershub
I have finally decided to look for another alternative and found react-native-photos-framework
, which works very well
@jose920405 does the it support android??
@mopilo No it doesn't, but for my projects I use react-native-photos-framework
for ios and this for Android.
You have to change CameraRoll
in index.js
of node_modules/react-native-camera-roll-picker
with https://github.com/react-native-community/react-native-cameraroll