Skip to content

Commit

Permalink
Fix image picker regression on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
Sh1d0w committed Aug 19, 2020
1 parent 4fadd20 commit 3d1a008
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

### Change (v4.7.11)

## 2020-08-19

- Fix image picker regression on Android

### Change (v4.7.10)

## 2020-07-31
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'com.vitanov.multiimagepicker'
version '4.7.10'
version '4.7.11'

buildscript {
repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ public class MultiImagePickerPlugin implements
public static void registerWith(Registrar registrar) {
MultiImagePickerPlugin instance = new MultiImagePickerPlugin();
instance.onAttachedToEngine(registrar.context(), registrar.messenger(), registrar.activity());
registrar.addActivityResultListener(instance);
}

private void onAttachedToEngine(Context applicationContext, BinaryMessenger binaryMessenger, Activity activity) {
Expand Down
8 changes: 5 additions & 3 deletions example/ios/Flutter/flutter_export_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
# This is a generated file; do not edit or check into version control.
export "FLUTTER_ROOT=/Users/radoslav/Projects/flutter"
export "FLUTTER_APPLICATION_PATH=/Users/radoslav/Projects/multi_image_picker/example"
export "FLUTTER_TARGET=/Users/radoslav/Projects/multi_image_picker/example/lib/main.dart"
export "FLUTTER_TARGET=lib/main.dart"
export "FLUTTER_BUILD_DIR=build"
export "SYMROOT=${SOURCE_ROOT}/../build/ios"
export "OTHER_LDFLAGS=$(inherited) -framework Flutter"
export "FLUTTER_FRAMEWORK_DIR=/Users/radoslav/Projects/flutter/bin/cache/artifacts/engine/ios"
export "FLUTTER_BUILD_NAME=1.0.0"
export "FLUTTER_BUILD_NUMBER=1"
export "TRACK_WIDGET_CREATION=true"
export "DART_DEFINES=flutter.inspector.structuredErrors=true"
export "DART_OBFUSCATION=false"
export "TRACK_WIDGET_CREATION=false"
export "TREE_SHAKE_ICONS=false"
export "PACKAGE_CONFIG=.packages"
2 changes: 1 addition & 1 deletion ios/multi_image_picker.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
Pod::Spec.new do |s|
s.name = 'multi_image_picker'
s.version = '4.7.10'
s.version = '4.7.11'
s.summary = 'Multi image picker'
s.description = <<-DESC
A new flutter plugin project.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: multi_image_picker
description: Flutter plugin that allows you to display multi image picker on iOS and Android.
version: 4.7.10
version: 4.7.11
homepage: https://github.com/Sh1d0w/multi_image_picker

dependencies:
Expand Down

0 comments on commit 3d1a008

Please sign in to comment.