Watch Face Studio Feature Requests 3rd Quarter 2022

Request:
Turn on Proguard for watch faces signed .aab builds
Shrink, obfuscate, and optimize your app | Android Developers

It will help with aab size, also get rid of this message on Play Store

buildTypes {
        release {
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }

I thought this was from having links in your Mobile app, am I wrong?

Ron
Samsung Developer Relations

Hi Ron, that Play Console warning ? No, this warning is showing for every WFS created aab. In fact, my mobile apps are using proguard optimization so this warning message is not showing for these.

After doing some checking it appears that this happens when App Shortcut is a default complication.

Did you report this as a bug to Support?

Ron
Samsung Developer Relations

No Ron,
first of all, this error message is showing in Play Console (play.google.com) when uploading watch face aab and is showing for every watch face created with wfs (even empty one)

Secondly, this error is not really a problem. It’s just saying that our watch faces aab are not obfuscated and optimized.
More about optimizing & obfuscating aab here:

Shrink, obfuscate, and optimize your app | Android Developers

To obfuscate android app (watch face), we need to set minifyEnabled to true in build.gradle file.
This would help with aab size and also this play console warning will not show up again.

build.gradle file should be using this:

android {
    buildTypes {
        getByName("release") {
            // Enables code shrinking, obfuscation, and optimization for only
            // your project's release build type.
            isMinifyEnabled = true

            // Enables resource shrinking, which is performed by the
            // Android Gradle plugin.
            isShrinkResources = true

            // Includes the default ProGuard rules files that are packaged with
            // the Android Gradle plugin. To learn more, go to the section about
            // R8 configuration files.
            proguardFiles(
                getDefaultProguardFile("proguard-android-optimize.txt"),
                "proguard-rules.pro"
            )
        }
    }
    ...
}

I don’t know if such a thing will be possible at all, since I have no idea by what mechanism WFS builds aab files.

Hello, @amoledwatchfaces
The obfuscation you mentioned is already applied to the aab file created in WFS. The warning of the play console is probably to upload the txt file as a result of the proguard for analysis when uploading aab with obfuscation. Related files are managed internally by Samsung and are used for analysis of problems.
So you can ignore the warning message.

2 Likes

Hi @sinjae,
thanks for clarification, I wasn’t sure :slight_smile:

It would be good to have a binary tag that reports if the watch is currently displaying in AOD mode, e.g. [IS_AOD].

That way fields could be manuipulated to appear slightly differently when the watch reverts to its always-on mode.

Example use case: A watchface has a user-selectable background colour but fails the AOD pixel ratio analysis on build because that background is too bright for AOD mode. However, if an [IS_AOD] tag was available, I could use this to adjust the opacity of the background (and hence its brightness) in AOD mode.
(Currently I just use a single darker background colour field that is active in AOD mode).

Hope that makes sense!

Our recommendation is to use DIM layer to make lower layers darker in AOD mode.
The DIM layer can be easily created like:
Add component → any shape → make full size → hide in normal mode → black color with appropriate alpha value → place in a proper order (e.g., between time information and background)
Does it make sense?

Thanks Sinjae,

For the example given, that will work - many thanks.

Rob

Run Preview window:

  • Keyboard shortcuts for Play / Pause Run Preview
  • Keyboard shortcut and button to speed up time temporarily while it’s being pressed
  • Preview window speed controls (instead of selecting from that tiny drop down at the bottom of the screen)
  • Option to upload different watches for previews and able to take higher resolution screenshot of the images (I know this won’t make it, but pretty please)

Text editor window:

  • Larger size
  • Code formatting (at least to highlight bracket relations)
  • More visible highlight (already been mentioned by someone)
  • Multi line text in text field and add Justified to the alignment options

Fields:

  • Tag support for every value (Inner pivots, color, font size (and maybe font face), curved text fields, gyro, animation triggers)
  • Accessible properties from other fields:
    – Get values of properties as variables (LayerName_Property) - this, combined with tag support could be huge
    Some examples:
    BG_Color (BG layer color) - so text can finally be contrasting
    SecondHand_X (SecondHand layer X position)
    HourHand_H (HourHand layer height)
  • More triggers for animations (for example tag expressions or when one finished, start the other one)

Functions:

  • Create functions that can be called like tags
  • Global variables
  • Functions library (to access your commonly used ones easily)

Run panel:

  • Reorganize option for the tabs
  • Theme Color tab: minimize to colors only (without values) and ability to expand it - right now if you use tons of colors, it takes up so much space

Run multiple instances of WFS

  • Copy / Paste layers from other projects
1 Like

Just something simple. Default date when opening a project in the Run panel should be today, not 21/6/2021. And would be nice to remember user preferences like if I mostly design in 24h, don’t default to 12h every time I reopen the app.

Different color of elements for active and AOD

Not sure if someone has requested it already.

When duplicating an element auto select the new item.

1 Like

Can you expand on that more? I’m not sure I understand.

Ron
Samsung Developer Relations

I thought the option to use different colors for active mode and different colors for AOD mode. For each item, including complications

You can just have two versions and hide one in AOD mode and hide one in Normal Mode. Note you should not use customizable complications in AOD mode as the end user can’t tell which is being customized.

Ron
Samsung Developer Relations

Yes, I know, but when I want to use complications, it’s a problem. Because only 8 complications are allowed and I cannot use separate complications for active mode and separately for AOD

Edit. Ok, but sometime is great use complications in AOD. For galaxy watch 4 it’s OK, because you can use app on phone for customized complications

Watchmaker has it super done, separate colors for active mode and for AOD

However if they are located at the same position or slightly different the end user won’t know what complication they are changing.

I understand better now. I think this may not be an issue with the next version the release notes for WFS 1.2.5 had
Support ‘multiple instances’ feature for new Wear OS version.

Ron
Samsung Developer Relations

1 Like