Bixby Developer Center

Guides
References

20B Capsule SDK Release Notes

Note

Internal platform changes that are not visible to capsule developers will be communicated via internal status updates.

Updated: March 10, 2020

Issue with Runtime Version 4 and Location

If your capsule uses runtime version 4 and imports the viv.geo library capsule, your ability to get the user's current location using viv.geo.SearchRegion is currently limited.

As a workaround, you can revert to using runtime version 3, or you can set the use-most-specific-instantiation-strategy runtime flag to false:

use-most-specific-instantiation-strategy (false)

YouTube and Vimeo Video Support

Within Bixby Views, you can now embed YouTube and Vimeo videos using the new youtube and vimeo sub-keys, respectively:

Examples

section {
content {
video {
vimeo {
video-id ("376938961")
}
}
}
}
section {
content {
video {
youtube {
video-id ("7zP30QYMUjQ")
}
}
}
}

New Options for Thumbnail Shape and Size

You now have the option to determine the shape (image-shape) and size (image-size) of thumbnail images within Bixby Views.

Circle thumbnail:

Square

Small thumbnail:

Small

New Runtime Flag and EL Function Related to Duplicate Node Elements

By default, Bixby ensures that multi-value properties have unique values by merging duplicate values. The new no-auto-property-value-merging runtime flag prevents this.

Additionally, you can now use the Expression Language (EL) function dedupe to merge equivalent elements of a specified node.

Example

action (ReduceStrings) {
type (Constructor)
collect {
input (strings) {
type (String)
min (Optional)
max (Many)
}
}
output (String) {
evaluate {
$expr(dedupe(strings))
}
}
}

New Runtime Flag for Instantiation Strategies

We've added a new runtime flag, use-most-specific-instantiation-strategy, that changes the default match mode of instantiation strategies to MostSpecific. When enabled, all instantiation-strategy files use the most specific match pattern.

Example

capsule {
  runtime-version (1) {
    overrides {
      use-most-specific-instantiation-strategy (true)
    }
  }
}

New Runtime Version 4

We've added a new runtime version that covers a number of runtime flags: