Bixby Developer Center

Guides
References

version-from

optionalvalue required

Specify the version by referencing a capsule version that also uses it.

Example

capsule {
  id (example.test)
  version(4.0.0)
  format(3)
  targets {
    target (bixby-mobile-en-US)
  }
  capsule-imports {
    import (example.flight) {
      as (flight)
      version (1.0.2)
    }
    import (viv.geo) {
      as (flightGeo)
      // reference capsule alias for version
      version-from (flight)  
    }
    import (viv.time) {
      as (flightTime)
      // reference capsule ID for version
      version-from (example.flight)    
    }
  }
}