firebase-unity-sdk icon indicating copy to clipboard operation
firebase-unity-sdk copied to clipboard

[FR] Reduce 158 MB FirebaseCppApp .bundle on macOS closer to its 12 MB .dll counterpart on Windows

Open AdriaandeJongh opened this issue 1 year ago • 3 comments

Feature proposal

  • Firebase Component: Core / Unity

The FirebaseCppApp-11_0_0.bundle file located at AppName.app/Contents/PlugIns/FirebaseCppApp-11_0_0.bundle is a whopping 159,5 MB, massively bloating the binary. Compared to the FirebaseCppApp-11_0_0.dll file located at AppName_Data/Plugins/x86_64/FirebaseCppApp-11_0_0.dll of 11,5 MB, the Firebase team seems to be a little more Windows-centric internally. Please give the macOS bundle the optimizing love it deserves!

As Firebase on Windows / Mac / Linux will soon (?) allow developers like myself to release our games with Firebase on macOS, it would be great if we can save our users the download time and storage space.

AdriaandeJongh avatar Jun 01 '23 09:06 AdriaandeJongh

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

google-oss-bot avatar Jun 01 '23 09:06 google-oss-bot

Any updates on this? It's more than doubling the size of our release binary.

We are only using the auth module but it depends on this bundle. We will have to remove this SDK and reimplement the auth requests ourselves because an extra 160mb isn't feasible.

lukechatton avatar Jul 12 '23 16:07 lukechatton

Yes, please, split bundle files by CPU arch, is it possible?

walektine avatar Oct 03 '23 05:10 walektine