Skip to content
Snippets Groups Projects
Commit f13de05c authored by Martin Santangelo's avatar Martin Santangelo
Browse files

Merge branch 'sprint/FunnyFrog.fix.cameraroll.ios' into 'master'

[Sprint/FunnyFrog] (fix) camera roll not retuning values on ios

Closes #954

See merge request !206
parents c6c80ea8 ffb7a4a2
No related branches found
No related tags found
Loading
......@@ -65,10 +65,14 @@ export default class CaptureGallery extends PureComponent {
* Load photos
*/
_loadPhotos() {
CameraRoll.getPhotos({
const params = {
first: 30,
assetType: 'All',
})
}
if (Platform.OS === 'ios') params.groupTypes = 'All';
CameraRoll.getPhotos(params)
.then(r => {
this.setState({
imagesLoaded: true,
......
import React, { PureComponent } from 'react';
import { ListView, StyleSheet, View,ScrollView, FlatList, TextInput, Text,Button, TouchableHighlight, Image, ActivityIndicator } from 'react-native';
import { observer, inject } from 'mobx-react/native';
import Icon from 'react-native-vector-icons/Ionicons';
import api from './../common/services/api.service';
import { post, remind } from '../newsfeed/NewsfeedService';
import { StyleSheet, View, Image } from 'react-native';
import MindsVideo from '../media/MindsVideo';
import colors from '../styles/Colors';
/**
* Capture preview
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment