Skip to content

[connectivity_plus] Web is broken because of an indirect FFI dependency #65

@jpnurmi

Description

@jpnurmi

Dependency chain: connectivity_plus -> connectivity_plus_linux -> dbus -> ffi

Launching lib/main.dart on Chrome in debug mode...
../../../../../../Flutter/.pub-cache/hosted/pub.dartlang.org/dbus-0.1.0/lib/src/getuid.dart:1:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';                                                      
       ^                                                                
../../../../../../Flutter/.pub-cache/hosted/pub.dartlang.org/dbus-0.1.0/lib/src/getuid.dart:3:20: Error: Type 'Int32' not found.
typedef _getuidC = Int32 Function();                                    
                   ^^^^^                                                
../../../../../../Flutter/.pub-cache/hosted/pub.dartlang.org/dbus-0.1.0/lib/src/getuid.dart:8:17: Error: Getter not found: 'DynamicLibrary'.
  final dylib = DynamicLibrary.open('libc.so.6');                       
                ^^^^^^^^^^^^^^                                          
Waiting for connection from debug service on Chrome...

Unfortunately we have to apply the same workaround as in:

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingconnectivity_plusConnectivity Plus

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions