Skip to content

Build broken / Update for Gio v0.6.0 #12

@mil

Description

@mil

Since v0.6.0 of gio, it seems the build for giohyperlink on android is broken. Compiling with -target android fails with:

../go/pkg/mod/github.com/inkeliz/giohyperlink@v0.0.0-20220903215451-2ac5d54abdce/giohyperlink_android.go:19:12: e.View undefined (type app.ViewEvent has no field or method View)

Looking into it, it seems the API for gio v0.6.0 changed for ViewEvent:
https://gioui.org/news/2024-04#api-change-app-viewevent

I thought changing ViewEvent to AndroidViewEvent (in giohyperlink_android.go) might work and was considering creating a PR. However even though changing to AndroidViewEvent did allow the compile to succeed for android; the app now freezes on boot so I assume there is something I'm missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions