![]() ![]() CODE language-jsx keep-markup - import React, . CODE language-bash keep-markup - /* Required with iOS 10 and higher */ NSCameraUsageDescription Your message to user when the camera is accessed for the first time /* Required with iOS 11 and higher: include this only if you are planning to use the camera roll */ NSPhotoLibraryAddUsageDescription Your message to user when the photo library is accessed for the first time /* Include this only if you are planning to use the camera roll */ NSPhotoLibraryUsageDescription Your message to user when the photo library is accessed for the first time /* Include this only if you are planning to use the microphone for video recording */ NSMicrophoneUsageDescription Your message to user when the microphone is accessed for the first timeįor our current example, we just need access to the camera so no microphone or photo library access is required. In the case of iOS we just need to edit ios/AwesomeCamera/ist and add inside Type the following in your command prompt to install and launch your app on the device or emulator: react-native run-android Then click on emulator and press. ![]() ![]() MissingDimensionStrategy 'react-native-camera', 'general' /* insert this line */ ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |