Skip to content

Commit 226aa7d

Browse files
authored
Add links property to snabble object for external usage (#258)
1 parent 48d1cc9 commit 226aa7d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ All notable changes to this project will be documented in this file.
33

44
## UNRELEASED
55
### Added
6+
* core: provide links for external usage (APPS-2426)
67
### Changed
78
### Removed
8-
ui: Remove ProductConfirmationDialog (APPS-2411)
9-
ui: Fix multiple cancellation events in RoutingTargetGateKeeperView (APPS-2441)
9+
* ui: Remove ProductConfirmationDialog (APPS-2411)
10+
* ui: Fix multiple cancellation events in RoutingTargetGateKeeperView (APPS-2441)
1011
### Fixed
1112

1213
## [0.80.17]

core/src/main/java/io/snabble/sdk/Snabble.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,9 @@ object Snabble {
535535
return jsonElement?.asJsonObject
536536
}
537537

538+
val links: JsonObject?
539+
get() = metadataDownloader.jsonObject?.get("links")?.asJsonObject
540+
538541
@Synchronized
539542
private fun readMetadata() {
540543
metadataDownloader.jsonObject?.let { jsonObject ->

0 commit comments

Comments
 (0)