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