Hi I'm looking for using google map. I tried Crane...
# compose
Hi I'm looking for using google map. I tried Crane project sample. it does not work for me. App crash with bellow message. Seems that create MapView with Id is not working.
Copy code
2020-11-05 12:16:09.282 2665-3383/com.google.android.gms.persistent E/ModuleIdSetter: exception when setting module id
I put an question with detail here: https://stackoverflow.com/questions/64690821/android-jetpack-compose-using-google-map-got-crash-on-map-create Also I found an example with passing ContainerFragment and inflate as view.
Copy code
AndroidView(resId = R.layout.map_layout, modifier = Modifier.weight(0.4f)) {
                val mapFragment = fragmentManager.findFragmentById(R.id.map) as SupportMapFragment
                mapFragment.getMapAsync { map ->
also seems AndroidView will not get this parameters. Does any one have an idea?