Hello Mozilla developers & friends,
I think that loading of gecko libraries in assets folder should be more 
opttional. Now, we have to include 13 libraries including 19-MB libxul.so and 
10-MB omni.ja. Look at fact, that at the moment, sample GeckoView app and 
Firefox for Android have both same size 34MB. This is not ideal. Firefox have 
UI, but GeckoView alone not. So why GeckoView must load libxul.so library? We 
cannot remove that file, because then app with GeckoView crash.
So I suggest to load only that .so libraries that are present in assets folder. 
When we remove libxul.so, we have instead of 34MB app only app with 15MB size. 
And probably even some of files in omni.ja are not neccessary. And that is next 
a few MB minus.

In current state, GeckoView as WebView replacement is not usable because of 
size in most of situtations. Also I must notice that Android app limit is 50MB 
without expandable files, which means only as little space for app code as 16 
MB.

PS: Is there way to do it now by myself? I cannot find file that is responsible 
for libraries loading. :-)

Nice day,
Jan Velecký
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to