dstark5 / dstark5/Openlib

Runtime exception when running as Linux desktop app

Open
#149 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
2.5k
Forks
130
PR merge metrics
No merged PRs in 30d

Description

Trying to run on Linux desktop (Ubuntu 24), no Android studio, just flutter and its dependencies installed.

App loads and I can search books and click on covers, but when I click add to library I get a red screen:

```
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY
╞═══════════════════════════════════════════════════════════
The following assertion was thrown building Webview(dirty, state:
_WebviewState#ff767):
A platform implementation for `flutter_inappwebview` has not been set. Please
ensure that an
implementation of `InAppWebViewPlatform` has been set to
`InAppWebViewPlatform.instance` before use.
For unit testing, `InAppWebViewPlatform.instance` can be set with your own test
implementation.
'package:flutter_inappwebview_platform_interface/src/in_app_webview/platform_ina
ppwebview_widget.dart':
Failed assertion: line 215 pos 7: 'InAppWebViewPlatform.instance != null'

The relevant error-causing widget was:
Webview Webview:file:///home/df/Openlib/lib/ui/book_info_page.dart:230:32

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.