-
-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for form factor #1088
Comments
Are there any workarounds other than manually deploying? |
Hi, we also require this for our wear app where Google requires all wear apps to be on a seperate track by end of August 2023 https://support.google.com/googleplay/android-developer/answer/13295490?hl=en |
We have a wear app and since Google has started enforcing form factor publishing we can't use properly this plugin. |
Is there any workaround? We are kinda slowly approaching the deadline. I assume we need to enable the form factor track and then publish the wear app manually? |
We're running into the same problem now. Is there any update on when it will be supported or any workaround to solve the issue? |
I'm not involved with the project anymore, but I still do PR reviews if people want to fix this. |
We're facing the same issue. |
I looked at this problem again as it has to be solved soon and now it seems to all work for me as expected. What I did:
|
Hey @crysxd , thanks for your input. I can't manage to make it work still. This is what we currently have, which seems to replicate your behavior above by adding build.gradle project level
build.gradle mobile app level
build.gradle wear app level
However, I'm receiving the following error: What am I missing? |
Which version are you using? |
3.7.0 |
Found it, had to remove the |
I am also facing this issue and I am still getting the "Cannot convert URL 'wear:production.txt' to a file." error, no matter if I remove commit property entirely or set it to true or false. @damiafuentes: Did you change anything else?, @crysxd: Which OS are you on? Maybe this is a Linux / Windows issue? I am on Windows. |
I think the problem is that GPP tries to generate and/or read from files which are named by the track name (e.g. File(locale, "$track.txt")). In case of track names with prefix (i.e. wear:production) this name contains the char ":" which is invalid for file names (at least on Windows). |
Thanks @positive-infinity, can confirm, this is the minimal working example as of version 3.8.4 of this plugin:
|
…fully without crashing. Triple-T#1088 For releases named `formfactor:track`, try `formfactor-track.txt` and `track.txt` instead of invalid filename `formfactor:track.txt`
Hello, we are hitting this as well with automotive. It seems like the fix from @chimbori should work - is it possible to merge it upstream? |
Problem description
Currenlty it is possible to upload only for phone/tablet form, "automotive" and "wear" forms are not support.
Potential solutions/workarounds
In order to support form factor by Android Publishing API track should be defined as wear:production" or "wear:beta", "automotive:internal"
This doesn't work with current implementation.
Additional context
Android Publishing API track and form factor https://developers.google.com/android-publisher/tracks
The text was updated successfully, but these errors were encountered: