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
8486cd04
Commit
8486cd04
authored
Nov 18, 2019
by
Lorenzo Pichilli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed export 'src/cookie_manager.dart'
parent
48b5aaf1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
60 additions
and
15 deletions
+60
-15
.idea/workspace.xml
.idea/workspace.xml
+58
-15
example/lib/in_app_webiew_example.screen.dart
example/lib/in_app_webiew_example.screen.dart
+1
-0
lib/flutter_inappbrowser.dart
lib/flutter_inappbrowser.dart
+1
-0
No files found.
.idea/workspace.xml
View file @
8486cd04
...
...
@@ -15,7 +15,8 @@
</component>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"9b41f7a2-a71e-4923-91fb-249d7815b3e7"
name=
"Default"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/android/src/main/java/com/pichillilorenzo/flutter_inappbrowser/InAppWebView/InAppWebView.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/android/src/main/java/com/pichillilorenzo/flutter_inappbrowser/InAppWebView/InAppWebView.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/lib/in_app_webiew_example.screen.dart"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/lib/in_app_webiew_example.screen.dart"
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/"
/>
<ignored
path=
"$PROJECT_DIR$/.idea/"
/>
...
...
@@ -59,8 +60,8 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/example/lib/in_app_webiew_example.screen.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
353
"
>
<caret
line=
"1
86"
column=
"25"
selection-start-line=
"186"
selection-start-column=
"25"
selection-end-line=
"186"
selection-end-column=
"25
"
/>
<state
relative-caret-position=
"
424
"
>
<caret
line=
"1
97"
column=
"23"
lean-forward=
"true"
selection-start-line=
"197"
selection-start-column=
"23"
selection-end-line=
"197"
selection-end-column=
"23
"
/>
<folding>
<element
signature=
"e#0#20#0"
expanded=
"true"
/>
</folding>
...
...
@@ -69,6 +70,30 @@
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/lib/flutter_inappbrowser.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"360"
>
<caret
line=
"24"
column=
"33"
lean-forward=
"true"
selection-start-line=
"24"
selection-start-column=
"33"
selection-end-line=
"24"
selection-end-column=
"33"
/>
<folding>
<element
signature=
"e#0#1218#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/lib/src/cookie_manager.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"180"
>
<caret
line=
"12"
column=
"31"
selection-start-line=
"12"
selection-start-column=
"23"
selection-end-line=
"12"
selection-end-column=
"31"
/>
<folding>
<element
signature=
"e#0#20#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/lib/src/webview_options.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"290"
>
...
...
@@ -131,7 +156,6 @@
</component>
<component
name=
"FindInProjectRecents"
>
<findStrings>
<find>
should
</find>
<find>
resourceCustomSchemes
</find>
<find>
WebHistory
</find>
<find>
flutterInAppBrowserPlatformReady
</find>
...
...
@@ -161,6 +185,7 @@
<find>
AndroidView
</find>
<find>
scalesPageToFit
</find>
<find>
scroll
</find>
<find>
cookie_manager
</find>
</findStrings>
<replaceStrings>
<replace>
activity.getPreferences(0)
</replace>
...
...
@@ -186,7 +211,6 @@
<component
name=
"IdeDocumentHistory"
>
<option
name=
"CHANGED_PATHS"
>
<list>
<option
value=
"$PROJECT_DIR$/flutter_inappbrowser_tests/assets/in_app_webview_javascript_handler_test.html"
/>
<option
value=
"$PROJECT_DIR$/flutter_inappbrowser_tests/assets/index.html"
/>
<option
value=
"$PROJECT_DIR$/lib/src/content_blocker.dart"
/>
<option
value=
"$PROJECT_DIR$/nodejs_server_test_auth_basic_and_ssl/index.js"
/>
...
...
@@ -237,6 +261,7 @@
<option
value=
"$PROJECT_DIR$/example/lib/main.dart"
/>
<option
value=
"$PROJECT_DIR$/CHANGELOG.md"
/>
<option
value=
"$PROJECT_DIR$/example/lib/in_app_webiew_example.screen.dart"
/>
<option
value=
"$PROJECT_DIR$/lib/flutter_inappbrowser.dart"
/>
</list>
</option>
</component>
...
...
@@ -494,7 +519,7 @@
<frame
x=
"0"
y=
"23"
width=
"1920"
height=
"1057"
extended-state=
"6"
/>
<editor
active=
"true"
/>
<layout>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"0"
sideWeight=
"0.6529745"
visible=
"true"
weight=
"0.2087327"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"0"
sideWeight=
"0.6529745"
visible=
"true"
weight=
"0.2087327"
/>
<window_info
id=
"Structure"
order=
"1"
sideWeight=
"0.34702548"
side_tool=
"true"
weight=
"0.15867944"
/>
<window_info
id=
"Designer"
order=
"2"
/>
<window_info
id=
"Build Variants"
order=
"3"
side_tool=
"true"
/>
...
...
@@ -513,7 +538,7 @@
<window_info
anchor=
"bottom"
id=
"Android Profiler"
order=
"7"
show_stripe_button=
"false"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"8"
sideWeight=
"0.5063898"
side_tool=
"true"
weight=
"0.3388601"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"9"
weight=
"0.32953367"
/>
<window_info
a
ctive=
"true"
a
nchor=
"bottom"
id=
"Terminal"
order=
"10"
sideWeight=
"0.49361023"
visible=
"true"
weight=
"0.3388601"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"10"
sideWeight=
"0.49361023"
visible=
"true"
weight=
"0.3388601"
/>
<window_info
anchor=
"bottom"
id=
"Messages"
order=
"11"
weight=
"0.3896373"
/>
<window_info
anchor=
"bottom"
id=
"Dependency Viewer"
order=
"12"
weight=
"0.32800853"
/>
<window_info
anchor=
"bottom"
id=
"Logcat"
order=
"13"
weight=
"0.32953367"
/>
...
...
@@ -544,8 +569,6 @@
</ignored-roots>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/test_driver/app.dart"
/>
<entry
file=
"file://$PROJECT_DIR$/test_driver/app_test.dart"
/>
<entry
file=
"file://$PROJECT_DIR$/pubspec.yaml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"216"
>
...
...
@@ -848,22 +871,42 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/lib/src/webview_options.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"290"
>
<caret
line=
"106"
column=
"30"
selection-start-line=
"106"
selection-start-column=
"7"
selection-end-line=
"106"
selection-end-column=
"30"
/>
<folding>
<element
signature=
"e#0#17#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/lib/src/cookie_manager.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"180"
>
<caret
line=
"12"
column=
"31"
selection-start-line=
"12"
selection-start-column=
"23"
selection-end-line=
"12"
selection-end-column=
"31"
/>
<folding>
<element
signature=
"e#0#20#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/lib/in_app_webiew_example.screen.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
353
"
>
<caret
line=
"1
86"
column=
"25"
selection-start-line=
"186"
selection-start-column=
"25"
selection-end-line=
"186"
selection-end-column=
"25
"
/>
<state
relative-caret-position=
"
424
"
>
<caret
line=
"1
97"
column=
"23"
lean-forward=
"true"
selection-start-line=
"197"
selection-start-column=
"23"
selection-end-line=
"197"
selection-end-column=
"23
"
/>
<folding>
<element
signature=
"e#0#20#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/lib/
src/webview_options
.dart"
>
<entry
file=
"file://$PROJECT_DIR$/lib/
flutter_inappbrowser
.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
29
0"
>
<caret
line=
"
106"
column=
"30"
selection-start-line=
"106"
selection-start-column=
"7"
selection-end-line=
"106"
selection-end-column=
"30
"
/>
<state
relative-caret-position=
"
36
0"
>
<caret
line=
"
24"
column=
"33"
lean-forward=
"true"
selection-start-line=
"24"
selection-start-column=
"33"
selection-end-line=
"24"
selection-end-column=
"33
"
/>
<folding>
<element
signature=
"e#0#1
7
#0"
expanded=
"true"
/>
<element
signature=
"e#0#1
218
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
...
...
example/lib/in_app_webiew_example.screen.dart
View file @
8486cd04
...
...
@@ -201,6 +201,7 @@ class _InAppWebViewExampleScreenState extends State<InAppWebViewExampleScreen> {
}
//controller.findAllAsync("flutter");
print
(
await
controller
.
getFavicons
());
print
(
await
CookieManager
.
instance
().
getCookies
(
url:
url
));
},
onLoadError:
(
InAppWebViewController
controller
,
String
url
,
int
code
,
String
message
)
async
{
...
...
lib/flutter_inappbrowser.dart
View file @
8486cd04
...
...
@@ -25,6 +25,7 @@ export 'src/types.dart';
export
'src/in_app_webview.dart'
;
export
'src/in_app_browser.dart'
;
export
'src/channel_manager.dart'
;
export
'src/cookie_manager.dart'
;
export
'src/chrome_safari_browser.dart'
;
export
'src/chrome_safari_browser.dart'
;
export
'src/in_app_localhost_server.dart'
;
...
...
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