Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unable to open Webview #440

Closed
5 tasks done
devraj-kumar opened this issue Jul 6, 2020 · 4 comments
Closed
5 tasks done

Unable to open Webview #440

devraj-kumar opened this issue Jul 6, 2020 · 4 comments
Labels
bug Something isn't working stale

Comments

@devraj-kumar
Copy link

Environment

Technology Version
Flutter version 1.17.4
Plugin version
Android version
iOS version ios 13
Xcode version

Device information:

Description

I have a login screen and from there I am directed toward webview, but if I bypass login and change my home to the webview then I am unable to access webview, it opens but nothing loads
Expected behavior:

Current behavior:

Steps to reproduce

  1. This
  2. Than that
  3. Then

Images

Stacktrace/Logcat

2020-07-07 02:58:10.428806+0530 Runner[29474:2219890] Metal API Validation Enabled
2020-07-07 02:58:10.622528+0530 Runner[29474:2220073] flutter: Observatory listening on http://127.0.0.1:55421/a788adst7DY=/
2020-07-07 02:58:11.167001+0530 Runner[29474:2219890] WF: === Starting WebFilter logging for process Runner
2020-07-07 02:58:11.167028+0530 Runner[29474:2219890] WF: _userSettingsForUser mobile: {
filterBlacklist = (
);
filterWhitelist = (
);
restrictWeb = 1;
useContentFilter = 0;
useContentFilterOverrides = 0;
whitelistEnabled = 0;
}
2020-07-07 02:58:11.167047+0530 Runner[29474:2219890] WF: _WebFilterIsActive returning: NO
2020-07-07 02:58:11.193607+0530 Runner[29474:2220059] [VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: 'package:flutter_inappwebview/src/cookie_manager.dart': Failed assertion: line 50 pos 12: 'value != null && value.isNotEmpty': is not true.
#0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:42:39)
#1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:38:5)
#2 CookieManager.setCookie (package:flutter_inappwebview/src/cookie_manager.dart:50:12)
#3 _MyAppState.initState (package:Gocomet/UI/MyHomePage.dart:25:20)
#4 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4640:58)
#5 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#6 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#7 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#8 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5830:14)
#9 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#10 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#11 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#12 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#13 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#14 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#15 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#16 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#17 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5830:14)
#18 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#19 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#20 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5830:14)
#21 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#22 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#24 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#25 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#26 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#27 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#28 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#29 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#30 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5947:32)
#31 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#32 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#33 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#34 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#35 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#36 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#37 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#38 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#39 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#40 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#41 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5830:14)
#42 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#43 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#44 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#45 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#46 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#47 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#48 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#49 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#50 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#51 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#52 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5830:14)
#53 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#54 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#55 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#56 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#57 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#58 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#59 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#60 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#61 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#62 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#63 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5830:14)
#64 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#65 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#66 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#67 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#68 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#69 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#70 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#71 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#72 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#73 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#74 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#75 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#76 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#77 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#78 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#79 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#80 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#81 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#82 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#83 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#84 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#85 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#86 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#87 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#88 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5830:14)
#89 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#90 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#91 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#92 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#93 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#94 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#95 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#96 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#97 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5830:14)
#98 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#99 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#100 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#101 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#102 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#103 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#104 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#105 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#106 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#107 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#108 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#109 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#110 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#111 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#112 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#113 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#114 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5830:14)
#115 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#116 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#117 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#118 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#119 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#120 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#121 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#122 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#123 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#124 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#125 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#126 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#127 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#128 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#129 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#130 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#131 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#132 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#133 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#134 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#135 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#136 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#137 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#138 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#139 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#140 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#141 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#142 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#143 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#144 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#145 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#146 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#147 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#148 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#149 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#150 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5947:32)
#151 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#152 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#153 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#154 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#155 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#156 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#157 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#158 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#159 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#160 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#161 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#162 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#163 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#164 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#165 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#166 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#167 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5830:14)
#168 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#169 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#170 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#171 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#172 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#173 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#174 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#175 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#176 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#177 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#178 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5830:14)
#179 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#180 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#181 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5830:14)
#182 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#183 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#184 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#185 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#186 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#187 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#188 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#189 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#190 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#191 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#192 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#193 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#194 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#195 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#196 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#197 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#198 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#199 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#200 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#201 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#202 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#203 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#204 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#205 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#206 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#207 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#208 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#209 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#210 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#211 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#212 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#213 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#214 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#215 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#216 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#217 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#218 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#219 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#220 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#221 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#222 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#223 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#224 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#225 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#226 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#227 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#228 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#229 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#230 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#231 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#232 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#233 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#234 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#235 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#236 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#237 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#238 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#239 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#240 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#241 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#242 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#243 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#244 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#245 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#246 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#247 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#248 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#249 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#250 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#251 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#252 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#253 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#254 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#255 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#256 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#257 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#258 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#259 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#260 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#261 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#262 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#263 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#264 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#265 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#266 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#267 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#268 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#269 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#270 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#271 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#272 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5830:14)
#273 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#274 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#275 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#276 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#277 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#278 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#279 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#280 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#281 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#282 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#283 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#284 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#285 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#286 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#287 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#288 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#289 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#290 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#291 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#292 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#293 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#294 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#295 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#296 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#297 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#298 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#299 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#300 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#301 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#302 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#303 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#304 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#305 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#306 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#307 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#308 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#309 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#310 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#311 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#312 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#313 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#314 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#315 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#316 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#317 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#318 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#319 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#320 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#321 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#322 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#323 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#324 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#325 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#326 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#327 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#328 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#329 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#330 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#331 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#332 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#333 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#334 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#335 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#336 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#337 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5830:14)
#338 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#339 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#340 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#341 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#342 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#343 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#344 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#345 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#346 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#347 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#348 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#349 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#350 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#351 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#352 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#353 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#354 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#355 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#356 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#357 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#358 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#359 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#360 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#361 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#362 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#363 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#364 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#365 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#366 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#367 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#368 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#369 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#370 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#371 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#372 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#373 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#374 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#375 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#376 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#377 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#378 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#379 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#380 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#381 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
#382<…>

main.dart

`import 'package:Go/UI/MyHomePage.dart';
import 'package:Go/#_page.dart';
import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';

Future main() async {
WidgetsFlutterBinding.ensureInitialized();
runApp(
MaterialApp(
debugShowCheckedModeBanner: false,
title: 'The Complete WebView in Flutter',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: MyApp(),
),
);
}

MyHomePage.dart

`import 'dart:async';
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:Go/utils/constants.dart' as global;
import 'package:flutter_inappwebview/flutter_inappwebview.dart';

Future main() async {
WidgetsFlutterBinding.ensureInitialized();
runApp(MyApp());
}

class MyApp extends StatefulWidget {
@OverRide
_MyAppState createState() => new _MyAppState();
}

class _MyAppState extends State {
InAppWebViewController webView;
CookieManager _cookieManager = CookieManager.instance();

@OverRide
void initState() {
super.initState();

_cookieManager.setCookie(
  url: "https://go.com/",
  name: "user",
  value: global.token,
  domain: ".go.com",
  isSecure: true,
);

}

@OverRide
void dispose() {
super.dispose();
}

@OverRide
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Go'),
),
body: Container(
child: Column(children: [
Expanded(
child: InAppWebView(
initialUrl: global.redirectUrl,

        initialOptions: InAppWebViewGroupOptions(
          crossPlatform: InAppWebViewOptions(
            debuggingEnabled: true,
            useShouldOverrideUrlLoading: true
          ),
        ),
        onWebViewCreated: (InAppWebViewController controller) {
          webView = controller;
        },
        onLoadStart: (InAppWebViewController controller, String url) {},
        onLoadStop: (InAppWebViewController controller, String url) async {
          List<Cookie> cookies = await _cookieManager.getCookies(url: url);
          cookies.forEach((cookie) {
            print(cookie.name + " " + cookie.value);
          });
        },
        shouldOverrideUrlLoading: (controller, shouldOverrideUrlLoadingRequest) async {
          print("URL: ${shouldOverrideUrlLoadingRequest.url}");

          if (Platform.isAndroid || shouldOverrideUrlLoadingRequest.iosWKNavigationType == IOSWKNavigationType.LINK_ACTIVATED) {
            controller.loadUrl(url: shouldOverrideUrlLoadingRequest.url, headers: {
              'My-Custom-Header': 'custom_value=564hgf34'
            });
            return ShouldOverrideUrlLoadingAction.CANCEL;
          }
          return ShouldOverrideUrlLoadingAction.ALLOW;
        },
      ))
    ])),
  ),
);

}
}`

@devraj-kumar devraj-kumar added the bug Something isn't working label Jul 6, 2020
@pmrajani
Copy link

pmrajani commented Sep 8, 2020

flutter: Another exception was thrown: 'package:flutter/src/semantics/semantics.dart': Failed assertion: line 2633 pos 14: 'node.parent?._dirty != true': is not true.

WF: _userSettingsForUser : (null)

WF: _WebFilterIsActive returning: NO

Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service

@aiden-d
Copy link

aiden-d commented Jun 29, 2021

Hi did you manage to fix it? I am having the same issue...

Copy link

github-actions bot commented Oct 7, 2024

This issue is stale and has been automatically closed because it has been open for more than 365 days with no activity. Please reopen a new issue if you still have it.

@github-actions github-actions bot added the stale label Oct 7, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 7, 2024
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 25, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

3 participants