Ensemble icon indicating copy to clipboard operation
Ensemble copied to clipboard

Query: v2.9.2 compiled apk file more than doubled

Open KaiboshOz opened this issue 10 months ago • 1 comments

Is the compiled apk file expected to have more than doubled? Not a problem if it's legit - it just seems like a huge jump for it to be legit..

v2.9.1 compiled apk size - 31.48 MB v2.9.2 compiled apk size - 70.8 MB

KaiboshOz avatar Jan 26 '26 23:01 KaiboshOz

Yeah, that's legit - a few things happened since the last release.

  1. Upgraded to Flutter 3.38 which bumped the engine size
  2. Went down a rabbit hole trying to get WebRTC remote connection working (spoiler: it didn't work out - the data channel dies after a few minutes, seems to be a server-side issue). Had to update a bunch of dependencies during that experiment. The APK includes all 3 CPU architectures (arm64, armv7, x86_64) which adds up. Could build split APKs per architecture to get it back down to ~25-30MB each if size is a concern.

I Kept a bunch of documentation for remote connection, if and when I try to incorporate it again:

https://github.com/CollotsSpot/Ensemble/tree/master/docs/remote-connection

CollotsSpot avatar Jan 27 '26 05:01 CollotsSpot