Example project in iOS uses mime eyes for supported file types

This commit is contained in:
Yedidya Kennard 2016-08-15 17:13:12 +03:00
parent 169485e015
commit 8414754124
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ export default class AlbumsScreen extends Component {
this.imageTapped(result.nativeEvent.selected); this.imageTapped(result.nativeEvent.selected);
}} }}
fileTypeSupport={{ fileTypeSupport={{
supportedFileTypes: ['public.jpeg', 'public.png'], supportedFileTypes: ['image/jpeg', 'image/png'],
unsupportedOverlayColor: "#00000055", unsupportedOverlayColor: "#00000055",
unsupportedImage: require('./images/unsupportedImage.png'), unsupportedImage: require('./images/unsupportedImage.png'),
unsupportedText: 'Unsupported', unsupportedText: 'Unsupported',

View File

@ -31,7 +31,7 @@
* on the same Wi-Fi network. * on the same Wi-Fi network.
*/ */
jsCodeLocation = [NSURL URLWithString:@"http://172.31.9.105:8081/index.ios.bundle?platform=ios&dev=true"]; jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle?platform=ios&dev=true"];
/** /**
* OPTION 2 * OPTION 2