From 10b42f20c3e80aed84c5cd62004525b52ab3ffb0 Mon Sep 17 00:00:00 2001 From: Lorenzo Pichilli Date: Thu, 24 Oct 2019 18:27:28 +0200 Subject: [PATCH] fix migration to Swift 5, updated README.md, fix #149 --- .idea/codeStyles/Project.xml | 116 ++++++++ .idea/workspace.xml | 254 +++++++++--------- README.md | 10 +- example/ios/Flutter/AppFrameworkInfo.plist | 0 example/ios/Flutter/Debug.xcconfig | 0 example/ios/Flutter/Release.xcconfig | 0 .../ios/Flutter/flutter_export_environment.sh | 10 + example/ios/Podfile | 2 +- example/ios/Runner.xcodeproj/project.pbxproj | 6 +- .../contents.xcworkspacedata | 0 .../xcshareddata/xcschemes/Runner.xcscheme | 0 .../contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 example/ios/Runner/AppDelegate.swift | 0 .../AppIcon.appiconset/Contents.json | 0 .../Icon-App-1024x1024@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin .../Icon-App-83.5x83.5@2x.png | Bin .../ios/Runner/Assets.xcassets/Contents.json | 0 .../LaunchImage.imageset/Contents.json | 0 .../LaunchImage.imageset/LaunchImage.png | Bin .../LaunchImage.imageset/LaunchImage@2x.png | Bin .../LaunchImage.imageset/LaunchImage@3x.png | Bin .../LaunchImage.imageset/README.md | 0 .../Runner/Base.lproj/LaunchScreen.storyboard | 0 example/ios/Runner/Base.lproj/Main.storyboard | 0 example/ios/Runner/Info.plist | 0 example/ios/Runner/Runner-Bridging-Header.h | 0 example/lib/inline_example.screen.dart | 2 +- ios/.gitignore | 0 ios/Assets/.gitkeep | 0 ios/Classes/FlutterWebViewController.swift | 0 ios/Classes/FlutterWebViewFactory.swift | 0 ios/Classes/InAppBrowserFlutterPlugin.h | 0 ios/Classes/InAppBrowserFlutterPlugin.m | 0 ios/Classes/InAppBrowserOptions.swift | 0 .../InAppBrowserWebViewController.swift | 0 ios/Classes/InAppWebView.swift | 0 ios/Classes/InAppWebViewOptions.swift | 0 ios/Classes/MyCookieManager.swift | 0 ios/Classes/Options.swift | 0 ios/Classes/SafariBrowserOptions.swift | 0 ios/Classes/SafariViewController.swift | 0 ios/Classes/SwiftFlutterPlugin.swift | 6 +- ios/Storyboards/WebView.storyboard | 0 ios/flutter_inappbrowser.podspec | 2 +- 59 files changed, 271 insertions(+), 137 deletions(-) create mode 100644 .idea/codeStyles/Project.xml mode change 100644 => 100755 example/ios/Flutter/AppFrameworkInfo.plist mode change 100644 => 100755 example/ios/Flutter/Debug.xcconfig mode change 100644 => 100755 example/ios/Flutter/Release.xcconfig create mode 100755 example/ios/Flutter/flutter_export_environment.sh mode change 100644 => 100755 example/ios/Podfile mode change 100644 => 100755 example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata mode change 100644 => 100755 example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme mode change 100644 => 100755 example/ios/Runner.xcworkspace/contents.xcworkspacedata mode change 100644 => 100755 example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist mode change 100644 => 100755 example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings mode change 100644 => 100755 example/ios/Runner/AppDelegate.swift mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/Contents.json mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png mode change 100644 => 100755 example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md mode change 100644 => 100755 example/ios/Runner/Base.lproj/LaunchScreen.storyboard mode change 100644 => 100755 example/ios/Runner/Base.lproj/Main.storyboard mode change 100644 => 100755 example/ios/Runner/Info.plist mode change 100644 => 100755 example/ios/Runner/Runner-Bridging-Header.h mode change 100644 => 100755 ios/.gitignore mode change 100644 => 100755 ios/Assets/.gitkeep mode change 100644 => 100755 ios/Classes/FlutterWebViewController.swift mode change 100644 => 100755 ios/Classes/FlutterWebViewFactory.swift mode change 100644 => 100755 ios/Classes/InAppBrowserFlutterPlugin.h mode change 100644 => 100755 ios/Classes/InAppBrowserFlutterPlugin.m mode change 100644 => 100755 ios/Classes/InAppBrowserOptions.swift mode change 100644 => 100755 ios/Classes/InAppBrowserWebViewController.swift mode change 100644 => 100755 ios/Classes/InAppWebView.swift mode change 100644 => 100755 ios/Classes/InAppWebViewOptions.swift mode change 100644 => 100755 ios/Classes/MyCookieManager.swift mode change 100644 => 100755 ios/Classes/Options.swift mode change 100644 => 100755 ios/Classes/SafariBrowserOptions.swift mode change 100644 => 100755 ios/Classes/SafariViewController.swift mode change 100644 => 100755 ios/Classes/SwiftFlutterPlugin.swift mode change 100644 => 100755 ios/Storyboards/WebView.storyboard mode change 100644 => 100755 ios/flutter_inappbrowser.podspec diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 00000000..681f41ae --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,116 @@ + + + + + + + +
+ + + + xmlns:android + + ^$ + + + +
+
+ + + + xmlns:.* + + ^$ + + + BY_NAME + +
+
+ + + + .*:id + + http://schemas.android.com/apk/res/android + + + +
+
+ + + + .*:name + + http://schemas.android.com/apk/res/android + + + +
+
+ + + + name + + ^$ + + + +
+
+ + + + style + + ^$ + + + +
+
+ + + + .* + + ^$ + + + BY_NAME + +
+
+ + + + .* + + http://schemas.android.com/apk/res/android + + + ANDROID_ATTRIBUTE_ORDER + +
+
+ + + + .* + + .* + + + BY_NAME + +
+
+
+
+
+
\ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 830bc012..8c01449d 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -15,28 +15,63 @@ - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + - - + @@ -50,64 +85,39 @@ + + + - - - - - - - - - - - + + - - + + - - + + - + + - - - - - - - - - - - - - - - - - - - - - - - + + @@ -115,11 +125,11 @@ - - + + - - + + @@ -135,8 +145,6 @@ - initialFile - loadFile openFile File onExit @@ -165,6 +173,8 @@ __transparentBackground__ dispose _dispose + UIImagePNGRepresentation + png activity.getPreferences(0) @@ -197,7 +207,6 @@ @@ -266,6 +277,7 @@ @@ -309,13 +316,13 @@