RemoteVideoCam icon indicating copy to clipboard operation
RemoteVideoCam copied to clipboard

Nonsense update size

Open rafnov opened this issue 1 year ago • 5 comments

Screenshot_2024-08-16-17-54-21-63_bf5286d428c97f865e4b51a5afbaefcd.jpg

How do you explain 5 TIMES bigger size of this app on new update???

rafnov avatar Aug 16 '24 15:08 rafnov

We have added some motion detection. I'll ask the developer.

On Fri, Aug 16, 2024, 11:56 AM rafnov @.***> wrote:

Screenshot_2024-08-16-17-54-21-63_bf5286d428c97f865e4b51a5afbaefcd.jpg (view on web) https://github.com/user-attachments/assets/3b89f32b-69a9-4b5b-9151-a3fb2e9931e5

How do you explain 5 TIMES bigger size of this app on new update???

— Reply to this email directly, view it on GitHub https://github.com/izivkov/RemoteVideoCam/issues/27, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7M37W6WSU2D43PEYOD7O3ZRYOKPAVCNFSM6AAAAABMUJYC6KVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ3TANJTGUZTMOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

izivkov avatar Aug 16 '24 16:08 izivkov

@rafnov Thanks for reporting. The new version contains OpenCV dependency for motion detection feature, increasing the app size.

Apk analyzer suggests that F-Droid seems to use a universal APK, including all CPU architectures. Google Play APK reports only 12MB for my Samsung S22 due to architecture-specific apk delivery.

image

F-Droid forum suggests that F-Droid has supported the architecture-specific APK same as Google Play. So the apk size in F-Droid can be identical or very close to Google Play.

cc @izivkov for insight about the difference between publishing to F-Droid vs Google Play. I can also take a deeper look if I can access / be admin of the publishing process on Google Play and F-Droid.

toliuweijing avatar Aug 17 '24 00:08 toliuweijing

I had this issue bebore, and was able to reduce the size with the folowing setting in build.gridle:

ndk { abiFilters "arm64-v8a", "armeabi-v7a" // Include only the ABIs you need }

This basically forces it to use only arm-based architecure.

image

I have also updated the libraries to newer version and I have checked in the code to the repository.

I will create a new version for F-DROID and PlayStore soon.

izivkov avatar Aug 17 '24 00:08 izivkov

Done! I created and submitted v3.4 for both F-DROID and PlayStore. F-DROID takes about a week to publish the new version.

izivkov avatar Aug 17 '24 00:08 izivkov

Seems done in Google Play. 1st I've installed app there, it was ~12MB, now 3.4 update appeared, which was 1.7MB.

rafnov avatar Aug 17 '24 09:08 rafnov