Hey folks, do we have support for dynamic feature ...
# compose-android
m
Hey folks, do we have support for dynamic feature modules in compose? If not then what's the recommended approach to implement DFM. The usecase if that I've to implement a mapview(using GoogleMaps composable) within an existing screen that's already in compose.
I saw a medium articles that uses reflection to implement it. is there any other approach
j
I’m not sure what “dynamic feature modules” is but I don’t understand why you can’t just display the GoogleMaps composable from your existing composable code. What error are you receiving?
e
You have examples of this done in the Android Maps Compose repo https://github.com/googlemaps/android-maps-compose/
👍🏽 1
m
@Jonathan so basically the maps dependency is increasing the apk size by 80KB and so directly using maps in my client codebase isn't feasible since we are very focussed on keeping apk size below some internal benchmark