From 8414754124494719940d6fa2c8b7ae7513c5eba0 Mon Sep 17 00:00:00 2001 From: Yedidya Kennard Date: Mon, 15 Aug 2016 17:13:12 +0300 Subject: [PATCH] Example project in iOS uses mime eyes for supported file types --- example/AlbumsScreen.ios.js | 2 +- example/ios/example/AppDelegate.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/AlbumsScreen.ios.js b/example/AlbumsScreen.ios.js index c9fac6f..9212cba 100644 --- a/example/AlbumsScreen.ios.js +++ b/example/AlbumsScreen.ios.js @@ -75,7 +75,7 @@ export default class AlbumsScreen extends Component { this.imageTapped(result.nativeEvent.selected); }} fileTypeSupport={{ - supportedFileTypes: ['public.jpeg', 'public.png'], + supportedFileTypes: ['image/jpeg', 'image/png'], unsupportedOverlayColor: "#00000055", unsupportedImage: require('./images/unsupportedImage.png'), unsupportedText: 'Unsupported', diff --git a/example/ios/example/AppDelegate.m b/example/ios/example/AppDelegate.m index 6a658cd..a874c68 100644 --- a/example/ios/example/AppDelegate.m +++ b/example/ios/example/AppDelegate.m @@ -31,7 +31,7 @@ * 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