Closed edrick27 closed 4 years ago
@aaayushsingh - "add the latest nativescript-permissions lib to your project and import it anywhere. This will fix the issue" This solution from other issue works perfectly: https://github.com/NativeScript/nativescript-geolocation/issues/246
:wave: @edrick27, we use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please, use Stackoverflow to get help.
I am using nativescript v6, and "nativescript-camera": "^4.1.1". when i try to use camera console show No v4 support. the code is:
requestPermissions().then( () => { takePicture({ width: 300, height: 300, keepAspectRatio: true, saveToGallery: this.saveToGallery }) .then((imageAsset: any) => { this.SavePictures(imageAsset); }, (error) => { }); }, () => alert('permissions rejected')