WAI
Status Update
Comments
nj...@google.com <nj...@google.com>
al...@google.com <al...@google.com> #2
I notice the same issue and LogCat shows the following message:
Google Play services out of date. Requires 3159100 but found 3136130
Google Play services out of date. Requires 3159100 but found 3136130
ch...@google.com <ch...@google.com> #3
Same here.
"Google Play services out of date. Requires 3159100 but found 3136130"
"Google Play services out of date. Requires 3159100 but found 3136130"
ub...@gmail.com <ub...@gmail.com> #4
me as well....
Google Play services out of date. Requires 3159100 but found 3136130
Google Play services out of date. Requires 3159100 but found 3136130
al...@google.com <al...@google.com> #5
I was hopeful that the release of API 18 (4.3) would have created a solution to this, unfortunately it includes version 3158130
ub...@gmail.com <ub...@gmail.com> #6
Having the same issue:
07-25 00:03:54.998: W/GooglePlayServicesUtil(27293): Google Play services out of date. Requires 3159100 but found 3158130
07-25 00:03:54.998: W/GooglePlayServicesUtil(27293): Google Play services out of date. Requires 3159100 but found 3158130
ch...@google.com <ch...@google.com> #7
same
ub...@gmail.com <ub...@gmail.com> #8
SAME ! - Google can't do sth working in 100 percent?
Description
Description:
In the case of Composition.setContent() I would like to call applyChanges() separately after the composition phase completes, to catch up with initialization work that runs in the background concurrently with the composition phase. The results from concurrent initialization are made available via a UI thread Looper callback, and are used in the Applier. Currently there is no break between composition and applyChanges(), so I cannot receive results from concurrent initialization on the UI thread; I am forced to sequentially first complete separate initialization, then run composition + applyChanges().
Use Case:
This feature would help with reducing GoogleMap initialization delays in the android-maps-compose GitHub library project. The library controls the GoogleMap MapView via a child composition to the standard Android Compose UI composition.
MapView.getMapAsync(callback)
is called to initialize the GoogleMap and receive aGoogleMap
object via a UI thread Looper callback; initialization work is expected to occur away from the app process main thread. TheGoogleMap
object is not needed during child composition, just forapplyChanges()
, so it would be useful to not delay the potentially expensive initial child composition (possibly large child composition content hierarchy) by first having to wait for a callback.I have explored various alternatives and do not see another viable non-sequential approach.
This issue relates tohttps://github.com/googlemaps/android-maps-compose/issues/501