Skip to content

Commit

Permalink
[dev] 设置信息
Browse files Browse the repository at this point in the history
  • Loading branch information
appdev committed May 21, 2019
1 parent 7073a5b commit 9c817de
Show file tree
Hide file tree
Showing 51 changed files with 3,070 additions and 29 deletions.
1 change: 1 addition & 0 deletions android/app/build.gradle
Expand Up @@ -60,4 +60,5 @@ flutter {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation group: 'androidx.appcompat', name: 'appcompat', version: '1.0.0'
}
4 changes: 2 additions & 2 deletions android/build.gradle
@@ -1,12 +1,12 @@
buildscript {
ext.kotlin_version = '1.2.71'
ext.kotlin_version = '1.3.10'
repositories {
google()
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.android.tools.build:gradle:3.4.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand Down
2 changes: 1 addition & 1 deletion android/gradle.properties
@@ -1,3 +1,3 @@
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
android.enableJetifier=true
4 changes: 2 additions & 2 deletions android/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
#Fri Jun 23 08:50:38 CEST 2017
#Tue May 21 16:08:14 CST 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
Binary file added assest/images/image_ok.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assest/images/theme_set.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assest/images/themes_activation.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions flutter_webview_plugin/.gitignore
@@ -0,0 +1,17 @@
.DS_Store
.atom/
.idea
.vscode
.packages
.pub/
build/
ios/.generated/
packages
pubspec.lock

example/ios/Podfile.lock
**/Flutter/App.framework/
**/Flutter/Flutter.framework/
**/Flutter/Generated.xcconfig/
**/Flutter/flutter_assets/

119 changes: 119 additions & 0 deletions flutter_webview_plugin/CHANGELOG.md
@@ -0,0 +1,119 @@
# 0.3.3

- BREAKING CHANGE - AndroidX support

# 0.3.2

- enable Javascript in iOS, support abort loading specific URLs
- add resizeToAvoidBottomInset to WebviewScaffold; #301

# 0.3.1

- Add support for geolocation Android
- fix No269: Can't load target="_blank" links on iOS
- fix: reloadUrl will not return Future
- Fix height of keyboard
- Fix Hide/Show WebView
- hotfix widget back to initialChild after webview is tapped on Android

# 0.3.0

- Fixes rect capture issue. Ensures WebView remains in the correct place on screen even when keyboard appears.
- Fixed iOS crash issue with Flutter `>= 0.10.2`.
- Added new `clearCookies` feature.
- Added support for `hidden` and `initialChild` feature to show page loading view.
- Added supportMultipleWindows: enables Multiple Window Support on Android.
- Added appCacheEnabled: enables Application Caches API on Android.
- Added allowFileURLs: allows `file://` local file URLs.
- iOS Now supports: `reload`, `goBack`, and `goForward`.
- iOS Bug fix `didFailNavigation` #77
- Updated Android `compileSdkVersion` to `27` matching offical Flutter plugins.
- Fixed Android `reloadUrl` so settings are not cleared.
- Enabled compatible `Mixed Content Mode` on Android.

# 0.2.1

- Added webview scrolling listener
- Added stopLoading() method

# 0.2.0

- update sdk
- prevent negative webview height in scaffold
- handle type error in getCookies
- Support file upload via WebView on Android
- fix WebviewScaffold crash on iOS
- Scrollbar functionality to Web view
- Add support of HTTP errors
- Add headers when loading url

# 0.1.6

- fix onStateChanged
- Taking safe areas into account for bottom bars
- iOS
+ withLocalUrl option for iOS > 9.0
- Android
+ add reload, goBack and foForward function

# 0.1.5

- iOS use WKWebView instead of UIWebView

# 0.1.4

- support localstorage for ANDROID

# 0.1.3

- support zoom in webview

# 0.1.2

- support bottomNavigationBar and persistentFooterButtons on webview scaffold

# 0.1.1
- support back button navigation for Android
+ if cannot go back, it will trigger onDestroy
- support preview dart2

# 0.1.0+1

- fix Android close webview

# 0.1.0

- iOS && Android:
- get cookies
- eval javascript
- user agent setting
- state change event
- embed in rectangle or fullscreen if null
- hidden webview

- Android
- adding Activity in manifest is not needed anymore

- Add `WebviewScaffold`

# 0.0.9

- Android: remove the need to use FlutterActivity as base activity

# 0.0.5

- fix "onDestroy" event for iOS [#4](https://github.com/dart-flitter/flutter_webview_plugin/issues/4)
- fix fullscreen mode for iOS [#5](https://github.com/dart-flitter/flutter_webview_plugin/issues/5)

# 0.0.4

- IOS implementation
- Update to last version of Flutter

# 0.0.3

- Documentation

# 0.0.2

- Initial version for Android
27 changes: 27 additions & 0 deletions flutter_webview_plugin/LICENSE
@@ -0,0 +1,27 @@
// Copyright 2017 Hadrien Lejard. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Hadrien Lejard nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

0 comments on commit 9c817de

Please sign in to comment.