Skip to content

Commit 335cc90

Browse files
committed
Merge branch 'develop'
2 parents c3f2b5a + 3ec54a4 commit 335cc90

File tree

4 files changed

+17
-29
lines changed

4 files changed

+17
-29
lines changed

README.md

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ In some devices the exif data shows picture in landscape mode when they're actua
77
This plugin fixes the orientation for pictures taken with those devices.
88

99
Every version of Android is supported.
10-
iOS implemented by @Bhagatcliffex
10+
iOS implemented by @Bhagatcliffex and currently supported
1111

1212

1313
## Installation
@@ -109,22 +109,3 @@ class _MyAppState extends State<MyApp> {
109109
}
110110
111111
```
112-
### Note
113-
114-
If you created project in objc, you need additional steps.
115-
`ios/Podfile`
116-
117-
<pre>
118-
target 'Runner' do
119-
<b>use_frameworks!</b>
120-
...
121-
122-
post_install do |installer|
123-
installer.pods_project.targets.each do |target|
124-
target.build_configurations.each do |config|
125-
config.build_settings['ENABLE_BITCODE'] = 'NO'
126-
<b>config.build_settings['SWIFT_VERSION'] = '4'</b>
127-
end
128-
end
129-
end
130-
</pre>

example/ios/Runner/Info.plist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@
2626
<string>LaunchScreen</string>
2727
<key>UIMainStoryboardFile</key>
2828
<string>Main</string>
29+
<key>NSPhotoLibraryUsageDescription</key>
30+
<string>Privacy - Photo Library Usage Description</string>
31+
<key>NSCameraUsageDescription</key>
32+
<string>Privacy - Camera Usage Description</string>
33+
<key>NSMicrophoneUsageDescription</key>
34+
<string>Privacy - Microphone Usage Description</string>
2935
<key>UISupportedInterfaceOrientations</key>
3036
<array>
3137
<string>UIInterfaceOrientationPortrait</string>

ios/flutter_exif_rotation.podspec

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,20 @@
33
#
44
Pod::Spec.new do |s|
55
s.name = 'flutter_exif_rotation'
6-
s.version = '0.0.1'
7-
s.summary = 'A new Flutter plugin to fixed rorartion of image in android or ios both.'
6+
s.version = '0.3.0'
7+
s.summary = 'Flutter plugin that fixes the picture orientation'
88
s.description = <<-DESC
9-
A new Flutter plugin to fixed rorartion of image in android or ios both.
9+
Flutter plugin that fixes the picture orientation when taken in landscape for some devices.
1010
DESC
11-
s.homepage = 'http://example.com'
12-
s.license = { :file => '../LICENSE' }
13-
s.author = { 'Your Company' => 'email@example.com' }
14-
s.source = { :path => '.' }
11+
s.homepage = 'https://github.com/NGhebreial/flutter_exif_rotation'
12+
s.license = { :type => 'BSD' }
13+
s.author = { 'Nadia Ghebreial' => 'nadiagnieto@gmail.com' }
14+
s.source = { :git => 'https://github.com/NGhebreial/flutter_exif_rotation.git', :tag => 'v0.3.0' }
1515
s.source_files = 'Classes/**/*'
1616
s.public_header_files = 'Classes/**/*.h'
1717
s.dependency 'Flutter'
1818

19-
s.ios.deployment_target = '8.0'
19+
s.ios.deployment_target = '14.0'
20+
s.swift_version = '5.3'
2021
end
2122

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: flutter_exif_rotation
22
description:
33
Flutter plugin that fixes the picture orientation when it's took in landscape for some devices.
4-
version: 0.3.0
4+
version: 0.3.1
55
homepage: https://github.com/NGhebreial/flutter_exif_rotation
66
repository: https://github.com/NGhebreial/flutter_exif_rotation
77

0 commit comments

Comments
 (0)