Search Unity

How to reduce app size for iOS (unity+firebase)? 55MB -> 862.9 MB

Discussion in 'General Discussion' started by DioNNiS, Apr 30, 2020.

  1. DioNNiS

    DioNNiS

    Joined:
    Mar 24, 2020
    Posts:
    3
    After adding firebase into the project app size changed from 55M to 862.9 MB. Android build of the same project is 55.6 MB.

    Code (JavaScript):
    1.  
    2. {
    3.   "dependencies": {
    4.     "com.google.external-dependency-manager": "1.2.153",
    5.     "com.google.firebase.analytics": "6.14.0",
    6.     "com.google.firebase.app": "6.14.0",
    7.     "com.google.firebase.auth": "6.14.0",
    8.     "com.google.firebase.crashlytics": "6.14.0",
    9.     "com.google.firebase.firestore": "6.14.0",
    10. ...
    11.   }
    12. }
    13.  
    Unity 2019.2
     
  2. Antony-Blackett

    Antony-Blackett

    Joined:
    Feb 15, 2011
    Posts:
    1,778
    One of the many reasons i refuse to use Firebase :(

    That seems extreme though. My guess is there's no code stripping enabled?
     
  3. DioNNiS

    DioNNiS

    Joined:
    Mar 24, 2020
    Posts:
    3
    Last edited: Apr 30, 2020