Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

[image_picker] remove unnecessary camera permmision #1268

Merged
merged 2 commits into from
Mar 8, 2019

Conversation

ivk1800
Copy link
Contributor

@ivk1800 ivk1800 commented Feb 23, 2019

@bparrishMines bparrishMines changed the title remove unnecessary camera permmision [image_picker] remove unnecessary camera permmision Feb 27, 2019
Copy link
Contributor

@mklim mklim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

It looks like ImagePickerDelegateTest also needs to be updated, could you take the permissions out of there as well?

/tmp/cirrus-ci-build/packages/image_picker/example/android/app/src/test/java/io/flutter/plugins/imagepicker/ImagePickerDelegateTest.java:140: error: cannot find symbol
            Manifest.permission.CAMERA, ImagePickerDelegate.REQUEST_CAMERA_IMAGE_PERMISSION);
                                                           ^
  symbol:   variable REQUEST_CAMERA_IMAGE_PERMISSION
  location: class ImagePickerDelegate
/tmp/cirrus-ci-build/packages/image_picker/example/android/app/src/test/java/io/flutter/plugins/imagepicker/ImagePickerDelegateTest.java:220: error: cannot find symbol
        ImagePickerDelegate.REQUEST_CAMERA_IMAGE_PERMISSION,
                           ^
  symbol:   variable REQUEST_CAMERA_IMAGE_PERMISSION
  location: class ImagePickerDelegate
/tmp/cirrus-ci-build/packages/image_picker/example/android/app/src/test/java/io/flutter/plugins/imagepicker/ImagePickerDelegateTest.java:235: error: cannot find symbol
        ImagePickerDelegate.REQUEST_CAMERA_VIDEO_PERMISSION,
                           ^
  symbol:   variable REQUEST_CAMERA_VIDEO_PERMISSION
  location: class ImagePickerDelegate
/tmp/cirrus-ci-build/packages/image_picker/example/android/app/src/test/java/io/flutter/plugins/imagepicker/ImagePickerDelegateTest.java:251: error: cannot find symbol
        ImagePickerDelegate.REQUEST_CAMERA_IMAGE_PERMISSION,
                           ^
  symbol:   variable REQUEST_CAMERA_IMAGE_PERMISSION
  location: class ImagePickerDelegate

If you don't have the time to make further changes on the PR, let us know and we'll be happy to shepherd it forward from here.

@ivk1800
Copy link
Contributor Author

ivk1800 commented Mar 8, 2019

@mklim done

Copy link
Contributor

@mklim mklim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks again!

@mklim mklim merged commit e0a6234 into flutter:master Mar 8, 2019
mklim pushed a commit that referenced this pull request Mar 8, 2019
jonasbark pushed a commit to jonasbark/plugins that referenced this pull request Mar 11, 2019
* commit '9017d6e7f867af278edd7e8e584d52524f37443f': (408 commits)
  [webview_flutter]Allow specifying a navigation delegate(Android and Dart). (flutter#1236)
  Allow specifying a navigation delegate (iOS implementation). (flutter#1323)
  Change build link in contributors site to cirrus (flutter#1327)
  [image_picker] Update versioning for flutter#1268 (flutter#1326)
  [image_picker] remove unnecessary camera permmision (flutter#1268)
  Exclude longPress from semantics (flutter#1324)
  [in_app_purchase] refactoring and tests (flutter#1322)
  [in_app_purchase] Adds Dart BillingClient APIs for loading purchases (flutter#1286)
  [connectivity] Update README.md (flutter#1201)
  [camera] Fixes #28350 (flutter#1261)
  [cloud_functions] Specify version for CocoaPod and handle null regions gracefully (flutter#1316)
  [in_app_purchase]retrieve receipt (flutter#1303)
  [firebase_analytics] Add resetAnalyticsData method (flutter#1311)
  trackCameraPosition is inferred from GoogleMap.onCameraMove (flutter#1314)
  [google_maps_flutter]ChangeNotifier is replaced with granular callbacks (flutter#1302)
  [video_player]Do not divide by zero (flutter#793)
  [firebase_dynamic_links] Version bump for firebase_dynamic_links PR flutter#1142 (flutter#1309)
  [firebase_dynamic_links] fix dynamic link crash when creating shortlink if warnings are null (flutter#1142)
  Fix typo in RewardedVideoAdd sample (flutter#927)
  Add my name to firebase_performance and firebase_dynamic_links owners (flutter#1300)
  ...

# Conflicts:
#	packages/camera/android/src/main/java/io/flutter/plugins/camera/CameraPlugin.java
#	packages/camera/ios/Classes/CameraPlugin.m
#	packages/firebase_auth/ios/Classes/FirebaseAuthPlugin.m
#	packages/image_picker/android/build.gradle
#	packages/video_player/android/src/main/java/io/flutter/plugins/videoplayer/VideoPlayerPlugin.java
ivk1800 added a commit to ivk1800/plugins that referenced this pull request Apr 20, 2019
julianscheel pushed a commit to jusst-engineering/plugins that referenced this pull request Mar 11, 2020
* Enable Firebase Test Lab testing
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[image_picker] Camera permission not needed
4 participants