Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISAR -> ObjectBox #22

Merged
merged 6 commits into from
Dec 22, 2024
Merged

ISAR -> ObjectBox #22

merged 6 commits into from
Dec 22, 2024

Conversation

khaled-0
Copy link
Owner

10Mb+ app size reduction

Migration Steps for Users:

  • Just Import the playlists again.
  • Downloaded contents will be auto discovered
Here's Size Analysis

✓ Built build/app/outputs/flutter-apk/app-release.apk (15.1MB)
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
app-release.apk (total compressed)                                         14 MB
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  META-INF/
    androidx                                                                3 KB
    CERT.SF                                                                27 KB
    CERT.RSA                                                                1 KB
    MANIFEST.MF                                                            25 KB
  assets/
    dexopt                                                                  1 KB
    flutter_assets                                                        689 KB
  classes.dex                                                               1 MB
  lib/
    arm64-v8a                                                               9 MB
    Dart AOT symbols accounted decompressed size                            8 MB
      package:flutter                                                       3 MB
      dart:core                                                           311 KB
      package:youtube_explode_dart                                        254 KB
      dart:typed_data                                                     236 KB
      package:html                                                        234 KB
      dart:ui                                                             210 KB
      package:tubesync                                                    202 KB
      dart:io                                                             173 KB
      package:unicode/
        unicode.dart                                                      154 KB
      dart:async                                                          149 KB
      package:objectbox                                                   120 KB
      dart:collection                                                     114 KB
      package:background_downloader                                       109 KB
      package:markdown                                                    107 KB
      package:material_color_utilities                                     84 KB
      package:xml                                                          82 KB
      dart:convert                                                         71 KB
      package:just_audio/
        just_audio.dart                                                    61 KB
      package:petitparser                                                  60 KB
      package:vector_math/
        vector_math_64.dart                                                46 KB
    armeabi-v7a                                                           688 KB
    x86                                                                   863 KB
    x86_64                                                                815 KB
  kotlin/
    collections                                                             1 KB
    kotlin.kotlin_builtins                                                  5 KB
    ranges                                                                  1 KB
    reflect                                                                 1 KB
  AndroidManifest.xml                                                       4 KB
  res/
    1I.9.png                                                                2 KB
    1J.9.png                                                                2 KB
    4Q.png                                                                  3 KB
    9w.png                                                                  2 KB
    BM.png                                                                 28 KB
    CH.png                                                                 43 KB
    FS.png                                                                  5 KB
    G2.9.png                                                                1 KB
    IX.9.png                                                                2 KB
    Li.9.png                                                                2 KB
    MF.9.png                                                                3 KB
    NA.9.png                                                                2 KB
    Oi.xml                                                                  1 KB
    RJ.png                                                                  8 KB
    XG.png                                                                  2 KB
    bB.png                                                                  6 KB
    color-v23                                                               2 KB
    color                                                                  20 KB
    dO.xml                                                                  1 KB
    fY.xml                                                                  1 KB
    h7.9.png                                                                1 KB
    io.9.png                                                                1 KB
    lf.png                                                                  4 KB
    nf.png                                                                  1 KB
    o-.png                                                                 12 KB
    qD.9.png                                                                3 KB
    qP.png                                                                  1 KB
    rj.9.png                                                                1 KB
    sN.png                                                                  7 KB
    t1.xml                                                                  1 KB
    tP.png                                                                 14 KB
    uG.png                                                                  5 KB
    vr.png                                                                  1 KB
    yi.png                                                                 10 KB
    yn.png                                                                  3 KB
    zV.9.png                                                                2 KB
  resources.arsc                                                          601 KB
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒

```

@khaled-0
Copy link
Owner Author

And Around 12mb from 25mb using split per abi (50% reduced)

✓ Built build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk (12.3MB)
✓ Built build/app/outputs/flutter-apk/app-arm64-v8a-release.apk (12.7MB)
✓ Built build/app/outputs/flutter-apk/app-x86_64-release.apk (12.9MB)

@khaled-0 khaled-0 merged commit a7b3722 into main Dec 22, 2024
4 checks passed
@khaled-0 khaled-0 deleted the objectbox branch December 22, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant