Status Update
Comments
ys...@google.com <ys...@google.com> #2
Can you attach / share a project that reproduces the issue?
al...@google.com <al...@google.com>
ma...@gmail.com <ma...@gmail.com> #3
because just occur recyclerview inside viewpager2 with constraintlayout, if paging3 use Independently with viewpage2 it's not problem.
ma...@gmail.com <ma...@gmail.com> #5
lu...@google.com <lu...@google.com> #6
ma...@gmail.com <ma...@gmail.com> #7
ma...@gmail.com <ma...@gmail.com> #8
Edit: so I tried one more thing, based on setup I was using this xml filename
file="@raw/watchface_large_circle"/>
Then, based on your recommendation, I renamed it to watchface.xml and move it to res/xml ---> NOT WORKING
So I moved it back to @res/raw and to my surprise it is working now! So the issue is with the naming.
@raw/watchface_large_circle does not work on stable emulator but works on physical device
@raw/watchface works on stable emulator and also on physical device.
Seems like the solution for now is to use only watchface.xml and not declare other watch face shapes supported if one wants to have app reviewed correctly.
It would still be good if you are able to confirm Emulator version testers are using as of now. To see if the issue is with xml naming.
lu...@google.com <lu...@google.com> #9
Thank you for the details. As supportedTypes="LARGE_IMAGE"
and defaultSystemProviderType="LARGE_IMAGE"
are not yet supported in the watch face format. For now, only
ma...@gmail.com <ma...@gmail.com> #10
Thanks too for taking a look! Yes, I solved this by adding both LARGE_IMAGE & PHOTO_IMAGE support.
I found another issue in Watch Face Format though, documented here
Can you take a look on it? It's another reason why I'm receiving 'syntactic value rejections'.
Also, if you can answer it.. is there anyway to check whether some changes were applied to Watch Face Format or when new version is released? Right now only v1 can be seen. No way to check for fixes / changelog.
Tomas
ga...@google.com <ga...@google.com> #11
Updated on
Description
Component used: Watch Face Format (declarative xml)
Version used: 1
Devices/Android versions reproduced on: SDK 33 Wear OS Large Screen Emulator
Attached video and here is the logcat:
[FlavorsConstructionHelper]Failed to get style schema for WatchFaceId[com.watchfacestudio.awfrun,null] java.lang.NullPointerException: Attempt to read from field 'java.util.ArrayList y3.e.b' on a null object reference in method 'java.util.ArrayList y3.g.b(y3.e, java.lang.String)' at android.os.Parcel.createExceptionOrNull(Parcel.java:3017) at android.os.Parcel.createException(Parcel.java:2995) at android.os.Parcel.readException(Parcel.java:2978) at android.os.Parcel.readException(Parcel.java:2920) at androidx.wear.watchface.control.IWatchFaceControlService$Stub$Proxy.getUserStyleSchema(IWatchFaceControlService.java:448) at androidx.wear.watchface.client.WatchFaceMetadataClientImpl$getUserStyleSchema$1.invoke(WatchFaceMetadataClient.kt:374) at androidx.wear.watchface.client.WatchFaceMetadataClientImpl$getUserStyleSchema$1.invoke(WatchFaceMetadataClient.kt:372) at androidx.wear.watchface.client.WatchFaceExceptionKt.callRemote(WatchFaceException.kt:24) at androidx.wear.watchface.client.WatchFaceMetadataClientImpl.getUserStyleSchema(WatchFaceMetadataClient.kt:372) at com.google.wear.services.watchfaces.flavors.FlavorsConstructionHelperImpl.fetchUserStyleSchema(FlavorsConstructionHelperImpl.java:281) at com.google.wear.services.watchfaces.flavors.FlavorsConstructionHelperImpl.getDefaultStyleForWatchFace(FlavorsConstructionHelperImpl.java:159) at com.google.wear.services.watchfaces.favorites.WatchFaceFavoriteRepositoryImpl.addFavoriteInternal(WatchFaceFavoriteRepositoryImpl.java:589) at com.google.wear.services.watchfaces.favorites.WatchFaceFavoriteRepositoryImpl.lambda$addFavoriteAsync$4(WatchFaceFavoriteRepositoryImpl.java:186) at com.google.wear.services.watchfaces.favorites.WatchFaceFavoriteRepositoryImpl.$r8$lambda$04_s-_y9u80ByLdS4O_0caieV_4(Unknown Source:0) at com.google.wear.services.watchfaces.favorites.WatchFaceFavoriteRepositoryImpl$$ExternalSyntheticLambda27.call(Unknown Source:4) at com.google.wear.services.watchfaces.favorites.WatchFaceFavoriteRepositoryImpl.lambda$execute$21(WatchFaceFavoriteRepositoryImpl.java:379) at com.google.wear.services.watchfaces.favorites.WatchFaceFavoriteRepositoryImpl.$r8$lambda$pcfnVsvTo4JRMUydzmlHbXNh1P0(Unknown Source:0) at com.google.wear.services.watchfaces.favorites.WatchFaceFavoriteRepositoryImpl$$ExternalSyntheticLambda34.call(Unknown Source:4) at com.google.wear.services.infra.concurrent.WrappedCwCallable.call(WrappedCwCallable.java:29) at java.util.concurrent.FutureTask.run(FutureTask.java:264) at com.google.wear.services.infra.concurrent.InstrumentedTask.run(InstrumentedTask.java:72) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637) at com.google.wear.services.infra.concurrent.CwPriorityRunnable.run(CwPriorityRunnable.java:36) at java.lang.Thread.run(Thread.java:1012)
I can't reproduce this issue on Galaxy Watch 4 / Watch 6 with Wear OS 4 (SDK 33). I believe this is the reason some of watch faces are not able to pass Google Play reviews. Some testing is most probably done on emulator and I'm receiving - Syntactic value errors