@capillarytech/react-native-hydra-lib 1.8.3 → 1.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -38,6 +38,11 @@ class GamificationBannerViewManager : SimpleViewManager<BannerView>() {
|
|
|
38
38
|
// re-bound once the entry points are refreshed (e.g. after signIn).
|
|
39
39
|
val data = findEntryPointByBannerId(bannerId) ?: run {
|
|
40
40
|
PendingEntryPointBinds.add(view) { setBannerId(view, bannerId) }
|
|
41
|
+
// Collapse the RN container while there's nothing to show
|
|
42
|
+
HydraEventEmitter.sendEvent(
|
|
43
|
+
HydraEventType.ON_GAMIFICATION_VIEW_HEIGHT_CHANGED,
|
|
44
|
+
mapOf("height" to 0f, "entryPointId" to bannerId)
|
|
45
|
+
)
|
|
41
46
|
return
|
|
42
47
|
}
|
|
43
48
|
|
|
@@ -43,6 +43,11 @@ class GamificationEmbedViewManager : SimpleViewManager<EmbedWebView>() {
|
|
|
43
43
|
// re-bound once the entry points are refreshed (e.g. after signIn).
|
|
44
44
|
val data = findEntryPointByEmbedId(embedId) ?: run {
|
|
45
45
|
PendingEntryPointBinds.add(view) { setEmbedId(view, embedId) }
|
|
46
|
+
// Collapse the RN container while there's nothing to show
|
|
47
|
+
HydraEventEmitter.sendEvent(
|
|
48
|
+
HydraEventType.ON_GAMIFICATION_VIEW_HEIGHT_CHANGED,
|
|
49
|
+
mapOf("height" to 0f, "entryPointId" to embedId)
|
|
50
|
+
)
|
|
46
51
|
return
|
|
47
52
|
}
|
|
48
53
|
|
package/package.json
CHANGED
package/sbom.spdx.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"dataLicense": "CC0-1.0",
|
|
4
4
|
"SPDXID": "SPDXRef-DOCUMENT",
|
|
5
5
|
"name": "capillarytech-react-native-hydra-lib-sbom",
|
|
6
|
-
"documentNamespace": "https://github.com/Capillary/react-native-hydra-lib/sbom-
|
|
6
|
+
"documentNamespace": "https://github.com/Capillary/react-native-hydra-lib/sbom-639c2ab7",
|
|
7
7
|
"creationInfo": {
|
|
8
|
-
"created": "2026-09-
|
|
8
|
+
"created": "2026-09-29T11:41:18.461Z",
|
|
9
9
|
"creators": [
|
|
10
10
|
"Tool: react-native-hydra-lib-sbom-generator-v1.0.0",
|
|
11
|
-
"Tool: @capillarytech/react-native-hydra-lib@1.8.3
|
|
11
|
+
"Tool: @capillarytech/react-native-hydra-lib@1.8.3"
|
|
12
12
|
],
|
|
13
13
|
"licenseListVersion": "3.19"
|
|
14
14
|
},
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"licenseConcluded": "MIT",
|
|
22
22
|
"licenseDeclared": "MIT",
|
|
23
23
|
"copyrightText": "Copyright (c) Sandesh Jain <sandesh.Jain@capillarytech.com> (https://docs.capillarytech.com/reference/setting-up-react-native-project-for-hydra-sdk)",
|
|
24
|
-
"versionInfo": "1.8.3
|
|
24
|
+
"versionInfo": "1.8.3",
|
|
25
25
|
"supplier": "Person: Sandesh Jain <sandesh.Jain@capillarytech.com> (https://docs.capillarytech.com/reference/setting-up-react-native-project-for-hydra-sdk)",
|
|
26
26
|
"homepage": "https://github.com/Capillary/react-native-hydra-lib#readme",
|
|
27
27
|
"description": "Library to use Hydra native iOS and Native Android SDKs in React Native",
|