Skip to content

Issue Summary (GetX + WebView) #3433

@Bhuvan90902002

Description

@Bhuvan90902002

Issue Summary (GetX + WebView)

After upgrading Flutter from 3.29.2 to 3.38.5, navigating from an active InAppWebView using GetX (Get.offAllNamed) causes a black screen / blank screen on Android.

Why it happens

Navigation is triggered from the GetX controller while the WebView is still loading

Get.offAllNamed immediately removes the WebView route

In Flutter 3.38+ (Android WebView v134+), this crashes the WebView renderer

Result: black screen flash

Why it worked before

Flutter 3.29.2 had a more tolerant WebView lifecycle

Route removal during active WebView loading did not crash

Correct approach

Do not navigate from GetX controller

Controller should only detect URL state

UI should:

Stop WebView loading

Wait briefly

Then call Get.offAllNamed

Key takeaway

In Flutter 3.38+, GetX navigation must not remove an active WebView directly.
Navigation should happen only after WebView is stopped and stabilized.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions