Commit Graph

276 Commits

Author SHA1 Message Date
Lorenzo Pichilli f1cb348be2
Merge pull request #119 from benfingo/master
Remove async call in close Swift
2019-10-24 12:23:27 +02:00
Lorenzo Pichilli 07f63a5f23
Merge pull request #116 from robsonfingo/master
Avoid null pointer exception after webview is disposed
2019-10-24 12:18:46 +02:00
Lorenzo Pichilli d7edfc5ee4
Create FUNDING.yml 2019-10-24 00:18:24 +02:00
SebastienBtr 088018fb88
Update readme example
Column does not accept null widget
2019-10-23 22:02:48 +02:00
wyy c316c4791f migrating to swift 5.0 2019-09-23 10:29:13 +08:00
AlexVincent525 990fe52a48 Fix iOS side compile error with `swift_version`. 2019-09-11 15:27:56 +08:00
AlexVincent525 ebccc4a4c9 Fix abstract method error for flutter v1.9.1+hotfix.2 stable. 2019-09-11 15:19:25 +08:00
Matias de Andrea 2fa3eb7755 Move issues reports 2019-09-03 08:34:26 +02:00
Matias de Andrea 8d139a4c33 Create pull request template 2019-09-03 08:34:13 +02:00
Matias de Andrea a10a0184c8
Create FEATURE_REQUEST.md 2019-09-03 08:32:14 +02:00
Matias de Andrea 8075117ed3
Create BUG_REPORT.md 2019-09-03 08:31:57 +02:00
Klingens13 81807801dc
Resolving gradle error.
This version of flutter_inappbrowser (1.2.1) breaks the gradle build, because the wrong link is set.
2019-08-19 16:22:36 +02:00
Paulo Melo 39788a0163 Android takeScreenshot does not work properly. 2019-06-24 10:33:14 +01:00
Ben Ulmer cb79211592 done 2019-06-18 14:35:40 -07:00
Robson Araujo 8590e9190d Avoid null pointer exception after webview is disposed 2019-06-11 14:22:46 -07:00
Lorenzo Pichilli f6353b8f72 fix #43, fix #73 2019-06-07 02:13:56 +02:00
Lorenzo Pichilli 20afeae3cd
Merge pull request #108 from robsonfingo/patch-1
Remove headers_build_phase from example's Podfile
2019-06-01 14:37:02 +02:00
Lorenzo Pichilli 74bce61d84
Merge pull request #107 from robsonfingo/master
Fix crash on xcode 10.2
2019-06-01 14:36:10 +02:00
Lorenzo Pichilli c51497b0b0
Merge pull request #101 from DreamBuddy/master
add new option to control the contentMode in Android platform
2019-06-01 14:35:34 +02:00
robsonfingo eaf6e4abd5
Remove headers_build_phase from example's Podfile
Fixes #106
2019-05-30 16:26:12 -07:00
Robson Araujo 6af7d1249e Fix crash on xcode 10.2 2019-05-30 14:49:51 -07:00
Xu Mengtong 499ab2a0bc add new option to control the contentMode in Android platform 2019-05-24 18:00:38 +08:00
pichillilorenzo da99de051a fix #98, fix #93, fix #80 2019-05-23 01:51:42 +02:00
Lorenzo Pichilli 76ffe41d1e
Merge pull request #88 from matthewlloyd/transparent
Adds a transparentBackground option for iOS and Android
2019-05-22 16:20:41 +02:00
Lorenzo Pichilli 9b0265267d
Merge pull request #87 from matthewlloyd/open
The 'open' method requires an options dictionary
2019-05-22 16:19:22 +02:00
Lorenzo Pichilli e457b9fc77
Merge pull request #86 from matthewlloyd/master
iOS: Call setNeedsLayout() in scrollViewDidScroll()
2019-05-22 16:18:36 +02:00
Matthew Lloyd 89d2e0b56b Adds a transparentBackground option for iOS and Android
This is useful to prevent a brief white flash on initialization
for apps that use a dark theme.
2019-04-27 04:00:24 -04:00
Matthew Lloyd 98316371d8 The 'open' method requires an options dictionary
Otherwise, SwiftFlutterPlugin.swift throws an exception on line 285
when the InAppBrowser.openWithSystemBrowser(url) method is called:

  let options = (arguments["options"] as? [String: Any])!
2019-04-27 03:57:19 -04:00
Matthew Lloyd 0dfbfe9a35 iOS: Call setNeedsLayout() in scrollViewDidScroll()
Otherwise, the web view scrolls in blank white space which
doesn't get painted until the scroll gesture is finished,
because the WKWebView hasn't rendered that part of the
viewport to its offscreen buffer.
2019-04-26 18:02:30 -04:00
pichillilorenzo 0e1639bb70 merge #85 2019-04-26 21:35:50 +02:00
Lorenzo Pichilli b163e48c3d
Merge pull request #85 from matthewlloyd/master
Add null checks around calls to InAppWebView callbacks
2019-04-26 21:27:33 +02:00
Matthew Lloyd 11da457d51 Add null checks around calls to InAppWebView callbacks and InAppBrowser methods
This prevents a crash I've been seeing as of v1.1.2 (for the onScrollChanged callback)
and should also prevent any other similar possible crashes.

Also, suppress an unused_field analyzer warning for InAppWebViewController._id.
2019-04-26 15:12:57 -04:00
pichillilorenzo 36fc04c285 fix #74, merge #81 #83, fix javascript `...args` parameter of `window.flutter_inappbrowser.callHandler()` 2019-04-26 16:55:05 +02:00
Lorenzo Pichilli b2c2f326b5
Merge pull request #83 from cinos1/patch-1
bug fix for android build
2019-04-26 15:17:10 +02:00
Lorenzo Pichilli 43f16d0a2b
Merge pull request #81 from YouCii/master
Enable setTextZoom function of Android-WebViewSetting
2019-04-26 15:16:48 +02:00
cinos e16512996e
bug fix for android build
Android dependency 'androidx.core:core' has different version for the compile (1.0.0) and runtime (1.0.1) classpath
2019-04-25 17:31:04 +08:00
YouCii 2040abf5cd
Update README.md
Enable setTextZoom function of Android-WebViewSetting
2019-04-19 15:42:47 +08:00
YouCii 944caa9d4f 1. Enable setTextZoom function of Android-WebViewSetting 2019-04-19 15:36:12 +08:00
pichillilorenzo dec7e07979 updated README.md 2019-03-15 03:30:57 +01:00
pichillilorenzo 219f079a9e Fixed README.md and method documentation 2019-03-15 03:25:46 +01:00
pichillilorenzo 23194ac67a updated CHANGELOG.md 2019-03-15 03:03:15 +01:00
pichillilorenzo db284c7aca updated CHANGELOG.md 2019-03-15 03:02:38 +01:00
pichillilorenzo 177887a817 updated CHANGELOG.md 2019-03-15 03:01:47 +01:00
pichillilorenzo 660292f504 updated documentation for addJavaScriptHandler method, updated README.md, updated inline webview example 2019-03-15 02:55:50 +01:00
pichillilorenzo 0c49b45b01 moved json serialization for JavaScriptBridgeInterface to dart side, fix #64, fix #46 2019-03-14 21:59:13 +01:00
pichillilorenzo a480ebf6a1 added return value for JavaScriptHandlerCallback, added flutterInAppBrowserPlatformReady event for javascript, breaking change: javaScriptHandlersMap contains only one callback 2019-03-14 05:43:07 +01:00
pichillilorenzo f3f0876f28 fix #56, some code cleanup 2019-03-12 02:14:30 +01:00
pichillilorenzo 8db2a6b22a added support for AndroidX, version 1.0.0 2019-03-11 15:52:09 +01:00
Lorenzo Pichilli 669a51fefc
Merge pull request #55 from juicycleff/master
upgrade to androidX
2019-03-11 14:26:45 +01:00
Rex Momoh 35d7fe850a upgrade to androidX 2019-03-11 08:14:26 +01:00