Skip to content

Releases: Telefonica/mistica-android

12.1.0

23 May 06:01
1ff1103
Compare
Choose a tag to compare

What's Changed

Full Changelog: 12.0.0...12.1.0

12.0.0

09 May 14:18
f404f11
Compare
Choose a tag to compare

🔨 Breaking Changes

  1. GradientBackgroundFactory class is removed. Should replace usages of:

    • getBackground(context: Context) --> new "backgroundBrand" gradient.
    • getBackgroundForLoginLoadingScreen(context: Context) --> Movistar and Telefonica should use "brandHigh" solid color, the rest of them, new "backgroundBrand" gradient.
    • This should be defined in apps themselves as it is not a mística component. (See next section for applying)
  2. colorBackgroundBrand and colorBackgroundContainerBrand can be now a solid color or a gradient.

    • For xml:
      • colorBackgroundBrand has been removed, drawableBackgroundBrand should be used from now on.
      • colorBackgroundContainerBrand has been removed, drawableBackgroundContainerBrand should be used from now on.
      • IMPORTANT: Instead of plain colors these new attributes are drawables. Ensure drawable is also accepted where used.
    • For compose:
      • MisticaTheme.colors.backgroundBrand has been removed, MisticaTheme.brushes.backgroundBrand should be used from now on.
      • MisticaTheme.colors.backgroundContainerBrand has been removed, MisticaTheme.brushes.backgroundContainerBrand should be used from now on.
      • Check Current Mistica Documentation for additional info with examples.
  3. MisticaColors constructor arguments and copy(...) method have been removed.

    • In case you were instantiating one of these, just instantiate the object with no
      constructor arguments, and assign specific colors on it afterwards.
    • If you were using copy method, make use of use of the already available method updateColorsFrom(other: MisticaColors) to achieve same behaviour to copy colors from another MisticaColors object.
  4. Brand interface has two new properties lightBrushes and drakbrushes

    • If you are extending this interface directly, you need to implement these properties accordingly with the brushes required for your brand.
    • Mistica brands objects extending from Brand already implement these properties, so you will just usually need to reference the appropriate mistica brand brushes in your app.
  5. Min api level support raised to 24

What's Changed

Full Changelog: 11.8.0...12.0.0

11.8.0

08 May 10:09
1872455
Compare
Choose a tag to compare

What's Changed

Full Changelog: 11.7.0...11.8.0

11.7.0

26 Apr 11:55
69ba5f5
Compare
Choose a tag to compare

What's Changed

Full Changelog: 11.6.0...11.7.0

11.6.0

26 Apr 07:58
314ac81
Compare
Choose a tag to compare

What's Changed

Full Changelog: 11.5.0...11.6.0

11.5.0

25 Apr 08:08
d73c863
Compare
Choose a tag to compare

What's Changed

Full Changelog: 11.4.2...11.5.0

11.4.2

16 Apr 14:35
9ec1b37
Compare
Choose a tag to compare

What's Changed

Full Changelog: 11.4.1...11.4.2

11.4.1

15 Apr 10:43
2eb07ca
Compare
Choose a tag to compare

What's Changed

Full Changelog: 11.4.0...11.4.1

11.4.0

11 Apr 13:29
ae4939d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 11.3.2...11.4.0

11.3.2

04 Apr 08:50
51a52c9
Compare
Choose a tag to compare

What's Changed

Full Changelog: 11.2.2...11.3.2