Skip to content

replace webview implementation to magic-cucumber/wvbridge#82

Merged
magic-cucumber merged 9 commits into
masterfrom
feature-tiny-wvbridge
Jul 11, 2026
Merged

replace webview implementation to magic-cucumber/wvbridge#82
magic-cucumber merged 9 commits into
masterfrom
feature-tiny-wvbridge

Conversation

@magic-cucumber

Copy link
Copy Markdown
Owner

https://github.com/magic-cucumber/wvbridge

其实是私货,不过库本身之前测试过,问题不大。

@magic-cucumber magic-cucumber self-assigned this Jun 18, 2026
@magic-cucumber magic-cucumber added the enhancement New feature or request label Jun 18, 2026
@magic-cucumber
magic-cucumber marked this pull request as draft June 18, 2026 05:42
@magic-cucumber
magic-cucumber marked this pull request as ready for review June 19, 2026 14:57
@revonateB0T

Copy link
Copy Markdown
Collaborator

jna扬了吗 把proguard rule里的jna规则一起清理掉

@magic-cucumber

Copy link
Copy Markdown
Owner Author

jna扬了吗 把proguard rule里的jna规则一起清理掉

@revonateB0T helpme检查一下depends里有没有jna,顺便再加上这个系统的proguard rules,我没写😂

@revonateB0T

Copy link
Copy Markdown
Collaborator

jna扬了吗 把proguard rule里的jna规则一起清理掉

@revonateB0T helpme检查一下depends里有没有jna,顺便再加上这个系统的proguard rules,我没写😂

最近忙 过两天的

Comment thread gradle/libs.versions.toml Outdated
@magic-cucumber

Copy link
Copy Markdown
Owner Author

jna扬了吗 把proguard rule里的jna规则一起清理掉

@revonateB0T helpme检查一下depends里有没有jna,顺便再加上这个系统的proguard rules,我没写😂

最近忙 过两天的

@revonateB0T 不用删了,korlibs也使用了jna

./gradlew.bat :composeApp:dependencyInsight --dependency net.java.dev.jna:jna --configuration desktopRuntimeClasspath --no-daemon
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.14.3/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build 
Type-safe project accessors is an incubating feature.

> Configure project :composeApp
APP_COMMIT_ID not set, use system default.(5b8e7d2)
APP_VERSION: 1.8.6(186)
PROGUARD_ENABLE: true
---- Java Info ----
Java version: 17
Java vendor:  AdoptOpenJDK
Java home:    C:\Program Files\AdoptOpenJDK\jdk-17.0.0.20-hotspot
OS name:      Windows 10
OS arch:      amd64
-------------------
The 'ksp' configuration is deprecated in Kotlin Multiplatform projects. Please use target-specific configurations like 'kspJvm' instead.

> Configure project :lib:gif
w: Cross Compilation with Cinterop Not Supported in Project 'gif'
In project 'gif', cross compilation to target 'iosArm64' has been disabled because it contains cinterops: 'gif' which cannot be processed on host 'mingw_x64'.
Cinterop libraries require platform-specific native toolchains that aren't available on the current host system.
Solutions:
 * Remove the cinterop dependencies 'gif' from target 'iosArm64'
 * Build on a compatible host platform for this target/cinterop combination
 * To disable klib cross compilation entirely, add 'kotlin.native.enableKlibsCrossCompilation=false' to your Gradle properties

w: Cross Compilation with Cinterop Not Supported in Project 'gif'
In project 'gif', cross compilation to target 'iosSimulatorArm64' has been disabled because it contains cinterops: 'gif' which cannot be processed on host 'mingw_x64'.
Cinterop libraries require platform-specific native toolchains that aren't available on the current host system.
Solutions:
 * Remove the cinterop dependencies 'gif' from target 'iosSimulatorArm64'
 * Build on a compatible host platform for this target/cinterop combination
 * To disable klib cross compilation entirely, add 'kotlin.native.enableKlibsCrossCompilation=false' to your Gradle properties


> Task :composeApp:dependencyInsight
net.java.dev.jna:jna:5.14.0
  Variant runtime:
    | Attribute Name                     | Provided     | Requested    |
    |------------------------------------|--------------|--------------|
    | org.gradle.libraryelements         | jar          |              |
    | org.gradle.status                  | release      |              |
    | org.gradle.category                | library      | library      |
    | org.gradle.usage                   | java-runtime | java-runtime |
    | org.gradle.jvm.environment         |              | standard-jvm |
    | org.jetbrains.kotlin.platform.type |              | jvm          |

net.java.dev.jna:jna:5.14.0
+--- com.soywiz:korlibs-ffi-legacy-jvm:6.0.0
|    \--- com.soywiz:korlibs-ffi-legacy:6.0.0
|         \--- com.soywiz:korlibs-io-jvm:6.0.2
|              \--- com.soywiz:korlibs-io:6.0.2
|                   +--- desktopRuntimeClasspath
|                   \--- project :lib:okio-enhancement-util
|                        +--- desktopRuntimeClasspath
|                        +--- project :lib:gif
|                        |    \--- desktopRuntimeClasspath
|                        +--- project :lib:file-picker
|                        |    \--- desktopRuntimeClasspath
|                        \--- project :lib:epub
|                             \--- desktopRuntimeClasspath
\--- net.java.dev.jna:jna-platform:5.14.0
     \--- com.soywiz:korlibs-ffi-legacy-jvm:6.0.0 (*)

net.java.dev.jna:jna-platform:5.14.0
  Variant runtime:
    | Attribute Name                     | Provided     | Requested    |
    |------------------------------------|--------------|--------------|
    | org.gradle.libraryelements         | jar          |              |
    | org.gradle.status                  | release      |              |
    | org.gradle.category                | library      | library      |
    | org.gradle.usage                   | java-runtime | java-runtime |
    | org.gradle.jvm.environment         |              | standard-jvm |
    | org.jetbrains.kotlin.platform.type |              | jvm          |

net.java.dev.jna:jna-platform:5.14.0
\--- com.soywiz:korlibs-ffi-legacy-jvm:6.0.0
     \--- com.soywiz:korlibs-ffi-legacy:6.0.0
          \--- com.soywiz:korlibs-io-jvm:6.0.2
               \--- com.soywiz:korlibs-io:6.0.2
                    +--- desktopRuntimeClasspath
                    \--- project :lib:okio-enhancement-util
                         +--- desktopRuntimeClasspath
                         +--- project :lib:gif
                         |    \--- desktopRuntimeClasspath
                         +--- project :lib:file-picker
                         |    \--- desktopRuntimeClasspath
                         \--- project :lib:epub
                              \--- desktopRuntimeClasspath

(*) - Indicates repeated occurrences of a transitive dependency subtree. Gradle expands transitive dependency subtrees only once per project; repeat occurrences only display the root of the subtree, followed by this annotation.

A web-based, searchable dependency report is available by adding the --scan option.

[Incubating] Problems report is available at: file:///C:/Users/iveou/IdeaProjects/Pixiv-MultiPlatform/build/reports/problems/problems-report.html

BUILD SUCCESSFUL in 2m 6s
1 actionable task: 1 executed

revonateB0T
revonateB0T previously approved these changes Jun 27, 2026

@revonateB0T revonateB0T left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以给navigation back功能加个按钮 桌面端
有时候进入了错误的登录方式可以用到

@magic-cucumber

Copy link
Copy Markdown
Owner Author

已知问题:

  1. linux上关闭App会触发SIGABRT,原因未知

revonateB0T
revonateB0T previously approved these changes Jul 2, 2026
@magic-cucumber
magic-cucumber merged commit ccc7635 into master Jul 11, 2026
10 checks passed
@magic-cucumber
magic-cucumber deleted the feature-tiny-wvbridge branch July 11, 2026 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants