Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
Flutter Inappwebview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李增强
Flutter Inappwebview
Commits
ee7910b0
Commit
ee7910b0
authored
6 years ago
by
pichillilorenzo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated README.md
parent
99ff84c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
48 deletions
+60
-48
.idea/workspace.xml
.idea/workspace.xml
+57
-45
README.md
README.md
+3
-3
No files found.
.idea/workspace.xml
View file @
ee7910b0
...
@@ -15,21 +15,7 @@
...
@@ -15,21 +15,7 @@
</component>
</component>
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"9b41f7a2-a71e-4923-91fb-249d7815b3e7"
name=
"Default"
comment=
""
>
<list
default=
"true"
id=
"9b41f7a2-a71e-4923-91fb-249d7815b3e7"
name=
"Default"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/CHANGELOG.md"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/CHANGELOG.md"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/README.md"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/README.md"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/README.md"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/README.md"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/android/src/main/java/com/pichillilorenzo/flutter_inappbrowser/InAppBrowserFlutterPlugin.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/android/src/main/java/com/pichillilorenzo/flutter_inappbrowser/InAppBrowserFlutterPlugin.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/android/src/main/java/com/pichillilorenzo/flutter_inappbrowser/WebViewActivity.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/android/src/main/java/com/pichillilorenzo/flutter_inappbrowser/WebViewActivity.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/android/src/main/java/com/pichillilorenzo/flutter_inappbrowser/chrome_custom_tabs/ChromeCustomTabsActivity.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/android/src/main/java/com/pichillilorenzo/flutter_inappbrowser/chrome_custom_tabs/ChromeCustomTabsActivity.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/android/src/main/res/layout/activity_web_view.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/android/src/main/res/layout/activity_web_view.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/pubspec.yaml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/pubspec.yaml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/flutter_inappbrowser.iml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/flutter_inappbrowser.iml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/ios/Classes/InAppBrowserWebViewController.swift"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/ios/Classes/InAppBrowserWebViewController.swift"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/ios/Classes/Options.swift"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/ios/Classes/Options.swift"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/ios/Classes/SwiftFlutterPlugin.swift"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/ios/Classes/SwiftFlutterPlugin.swift"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/ios/Storyboards/WebView.storyboard"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/ios/Storyboards/WebView.storyboard"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/lib/flutter_inappbrowser.dart"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/lib/flutter_inappbrowser.dart"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/pubspec.yaml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/pubspec.yaml"
afterDir=
"false"
/>
</list>
</list>
<ignored
path=
"$PROJECT_DIR$/.dart_tool/"
/>
<ignored
path=
"$PROJECT_DIR$/.dart_tool/"
/>
<ignored
path=
"$PROJECT_DIR$/.idea/"
/>
<ignored
path=
"$PROJECT_DIR$/.idea/"
/>
...
@@ -46,7 +32,19 @@
...
@@ -46,7 +32,19 @@
</component>
</component>
<component
name=
"FileEditorManager"
>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
leaf-file-name=
"pubspec.yaml"
pinned=
"false"
current-in-tab=
"true"
>
<file
leaf-file-name=
"flutter_inappbrowser.dart"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/lib/flutter_inappbrowser.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"129"
>
<caret
line=
"581"
column=
"54"
selection-start-line=
"581"
selection-start-column=
"47"
selection-end-line=
"581"
selection-end-column=
"54"
/>
<folding>
<element
signature=
"e#814#831#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"pubspec.yaml"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/example/pubspec.yaml"
>
<entry
file=
"file://$PROJECT_DIR$/example/pubspec.yaml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"405"
>
<state
relative-caret-position=
"405"
>
...
@@ -55,6 +53,20 @@
...
@@ -55,6 +53,20 @@
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"README.md"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/README.md"
>
<provider
selected=
"true"
editor-type-id=
"split-provider[text-editor;MarkdownPreviewEditor]"
>
<state
split_layout=
"SPLIT"
>
<first_editor
relative-caret-position=
"382"
>
<caret
line=
"509"
column=
"29"
selection-start-line=
"509"
selection-start-column=
"29"
selection-end-line=
"509"
selection-end-column=
"29"
/>
</first_editor>
<second_editor>
<markdownNavigatorState
/>
</second_editor>
</state>
</provider>
</entry>
</file>
</leaf>
</leaf>
</component>
</component>
<component
name=
"FileTemplateManagerImpl"
>
<component
name=
"FileTemplateManagerImpl"
>
...
@@ -139,9 +151,9 @@
...
@@ -139,9 +151,9 @@
<option
value=
"$PROJECT_DIR$/CHANGELOG.md"
/>
<option
value=
"$PROJECT_DIR$/CHANGELOG.md"
/>
<option
value=
"$PROJECT_DIR$/example/lib/main.dart"
/>
<option
value=
"$PROJECT_DIR$/example/lib/main.dart"
/>
<option
value=
"$PROJECT_DIR$/lib/flutter_inappbrowser.dart"
/>
<option
value=
"$PROJECT_DIR$/lib/flutter_inappbrowser.dart"
/>
<option
value=
"$PROJECT_DIR$/README.md"
/>
<option
value=
"$PROJECT_DIR$/example/ios/Flutter/Generated.xcconfig"
/>
<option
value=
"$PROJECT_DIR$/example/ios/Flutter/Generated.xcconfig"
/>
<option
value=
"$PROJECT_DIR$/example/pubspec.yaml"
/>
<option
value=
"$PROJECT_DIR$/example/pubspec.yaml"
/>
<option
value=
"$PROJECT_DIR$/README.md"
/>
</list>
</list>
</option>
</option>
</component>
</component>
...
@@ -367,9 +379,9 @@
...
@@ -367,9 +379,9 @@
<window_info
anchor=
"right"
id=
"Palette	"
order=
"3"
/>
<window_info
anchor=
"right"
id=
"Palette	"
order=
"3"
/>
<window_info
id=
"Image Layers"
order=
"2"
/>
<window_info
id=
"Image Layers"
order=
"2"
/>
<window_info
anchor=
"right"
id=
"Capture Analysis"
order=
"3"
/>
<window_info
anchor=
"right"
id=
"Capture Analysis"
order=
"3"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
sideWeight=
"0.49644473"
visible=
"true"
weight=
"0.36179295"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
sideWeight=
"0.49644473"
weight=
"0.36179295"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"9"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"9"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"10"
sideWeight=
"0.49644473"
weight=
"0.25080043"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"10"
sideWeight=
"0.49644473"
visible=
"true"
weight=
"0.25080043"
/>
<window_info
id=
"Captures"
order=
"2"
weight=
"0.32936507"
/>
<window_info
id=
"Captures"
order=
"2"
weight=
"0.32936507"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"0"
sideWeight=
"0.49724367"
visible=
"true"
weight=
"0.25771326"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"0"
sideWeight=
"0.49724367"
visible=
"true"
weight=
"0.25771326"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
weight=
"0.3276414"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
weight=
"0.3276414"
/>
...
@@ -613,23 +625,6 @@
...
@@ -613,23 +625,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/README.md"
>
<provider
selected=
"true"
editor-type-id=
"split-provider[text-editor;MarkdownPreviewEditor]"
>
<state
split_layout=
"SPLIT"
>
<first_editor
relative-caret-position=
"622"
>
<caret
line=
"524"
column=
"3"
selection-start-line=
"524"
selection-start-column=
"3"
selection-end-line=
"524"
selection-end-column=
"3"
/>
</first_editor>
<second_editor>
<markdownNavigatorState
/>
</second_editor>
</state>
</provider>
<provider
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"247"
>
<caret
line=
"19"
column=
"15"
selection-start-line=
"19"
selection-start-column=
"3"
selection-end-line=
"19"
selection-end-column=
"15"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/pubspec.yaml"
>
<entry
file=
"file://$PROJECT_DIR$/pubspec.yaml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<state
relative-caret-position=
"30"
>
...
@@ -703,16 +698,6 @@
...
@@ -703,16 +698,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/lib/flutter_inappbrowser.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"407"
>
<caret
line=
"404"
selection-start-line=
"404"
selection-end-line=
"404"
/>
<folding>
<element
signature=
"e#814#831#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/ios/Flutter/Generated.xcconfig"
>
<entry
file=
"file://$PROJECT_DIR$/example/ios/Flutter/Generated.xcconfig"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"105"
>
<state
relative-caret-position=
"105"
>
...
@@ -727,6 +712,33 @@
...
@@ -727,6 +712,33 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/lib/flutter_inappbrowser.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"129"
>
<caret
line=
"581"
column=
"54"
selection-start-line=
"581"
selection-start-column=
"47"
selection-end-line=
"581"
selection-end-column=
"54"
/>
<folding>
<element
signature=
"e#814#831#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/README.md"
>
<provider
selected=
"true"
editor-type-id=
"split-provider[text-editor;MarkdownPreviewEditor]"
>
<state
split_layout=
"SPLIT"
>
<first_editor
relative-caret-position=
"382"
>
<caret
line=
"509"
column=
"29"
selection-start-line=
"509"
selection-start-column=
"29"
selection-end-line=
"509"
selection-end-column=
"29"
/>
</first_editor>
<second_editor>
<markdownNavigatorState
/>
</second_editor>
</state>
</provider>
<provider
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"247"
>
<caret
line=
"19"
column=
"15"
selection-start-line=
"19"
selection-start-column=
"3"
selection-end-line=
"19"
selection-end-column=
"15"
/>
</state>
</provider>
</entry>
</component>
</component>
<component
name=
"masterDetails"
>
<component
name=
"masterDetails"
>
<states>
<states>
...
...
This diff is collapsed.
Click to expand it.
README.md
View file @
ee7910b0
...
@@ -503,7 +503,7 @@ inAppBrowser.removeJavaScriptHandler(String handlerName, int index);
...
@@ -503,7 +503,7 @@ inAppBrowser.removeJavaScriptHandler(String handlerName, int index);
#### Future\<Uint8List\> InAppBrowser.takeScreenshot
#### Future\<Uint8List\> InAppBrowser.takeScreenshot
Takes a screenshot (in PNG format) of the
v
iew's visible viewport and returns a
`Uint8List`
. Returns
`null`
if it wasn't be able to take it.
Takes a screenshot (in PNG format) of the
WebV
iew's visible viewport and returns a
`Uint8List`
. Returns
`null`
if it wasn't be able to take it.
**NOTE for iOS**
: available from iOS 11.0+.
**NOTE for iOS**
: available from iOS 11.0+.
```
dart
```
dart
...
@@ -512,14 +512,14 @@ inAppBrowser.takeScreenshot();
...
@@ -512,14 +512,14 @@ inAppBrowser.takeScreenshot();
#### Future\<void\> InAppBrowser.setOptions
#### Future\<void\> InAppBrowser.setOptions
Sets the
InAppBrowser
options with the new
`options`
and evaluates them.
Sets the
`InAppBrowser`
options with the new
`options`
and evaluates them.
```
dart
```
dart
inAppBrowser
.
setOptions
(
Map
<
String
,
dynamic
>
options
);
inAppBrowser
.
setOptions
(
Map
<
String
,
dynamic
>
options
);
```
```
#### Future\<Map\<String, dynamic\>\> InAppBrowser.getOptions
#### Future\<Map\<String, dynamic\>\> InAppBrowser.getOptions
Gets the current
InAppBrowser
options. Returns
`null`
if the options are not setted yet.
Gets the current
`InAppBrowser`
options. Returns
`null`
if the options are not setted yet.
```
dart
```
dart
inAppBrowser
.
getOptions
();
inAppBrowser
.
getOptions
();
```
```
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment