媒体管理器
yarn add @aomi/react-native-media-manager
npm install @aomi/react-native-media-manager
import MediaManager from "@aomi/react-native-media-manager";
// 启动相册
MediaManager.launchLibrary().then(console.log);
// 启动相机
MediaManager.launchCamera().then(console.log);
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT