Giter VIP home page Giter VIP logo

multi_image_picker2's Introduction

Flutter Multi Image Picker

Flutter plugin that allows you to display multi image picker on iOS and Android.

Build

Key FeaturesDocumentationFAQCreditsRelatedLicense

Multi Image Picker

Key Features

  • Pick multiple images
  • Native performance
  • Photos sorted by albums
  • Take a picture option in the grid view
  • Restrict the maximum count of images the user can pick
  • Customizable UI and localizations
  • Thumbnail support
  • Specify the image quality of the original image or thumbnails
  • Read image meta data

Documentation

You can see the official documentation here.

Upgrading

For more information regarding breaking changes and migrating through different versions of the plugin please read the upgrading guide.

Emailware

Flutter Multi Image Picker is an emailware. Meaning, if you liked using this plugin or has helped you in anyway, I'd like you send me an email on [email protected] about anything you'd want to say about this software. I'd really appreciate it!

Credits

This software uses the following open source packages:

Related

image_picker - Official Flutter image picker plugin

Support

If this plugin was useful to you, helped you to deliver your app, saved you a lot of time, or you just want to support the project, I would be very grateful if you buy me a cup of coffee.

Buy Me A Coffee

License

MIT


GitHub @Sh1d0w  ·  Twitter @RadoslavVitanov

multi_image_picker2's People

Contributors

vasilich6107 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

multi_image_picker2's Issues

Encounter an error when calling metadata

Bug Report

multi_image_picker version: 5.0.2

Is it happening on Android: Yes

Is it happening on iOS: not tested

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.2.3, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 4.2)
[✓] Android Studio (version 2020.3)
[✓] Android Studio (version 2020.3)
[✓] Connected device (2 available)

! Doctor found issues in 1 category.

Describe the bug
Encounter error ‍‍type 'Future<dynamic>' is not a subtype of type 'FutureOr<Map<dynamic, dynamic>>' in type cast when calling metadata

List<Asset> _images = <Asset>[];
List<Asset> _selectet_images = <Asset>[];
_images = await MultiImagePicker.pickImages(
        maxImages: 300,
        enableCamera: true,
        selectedAssets: _selectet_images,
        cupertinoOptions: CupertinoOptions(
          takePhotoIcon: "chat",
          doneButtonTitle: "Fatto",
        ),
        materialOptions: MaterialOptions(
          actionBarColor: "#abcdef",
          actionBarTitle: "Example App",
          allViewTitle: "All Photos",
          useDetailsView: false,
          selectCircleStrokeColor: "#000000",
        ),
      );

var pr;
try {
    pr = await _images[0].metadata;
} catch (e) {
    print(e.toString());
}

DEBUG CONSOLE

type 'Future<dynamic>' is not a subtype of type 'FutureOr<Map<dynamic, dynamic>>' in type cast

jcenter on android

Bug Report

multi_image_picker version: 5.0.2

Is it happening on Android: Yes

Describe the bug

Hi,

Could you replace jcenter with mavenCentral?

How to get image file path from identifier in Asset?

Hello,

I need to store file data to give users posibility to restart upload on failed.
But this library returns some Asset class with 'identifier', and this identifier cannot be reused to get the filebytes again,
how to convert it to filepath??

Image Select from Camera Is not working in some android device.

Bug Report

multi_image_picker2: ^5.0.2

Is it happening on Android: Yes

Is it happening on iOS: No

 [✓] Flutter (Channel stable, 2.2.2, on Mac OS X 10.15.7 19H15 darwin-x64, locale en-IN)
    • Flutter version 2.2.2 at /Users/indianic/development/flutter
    • Framework revision d79295af24 (2 weeks ago), 2021-06-11 08:56:01 -0700
    • Engine revision 91c9fc8fe0
    • Dart version 2.13.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0-rc1)
    • Android SDK at /Users/indianic/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0-rc1
    • ANDROID_HOME = /Users/indianic/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.57.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.23.0

[✓] Connected device (2 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 91.0.4472.114

• No issues found!

Describe the bug

When i select image from camera app is crash down, its not in all android device but i face this issues in some device
one device info:

Huawei P Smart + 2019
Version Android 10

Image Metadata is not returned due to a cast exception

Bug Report

multi_image_picker version: ^5.0.2

Is it happening on Android: Yes

Is it happening on iOS: Not tested yet

 C:\flutter\bin\flutter.bat doctor --verbose
[√] Flutter (Channel stable, 2.2.2, on Microsoft Windows [Version 10.0.19042.1052], locale en-IN)
    • Flutter version 2.2.2 at C:\flutter
    • Framework revision d79295af24 (2 weeks ago), 2021-06-11 08:56:01 -0700
    • Engine revision 91c9fc8fe0
    • Dart version 2.13.3

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Android_SDK
    • Platform android-30, build-tools 30.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)

[√] Connected device (4 available)
    • Redmi 5A (mobile)                  • e9cace177d15  • android-arm64  • Android 8.1.0 (API 27)
    • Android SDK built for x86 (mobile) • emulator-5556 • android-x86    • Android 8.0.0 (API 26) (emulator)
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 90.0.4430.93
    • Edge (web)                         • edge          • web-javascript • Microsoft Edge 91.0.864.59

• No issues found!
Process finished with exit code 0

Describe the bug

Image metadata is never returned due to a cast exception in picker.dart in below function
// Requests image metadata for a given [identifier]
static Future requestMetadata(String? identifier) async {
Map<dynamic, dynamic> map = await (_channel.invokeMethod(
"requestMetadata",
<String, dynamic>{
"identifier": identifier,
},
) as FutureOr<Map<dynamic, dynamic>>);

Map<String, dynamic> metadata = Map<String, dynamic>.from(map);
if (Platform.isIOS) {
  metadata = _normalizeMetadata(metadata);
}

return Metadata.fromMap(metadata);

}

The cast to as FutureOr<Map<dynamic, dynamic>> always returns an error and the metadata is never returned.
Getting the below exception always

E/flutter (22947): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: type 'Future' is not a subtype of type 'FutureOr<Map<dynamic, dynamic>>' in type cast
E/flutter (22947): #0 MultiImagePicker.requestMetadata (package:multi_image_picker2/src/picker.dart:166:7)
E/flutter (22947): #1 Asset.metadata (package:multi_image_picker2/src/asset.dart:136:29)
E/flutter (22947): #2 _MyImagePicker.modList (package:flutter_complete_guide/main.dart:187:37)
E/flutter (22947): #3 _MyImagePicker.loadAssets. (package:flutter_complete_guide/main.dart:180:7)
E/flutter (22947): #4 State.setState (package:flutter/src/widgets/framework.dart:1088:30)
E/flutter (22947): #5 _MyImagePicker.loadAssets (package:flutter_complete_guide/main.dart:177:5)
E/flutter (22947):

My code calling the metadata:
modList(List resultList) async{
for (var x=0 ; x < resultList.length; x++){
Asset asset = resultList[x];
Future meta = asset.metadata;
meta.then((value) => { logLatlong(value)}
);
}
}

logLatlong(Metadata metadata){
print ("Ref Altitud:${metadata.gps.gpsLatitudeRef} Latitud : ${metadata.gps.gpsLatitude}" );
print ("Ref Longitud:${metadata.gps.gpsLongitudeRef} Longitud : ${metadata.gps.gpsLongitude}" );
}

Please help with this issue if possible.
Thanks.

Open Camera separated

I think gonna be easier for the user, the camera open's diretly from the camera button.

The camera opening diretly, gonna save time from the final user.

Android - Image picker is already active

I have a Flutter app which works correctly under IOS. When running under Android, I get an error each time a call to MultiImagePicker.pickImages is made. The error is

PlatformException(already_active, Image picker is already active, null, null)

My application has not yet been migrated to null safety, so I am using version multi_image_picker2: ^4.7.15.

I have included thee permissions below in my android/app/src/main/AndroidManifest.xml.

I appears the call to _channel.invokeMethod is causing the error.

final List<dynamic> images = await _channel.invokeMethod(
        'pickImages',
        <String, dynamic>{
          'maxImages': maxImages,
          'enableCamera': enableCamera,
          'iosOptions': cupertinoOptions.toJson(),
          'androidOptions': materialOptions.toJson(),
          'selectedAssets': selectedAssets
              .map(
                (Asset asset) => asset.identifier,
              )
              .toList(),
        },
      );

Any advice appreciated.

Originally posted by @rebink in #9 (comment)
To allow the following permissions in your Manifest:

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

If your app targets Android 11 with compileSdk/targetSdk >= 30 then you will need to add this to the manifest (outside of the application block) in order to capture pictures with the device camera. Android documentation here:

<queries>
    <intent>
        <action android:name="android.media.action.IMAGE_CAPTURE" />
    </intent>
</queries>

Need documentation about permissions.

Is your feature request related to a problem? Please describe.
First of all, thank you for such a great library which makes it much easier and faster to develop flutter app.
But when I tried to use this at the first time,
I couldn't find what kind of permissions should be allowed to make this library work properly.
Since the API document doesn't say anything about the permission except for some types of exceptions like PermissionDeniedException,
I had to figure it out by using another library, one by one.

