jibon57 / nativescript-mediafilepicker

A complete file picker solution for NativeScript
Apache License 2.0
51 stars 39 forks source link

Camera and files not works with targetSdkVersion 30 #156

Open xpalacincreditoh opened 2 years ago

xpalacincreditoh commented 2 years ago

Describe the bug When i set in app.gradle the targetSdkVersion to 30 camera and files doesn't work only work gallery

To Reproduce set in app.gradle the targetSdkVersion to 30 and upload image from camera or upload file from files

Expected behavior No have errors with targetSdkVersion 30, because with targetSdkVersion 29 no can publish app in Google Play Store

NativeScript Info(please run tns info): No display error

Sample Code(please provide minimum code to reproduce problem): app.gradle:

android {
  compileSdkVersion 30
  defaultConfig {
    targetSdkVersion 30
    minSdkVersion 23
    generatedDensities = []
  }
  aaptOptions {
    additionalParameters "--no-version-vectors"
  }
}

Additional context I try to publish my app with targetSdkVersion 29 and Google Play Store refuse this