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
e2b091b2
Commit
e2b091b2
authored
Oct 27, 2018
by
pichillilorenzo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated docs
parent
ac962a59
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
18 deletions
+19
-18
.idea/workspace.xml
.idea/workspace.xml
+15
-18
lib/flutter_inappbrowser.dart
lib/flutter_inappbrowser.dart
+4
-0
No files found.
.idea/workspace.xml
View file @
e2b091b2
...
...
@@ -16,9 +16,6 @@
<component
name=
"ChangeListManager"
>
<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$/android/src/main/java/com/pichillilorenzo/flutter_inappbrowser/MyCookieManager.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/android/src/main/java/com/pichillilorenzo/flutter_inappbrowser/MyCookieManager.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/lib/main.dart"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/lib/main.dart"
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$/lib/flutter_inappbrowser.dart"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/lib/flutter_inappbrowser.dart"
afterDir=
"false"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/.dart_tool/"
/>
...
...
@@ -36,11 +33,11 @@
</component>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
leaf-file-name=
"flutter_inappbrowser.dart"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<file
leaf-file-name=
"flutter_inappbrowser.dart"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/lib/flutter_inappbrowser.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
8878
"
>
<caret
line=
"1
144"
column=
"23"
selection-start-line=
"1144"
selection-start-column=
"23"
selection-end-line=
"1144"
selection-end-column=
"23
"
/>
<state
relative-caret-position=
"
337
"
>
<caret
line=
"1
225"
column=
"66"
lean-forward=
"true"
selection-start-line=
"1225"
selection-start-column=
"66"
selection-end-line=
"1225"
selection-end-column=
"66
"
/>
<folding>
<element
signature=
"e#814#831#0"
expanded=
"true"
/>
</folding>
...
...
@@ -48,7 +45,7 @@
</provider>
</entry>
</file>
<file
leaf-file-name=
"main.dart"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
leaf-file-name=
"main.dart"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/example/lib/main.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"226"
>
...
...
@@ -145,8 +142,8 @@
<option
value=
"$PROJECT_DIR$/README.md"
/>
<option
value=
"$PROJECT_DIR$/pubspec.yaml"
/>
<option
value=
"$PROJECT_DIR$/CHANGELOG.md"
/>
<option
value=
"$PROJECT_DIR$/lib/flutter_inappbrowser.dart"
/>
<option
value=
"$PROJECT_DIR$/example/lib/main.dart"
/>
<option
value=
"$PROJECT_DIR$/lib/flutter_inappbrowser.dart"
/>
</list>
</option>
</component>
...
...
@@ -362,13 +359,13 @@
<window_info
anchor=
"bottom"
id=
"Dart Analysis"
order=
"14"
weight=
"0.3276414"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
sideWeight=
"0.49644473"
weight=
"0.34068358"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"9"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"10"
sideWeight=
"0.49560633"
visible=
"true"
weight=
"0.30650496"
/>
<window_info
a
ctive=
"true"
a
nchor=
"bottom"
id=
"Terminal"
order=
"10"
sideWeight=
"0.49560633"
visible=
"true"
weight=
"0.30650496"
/>
<window_info
anchor=
"right"
id=
"Flutter Outline"
order=
"6"
weight=
"0.32922077"
/>
<window_info
anchor=
"bottom"
id=
"Logcat"
order=
"11"
/>
<window_info
id=
"Captures"
order=
"4"
weight=
"0.32936507"
/>
<window_info
id=
"Capture Tool"
order=
"6"
/>
<window_info
id=
"Designer"
order=
"2"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"0"
sideWeight=
"0.49724367"
visible=
"true"
weight=
"0.14059754"
/>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"0"
sideWeight=
"0.49724367"
visible=
"true"
weight=
"0.14059754"
/>
<window_info
id=
"Structure"
order=
"1"
sideWeight=
"0.50275636"
side_tool=
"true"
weight=
"0.1910871"
/>
<window_info
anchor=
"right"
id=
"Device File Explorer"
order=
"5"
side_tool=
"true"
/>
<window_info
anchor=
"right"
id=
"Theme Preview"
order=
"7"
/>
...
...
@@ -645,22 +642,22 @@
<state
/>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
lib/flutter_inappbrowser
.dart"
>
<entry
file=
"file://$PROJECT_DIR$/
example/lib/main
.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
8878
"
>
<caret
line=
"
1144"
column=
"23"
selection-start-line=
"1144"
selection-start-column=
"23"
selection-end-line=
"1144"
selection-end-column=
"23
"
/>
<state
relative-caret-position=
"
226
"
>
<caret
line=
"
294"
lean-forward=
"true"
selection-start-line=
"294"
selection-end-line=
"294
"
/>
<folding>
<element
signature=
"e#
814#831
#0"
expanded=
"true"
/>
<element
signature=
"e#
0#20
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
example/lib/main
.dart"
>
<entry
file=
"file://$PROJECT_DIR$/
lib/flutter_inappbrowser
.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
226
"
>
<caret
line=
"
294"
lean-forward=
"true"
selection-start-line=
"294"
selection-end-line=
"294
"
/>
<state
relative-caret-position=
"
337
"
>
<caret
line=
"
1225"
column=
"66"
lean-forward=
"true"
selection-start-line=
"1225"
selection-start-column=
"66"
selection-end-line=
"1225"
selection-end-column=
"66
"
/>
<folding>
<element
signature=
"e#
0#20
#0"
expanded=
"true"
/>
<element
signature=
"e#
814#831
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
...
...
lib/flutter_inappbrowser.dart
View file @
e2b091b2
...
...
@@ -1120,6 +1120,8 @@ class InAppLocalhostServer {
}
///Manages the cookies used by an application's [InAppWebView] instances.
///
///**NOTE for iOS**: available from iOS 11.0+.
class
CookieManager
{
static
bool
_initialized
=
false
;
static
const
MethodChannel
_channel
=
const
MethodChannel
(
'com.pichillilorenzo/flutter_inappbrowser_cookiemanager'
);
...
...
@@ -1200,6 +1202,7 @@ class CookieManager {
}
///Removes a cookie by its [name] for the given [url], [domain] and [path].
///
///The default value of [path] is `"/"`.
///If [domain] is `null` or empty, its default value will be the domain name of [url].
static
Future
<
void
>
deleteCookie
(
String
url
,
String
name
,
{
String
domain
=
""
,
String
path
=
"/"
})
async
{
...
...
@@ -1221,6 +1224,7 @@ class CookieManager {
}
///Removes all cookies for the given [url], [domain] and [path].
///
///The default value of [path] is `"/"`.
///If [domain] is `null` or empty, its default value will be the domain name of [url].
static
Future
<
void
>
deleteCookies
(
String
url
,
{
String
domain
=
""
,
String
path
=
"/"
})
async
{
...
...
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