You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible to use Swift on Android native level(under JNI) for cross-platform business-logic, and some middle-level UI code (ViewModels & etc) (MVVM pattern).
But it dramatically increase Android App Size.
But in comparison with C++, it is too big libraries size.
Is it possible to decrease, or to make special "embedded" version of swift RunTime?
Is it possible to compile for different ARM processors?
Is it possible to remove some unneeded parts while building library?
Is it possible to remove some safety code from Swift libraries, to decrease the size?
Also may be a good decision will be to use static libraries for embedded use.
Attachment: Download
Additional Detail from JIRA
md5: a854b179881f306ef61ed6d148fea3b9
Issue Description:
Too big size of:
libicudataswift.so (26.9 Mb)
libFoundation.so (13.2 Mb)
It is possible to use Swift on Android native level(under JNI) for cross-platform business-logic, and some middle-level UI code (ViewModels & etc) (MVVM pattern).
But it dramatically increase Android App Size.
But in comparison with C++, it is too big libraries size.
Is it possible to decrease, or to make special "embedded" version of swift RunTime?
Is it possible to compile for different ARM processors?
Is it possible to remove some unneeded parts while building library?
Is it possible to remove some safety code from Swift libraries, to decrease the size?
Also may be a good decision will be to use static libraries for embedded use.
Example project is Readdle:
https://blog.readdle.com/why-we-use-swift-for-android-db449feeacaf
The text was updated successfully, but these errors were encountered: