react-native-firework-sdk 2.9.0 → 2.10.1

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.
@@ -14,7 +14,7 @@
14
14
  </data>
15
15
  <key>Info.plist</key>
16
16
  <data>
17
- LvExrlaVTpZ5OVb9O8/RW3mC4CU=
17
+ jsYX5ACeWlZ/lQWyUHo7zHtGu1Y=
18
18
  </data>
19
19
  <key>Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
20
20
  <data>
@@ -1,5 +1,6 @@
1
1
  package com.fireworksdk.bridge.reactnative.module
2
2
 
3
+ import androidx.annotation.Keep
3
4
  import com.facebook.react.bridge.ReactApplicationContext
4
5
  import com.facebook.react.bridge.ReactContextBaseJavaModule
5
6
  import com.facebook.react.bridge.ReactMethod
@@ -23,6 +24,7 @@ class FWLiveStreamModule(
23
24
  FireworkSdk.analytics.register(this)
24
25
  }
25
26
 
27
+ @Keep
26
28
  @FwAnalyticCallable
27
29
  fun onLivestreamEvent(event: LivestreamAnalyticEvent) {
28
30
  when (event) {
@@ -10,6 +10,7 @@ import android.os.Looper
10
10
  import android.os.Process
11
11
  import android.provider.Settings
12
12
  import android.util.Base64
13
+ import androidx.annotation.Keep
13
14
  import com.facebook.react.bridge.*
14
15
  import com.firework.analyticsevents.cta.CtaButtonClickAnalyticsEvent
15
16
  import com.firework.analyticsevents.player.PlayerLifecycleAnalyticsEvent
@@ -209,6 +210,7 @@ class FireworkSDKModule(
209
210
  return Base64.encodeToString(hash, Base64.DEFAULT)
210
211
  }
211
212
 
213
+ @Keep
212
214
  @FwAnalyticCallable
213
215
  fun onCtaButtonClicked(event: CtaButtonClickAnalyticsEvent) {
214
216
  FWEventUtils.sendLogMessageEvent(reactApplicationContext, "[Android] Receive CustomCTAClick event ${FWDateUtils.getDateString(
@@ -235,6 +237,7 @@ class FireworkSDKModule(
235
237
  FWEventUtils.sendCustomCTAClickEvent(reactApplicationContext, event.actionUrl)
236
238
  }
237
239
 
240
+ @Keep
238
241
  @FwAnalyticCallable
239
242
  fun onShareButtonClicked(event: ShareButtonAnalyticsEvent) {
240
243
  if (FWGlobalDataUtil.videoPlaybackEventEnabled) {
@@ -254,6 +257,7 @@ class FireworkSDKModule(
254
257
  }
255
258
  }
256
259
 
260
+ @Keep
257
261
  @FwAnalyticCallable
258
262
  fun onPlaybackEvent(event: PlayerLifecycleAnalyticsEvent) {
259
263
  if (!FWGlobalDataUtil.videoPlaybackEventEnabled) {
@@ -6,7 +6,7 @@ target 'FireworkVideoUI' do
6
6
  use_frameworks!
7
7
 
8
8
  # Pods for FireworkVideoUI
9
- pod 'FireworkVideo', '1.15.0'
9
+ pod 'FireworkVideo', '1.16.0'
10
10
 
11
11
  target 'FireworkVideoUITests' do
12
12
  # Pods for testing
@@ -1,16 +1,16 @@
1
1
  PODS:
2
- - FireworkVideo (1.15.0)
2
+ - FireworkVideo (1.16.0)
3
3
 
4
4
  DEPENDENCIES:
5
- - FireworkVideo (= 1.15.0)
5
+ - FireworkVideo (= 1.16.0)
6
6
 
7
7
  SPEC REPOS:
8
8
  trunk:
9
9
  - FireworkVideo
10
10
 
11
11
  SPEC CHECKSUMS:
12
- FireworkVideo: fae657a5093efadbf7f4aa723466aee8dcf47824
12
+ FireworkVideo: 72f3cac6a4de4a54358b119c669a735eb616627a
13
13
 
14
- PODFILE CHECKSUM: b8d50fd1ccf28eaa3033fe13c43ca09199e1e245
14
+ PODFILE CHECKSUM: 0ca4c3bf0088af14c2562a404746f0e7a4e67c6f
15
15
 
16
- COCOAPODS: 1.12.1
16
+ COCOAPODS: 1.14.3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-firework-sdk",
3
- "version": "2.9.0",
3
+ "version": "2.10.1",
4
4
  "description": "Firework React Native SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -35,5 +35,5 @@ fi
35
35
 
36
36
  s.static_framework = true
37
37
  s.dependency 'React-Core'
38
- s.dependency 'FireworkVideo', '1.15.0'
38
+ s.dependency 'FireworkVideo', '1.16.0'
39
39
  end