You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened and how can we reproduce this issue?
I am using following related libraries in my project:
KSP version: 2.1.0-1.0.29
Ktorfit version and ktorfitConvertersResponse version: 2.2.0
compose: 1.7.3
kotlin: 2.1.0
AGP: 8.2.2
ktor:3.0.1
The app compiles and runs fine in android, desktop and ios targets.
It runs fine in wasm target but only in development builds. When I do production build, the app will crash as soon as it encounters the following code.
Ktorfit version
2.2.0
What happened and how can we reproduce this issue?
I am using following related libraries in my project:
KSP version: 2.1.0-1.0.29
Ktorfit version and ktorfitConvertersResponse version: 2.2.0
compose: 1.7.3
kotlin: 2.1.0
AGP: 8.2.2
ktor:3.0.1
The app compiles and runs fine in android, desktop and ios targets.
It runs fine in wasm target but only in development builds. When I do production build, the app will crash as soon as it encounters the following code.
val api = ktorfit.createTestApi()
Sample ktorfit api.
ktorfit:
following works fine:
wasmJsBrowserDevelopmentRun -t --quiet
However, crashes as soon as it encounters usage of KtorfitApi with following command:
composeApp:wasmjsBrowserProductionRun
Screenshots:
What did you expect to happen?
There should be no crash. It looks like js optimizer is unable to deal with generated output.
Is there anything else we need to know about?
No response
The text was updated successfully, but these errors were encountered: