open_filex icon indicating copy to clipboard operation
open_filex copied to clipboard

Add wasm support

Open raldhafiri opened this issue 1 year ago • 4 comments

Add WASM support

raldhafiri avatar Jul 12 '24 17:07 raldhafiri

@raldhafiri Could you please explain the change you've made and how does it differ from the previous version?

javaherisaber avatar Aug 12 '24 16:08 javaherisaber

@raldhafiri Could you please explain the change you've made and how does it differ from the previous version?

To avoid open file in wasm target .. as the implementation only works with Chrome .. and for web we could use url_launcher package instead

raldhafiri avatar Aug 12 '24 18:08 raldhafiri

I cannot build the app on runtime when I add this package.

mshahzad89 avatar Aug 21 '24 14:08 mshahzad89

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:checkDebugDuplicateClasses'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable Duplicate class androidx.lifecycle.ViewModelLazy found in modules jetified-lifecycle-viewmodel-ktx-2.3.1-runtime (androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1) and lifecycle-viewmodel-2.5.1-runtime (androidx.lifecycle:lifecycle-viewmodel:2.5.1) Duplicate class androidx.lifecycle.ViewTreeViewModelKt found in modules jetified-lifecycle-viewmodel-ktx-2.3.1-runtime (androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1) and lifecycle-viewmodel-2.5.1-runtime (androidx.lifecycle:lifecycle-viewmodel:2.5.1)

 Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.
  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 6s Error: Gradle task assembleDebug failed with exit code 1 error in debug console after adding this package

mshahzad89 avatar Aug 21 '24 14:08 mshahzad89