Example project in iOS uses mime eyes for supported file types
This commit is contained in:
parent
169485e015
commit
8414754124
|
@ -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',
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue