![]() Limited(iOS) or Rejected, use `=` for more precise judgements. ![]() final PermissionState _ps = await PhotoManager.requestPermissionExtend() Most of the APIs can only use with granted permission. It's pretty much the same as the NSPhotoLibraryUsageDescription. If you want to grant only write-access to the photo library on iOS 11 and above,ĭefine the NSPhotoLibraryAddUsageDescription Key-value in the ios/Runner/ist: NSPhotoLibraryUsageDescription iOS config preparationĭefine the NSPhotoLibraryUsageDescription See Generated API for the implementation. It means the main project needs an implementation of AppGlideModule. If you found some warning logs with Glide appearing, The plugin use Glide to create thumbnail bytes for Android. This is not a requirement, the plugin can still work with caching files.īut you'll need to control caches on your own, the best practice is to clear file cachesĮach time when you start your app by calling PhotoManager.clearFileCache(). Note: Apps that are using the flag will be rejected from the Google Play. If your compileSdkVersion or targetSdkVersion is 29, you can consider adding android:requestLegacyExternalStorage="true" to yourAndroidManifest.xml` in order to obtain resources: Which causes the origin resource file not directly On Android 10, Scoped Storage was introduced, If you're not compiling or targeting with 29 and above, you can skip this section.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |