Skip to content

Recreating View error #110

@giantstar624

Description

@giantstar624

SDK Affected

AppKit

Describe the bug

Sometimes, stuck navigating to the page containing Connect/Account Button with below error.

[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: PlatformException(recreating_view, trying to create an already created view, view id: '0', null)
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:646:7)
message_codecs.dart:646
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:334:18)
platform_channel.dart:334
<asynchronous suspension>
#2      PlatformViewsService.initUiKitView (package:flutter/src/services/platform_views.dart:248:5)
platform_views.dart:248
<asynchronous suspension>
#3      _DarwinViewState._createNewUiKitView (package:flutter/src/widgets/platform_view.dart:921:36)
platform_view.dart:921
<asynchronous suspension>

To Reproduce

Steps to reproduce the behavior:
There're 2 pages - home page and detail page. Buttons are in detail page.

  1. Run app
  2. Navigate to detail page
  3. Sometimes above error occurs.

Expected behavior
UI should be displayed without no problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions