@bubblsdk/react-native-sdk 3.0.2 → 3.0.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.
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = 'BubblReactNativeSdk'
3
- s.version = '3.0.2'
3
+ s.version = '3.0.4'
4
4
  s.summary = 'React Native wrapper for Bubbl SDK v3 native Android and iOS cores.'
5
5
  s.homepage = 'https://bubbl.tech'
6
6
  s.license = { :type => 'Commercial', :text => 'Copyright Bubbl. All rights reserved.' }
@@ -13,5 +13,5 @@ Pod::Spec.new do |s|
13
13
  s.static_framework = true
14
14
 
15
15
  s.dependency 'React-Core'
16
- s.dependency 'BubblSDK', '3.0.2'
16
+ s.dependency 'BubblSDK', '3.0.4'
17
17
  end
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.0.4
4
+
5
+ - Android SDK notifications now create the shared `bubbl_notifications` channel at high importance, replacing an older lower-importance channel when possible so eligible notifications can appear as heads-up banners.
6
+ - iOS installs a retained default `UNUserNotificationCenterDelegate` from the React Native wrapper so foreground notifications use banner/list presentation and taps are forwarded to the SDK.
7
+ - Filters paused and inactive runtime campaigns before they can surface through geofence or notification handling.
8
+ - Aligns the React Native wrapper with the native SDK 3.0.4 release.
9
+
3
10
  ## 3.0.2
4
11
 
5
12
  - Updated package metadata to use the GitHub `bubbl-platform/renewed-sdk` source.
@@ -4,7 +4,7 @@ plugins {
4
4
  }
5
5
 
6
6
  group = "tech.bubbl.reactnative"
7
- version = "3.0.2"
7
+ version = "3.0.4"
8
8
 
9
9
  def isNewArchitectureEnabled() {
10
10
  project.hasProperty("newArchEnabled") && project.newArchEnabled == "true"
@@ -41,6 +41,6 @@ android {
41
41
 
42
42
  dependencies {
43
43
  implementation "com.facebook.react:react-android:${reactNativeVersion}"
44
- implementation "tech.bubbl.sdk:bubbl-sdk:3.0.2"
44
+ implementation "tech.bubbl.sdk:bubbl-sdk:3.0.4"
45
45
  implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1"
46
46
  }
@@ -19,6 +19,13 @@ final class BubblSdk: RCTEventEmitter {
19
19
  false
20
20
  }
21
21
 
22
+ override init() {
23
+ super.init()
24
+ Task { @MainActor in
25
+ BubblNotificationCenterDelegate.installDefault()
26
+ }
27
+ }
28
+
22
29
  override func supportedEvents() -> [String]! {
23
30
  [Self.eventName]
24
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bubblsdk/react-native-sdk",
3
- "version": "3.0.2",
3
+ "version": "3.0.4",
4
4
  "description": "React Native wrapper for Bubbl SDK v3 native Android and iOS cores.",
5
5
  "main": "src/index.ts",
6
6
  "module": "src/index.ts",