Describe the solution you'd like
I hope the permission list to make image picker work on the device, both iOS and Android, would be added to API document.

Describe alternatives you've considered
I cannot think any alternatives. Let me know if anyone has better idea.

multi_image_picker2 插件里面依赖的 com.sangcomz.fishbun 0.11.2 里面报空指针了

Bug Report

multi_image_picker version: 5.0.2

Is it happening on Android:
安卓上的 bug 如下:
会导致崩溃

Flutter 版本 1.22.4

java.lang.NullPointerException

Attempt to invoke interface method 'void com.sangcomz.fishbun.adapter.image.ImageAdapter.loadImage(android.widget.ImageView, android.net.Uri)' on a null object reference

com.sangcomz.fishbun.adapter.view.PickerGridAdapter.onBindViewHolder(PickerGridAdapter.java:98)

Is it happening on iOS:
IOS 上也有bug,会导致崩溃

attempt to delete and reload the same index path (<NSIndexPath: 0x1c483d140> {length = 2, path = 1 - 0})

UIKit
-[UICollectionView performBatchUpdates:completion:] + 64

BSImagePicker
_$s13BSImagePicker20PhotosViewControllerC21photoLibraryDidChangeyySo8PHChangeCFyycfU_ (<compiler-generated>:0)

Describe the bug

A clear and concise description of what the bug is.

album selector for ios ?

hello the other version of multi image picker has album selection option but I cant find in this version, is there any option to activate this ?

Apps force close when button picker pressed

Bug Report

multi_image_picker version: 5.0.2

Is it happening on Android: Yes

Is it happening on iOS:

[√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.19043.1237], locale en-ID)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[√] Chrome - develop for the web
[√] Android Studio (version 4.1.0)
[√] VS Code (version 1.61.0)
[√] Connected device (3 available)

Describe the bug

in debug mode everything works normally, but in apk realese mode when the picker button is pressed the apps immediately force close. I have tried on android 11, 10, and 9 the result is force close too.
sorry before for my bad english.

getThumbByteData give image with bad height

Bug Report

multi_image_picker version: multi_image_picker2: ^5.0.2

Is it happening on Android: No

Is it happening on iOS: Yes

[✓] Flutter (Channel stable, 2.5.2, on macOS 11.5.2 20G95 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] Android Studio (version 3.4)
[✓] Connected device (4 available)

• No issues found!

Describe the bug

getThumbByteData() function with fixed height and width works on android fine but in ios give fixed width but unconstrained height.

enableCamera not worked on iOS

Bug Report

multi_image_picker version: 5.0.2

Is it happening on Android: No

Is it happening on iOS: Yes

Describe the bug

In ios/Classes/SwiftMultiImagePicker2Plugin.swift line 104, vc.takePhotos = true has been commented.

Unable to see camera option in multi_image_picker2: ^5.0.2

Bug Report

multi_image_picker version:

Is it happening on Android: Yes

Is it happening on iOS: Yes

using like this

resultList = await MultiImagePicker.pickImages(
maxImages: 1,
enableCamera: true,
selectedAssets: images,
cupertinoOptions: CupertinoOptions(takePhotoIcon: "chat"),
materialOptions: MaterialOptions(
actionBarColor: "#abcdef",
actionBarTitle: "Example App",
allViewTitle: "All Photos",
useDetailsView: false,
selectCircleStrokeColor: "#000000",
),
);

enableCamera: true even though not getting camera option

Example app does not build for android

Bug Report

multi_image_picker version: 5.0.02

Is it happening on Android: Yes

Is it happening on iOS: No

 flutter doctor
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Warning
──────────────────────────────────────────────────────────────────────────────
Your Flutter application is created using an older version of the Android
embedding. It is being deprecated in favor of Android embedding v2. Follow the
steps at

https://flutter.dev/go/android-project-migration

to migrate your project. You may also pass the --ignore-deprecation flag to
ignore this check and continue with the deprecated v1 embedding. However,
the v1 Android embedding will be removed in future versions of Flutter.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The detected reason was:

  /Users/phil/Documents/projects/investigation/multi_image_picker2/example/android/app/src/main/AndroidManifest.xml uses
  `android:name="io.flutter.app.FutterApplication"`
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.0, on macOS 11.3.1 20E241 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[!] Xcode - develop for iOS and macOS (Xcode 12.5)
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.63.1)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

! Doctor found issues in 1 category.

in addition, the command flutter run -d Pixel --debug --ignore-deprecation produces:

