superlistapp / super_native_extensions

Native drag & drop, clipboard access and context menu.
MIT License
364 stars 56 forks source link

Remove Irondash dependencies #315

Closed OpenJarvisAI closed 3 months ago

OpenJarvisAI commented 3 months ago

Remove Irondash dependencies

OpenJarvisAI commented 3 months ago

irondash_engine_context-0.5.2/cargokit/gradle/plugin.gradle' line: 140

OpenJarvisAI commented 3 months ago

Actaully have NDK installed

knopp commented 3 months ago

Please read this part of README.

By default this should already included in Flutter generated build.gradle. (It is for any new project)

Cargokit is what build the native part of the project. It can not be removed. It will however be migrated to native assets once available which will remove the gradle plugin dependency.

OpenJarvisAI commented 3 months ago

Hey guys.

I am really out of my mind now...

I added super_clipboard dependencies.

And my app goes from 16M to 34M

image

holy sh........

knopp commented 3 months ago

You might want to take a look at what's inside of the APK. The actual size of release binary for android arm64 is 1.4MB uncompressed (https://github.com/superlistapp/super_native_extensions/releases)

OpenJarvisAI commented 3 months ago

Hi, the supernativeextension .so indeed small, but it introduce many other deps which I don't know what it is.

After remvoe alll superxxx related dependencies and remove all build folder, my app size goes normal.

knopp commented 3 months ago

I closed this issue because the conversation continued in https://github.com/superlistapp/super_native_extensions/issues/316.