Community
Topic: Xamarin component
Compiled app size
We are just using the geomarkers part of the SDK, adding this to our existing app has increased our app size from 21mb to 250mb. Is there anything we can do to reduce the size of the compiled app?
Hi,
are you using compiling android or ios?
Could you please describe your compilation settings?
We are currently compiling on IOS, we've managed to reduce the size by changing various settings. Currently linker behavior is 'no link', architecture is' arm64' and we are optimizing PNG images. This still adds approx. 60mb to our app size.
Are there 1) other settings we can change/optimize or 2) can we somehow remove the GoogleMaps dependency and use the native Apple maps on the device?
Thank you for any assistance.
Hello,
if you want to try to reduce the dimension of your ipa,
you should use , in release iOS compiler options, the "Link SDK framework only".
This allow the linker to execute some sort of optimizations on final ipa.
If you follow this approach, you could probably add some native framework linking
in mtouch additional args needed from GoogleMaps framework.
Check the GoogleMaps SDK iOS reference guide for a list of complete additional frameworks.
Regards