Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react-native-image-picker npm

import {launchCamera, launchImageLibrary} from 'react-native-image-picker';
launchCamera(options?, callback);

// You can also use as a promise without 'callback':
const result = await launchCamera(options?);

launchImageLibrary(options?, callback)

// You can also use as a promise without 'callback':
const result = await launchImageLibrary(options?);
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #npm
ADD COMMENT
Topic
Name
1+8 =