flutter run -d Pixel --debug --ignore-deprecation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Warning
──────────────────────────────────────────────────────────────────────────────
Your Flutter application is created using an older version of the Android
embedding. It is being deprecated in favor of Android embedding v2. Follow the
steps at

https://flutter.dev/go/android-project-migration

to migrate your project. You may also pass the --ignore-deprecation flag to
ignore this check and continue with the deprecated v1 embedding. However,
the v1 Android embedding will be removed in future versions of Flutter.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The detected reason was:

  /Users/phil/Documents/projects/investigation/multi_image_picker2/example/android/app/src/main/AndroidManifest.xml uses
  `android:name="io.flutter.app.FutterApplication"`
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

This app is using a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to migrate this app to the V2 embedding.
Take a look at the docs for migrating an app: https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects
Launching lib/main.dart on Pixel 5a in debug mode...
Warning: The plugin multi_image_picker2 requires Android SDK version 29.
One or more plugins require a higher Android SDK version.
Fix this issue by adding the following to /Users/phil/Documents/projects/investigation/multi_image_picker2/example/android/app/build.gradle:
android {
  compileSdkVersion 29
  ...
}

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Warning
──────────────────────────────────────────────────────────────────────────────
Your Flutter application is created using an older version of the Android
embedding. It is being deprecated in favor of Android embedding v2. Follow the
steps at

https://flutter.dev/go/android-project-migration

to migrate your project. You may also pass the --ignore-deprecation flag to
ignore this check and continue with the deprecated v1 embedding. However,
the v1 Android embedding will be removed in future versions of Flutter.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The detected reason was:

  /Users/phil/Documents/projects/investigation/multi_image_picker2/example/android/app/src/main/AndroidManifest.xml uses `android:name="io.flutter.app.FutterApplication"`
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

e: /Users/phil/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.5.31/43331609c7de811fed085e0dfd150874b157c32/kotlin-stdlib-common-1.5.31.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
e: /Users/phil/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.5.30/525f5a7fa6d7790a571c07dd24214ed2dda352fe/kotlin-stdlib-jdk7-1.5.30.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
e: /Users/phil/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk8/1.5.30/5fd47535cc85f9e24996f939c2de6583991481b0/kotlin-stdlib-jdk8-1.5.30.jar!/META-INF/kotlin-stdlib-jdk8.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
e: /Users/phil/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.5.31/6628d61d0f5603568e72d2d5915d2c034b4f1c55/kotlin-stdlib-1.5.31.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
e: /Users/phil/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-android/1.5.2/d246a704a55b7bddb79407cce4348890eaa341d9/kotlinx-coroutines-android-1.5.2.jar!/META-INF/kotlinx-coroutines-android.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
e: /Users/phil/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-core-jvm/1.5.2/f4cc07a50437659e0043e7da762809a46932b6a0/kotlinx-coroutines-core-jvm-1.5.2.jar!/META-INF/kotlinx-coroutines-core.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
e: /Users/phil/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.5.2/b69812855f235ec832341b48e721a5e62e7a888c/kotlinx-coroutines-core-1.5.2.jar!/META-INF/kotlinx-coroutines-core-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
e: /Users/phil/.gradle/caches/transforms-2/files-2.1/0324281bdf3b28e2968255adec6aa2ed/window-java-1.0.0-beta04/jars/classes.jar!/META-INF/window-java_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
e: /Users/phil/.gradle/caches/transforms-2/files-2.1/80cd5e73042f992dffa43f04787bfc2a/jetified-window-1.0.0-beta04/jars/classes.jar!/META-INF/window_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugKotlin'.
> Compilation error. See log for more details

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3s
Running Gradle task 'assembleDebug'...                              4.7s

┌─ Flutter Fix ───────────────────────────────────────────────────────────────────────────────────────┐
│ [!] Your project requires a newer version of the Kotlin Gradle plugin.                              │
│ Find the latest version on https://kotlinlang.org/docs/gradle.html#plugin-and-versions, then update │
│ /Users/phil/Documents/projects/investigation/multi_image_picker2/example/android/build.gradle:      │
│ ext.kotlin_version = '<latest-version>'                                                             │
└─────────────────────────────────────────────────────────────────────────────────────────────────────┘
Exception: Gradle task assembleDebug failed with exit code 1

Describe the bug

Your Flutter application is created using an older version of the Android
embedding. It is being deprecated in favor of Android embedding v2.

Permission denied on Android

I am having a weird problem on Android devices, whenever a user tries to pick an image it says that the permission is denied. Is there any further permission requests necessary for it to work on android?

I've tried checking the documentation but some links don't work. Thanks beforehand and please keep me updated!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.