react-native-firework-sdk 2.10.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.
@@ -6,30 +6,30 @@
6
6
  <array>
7
7
  <dict>
8
8
  <key>LibraryIdentifier</key>
9
- <string>ios-arm64_x86_64-simulator</string>
9
+ <string>ios-arm64</string>
10
10
  <key>LibraryPath</key>
11
11
  <string>FireworkVideoUI.framework</string>
12
12
  <key>SupportedArchitectures</key>
13
13
  <array>
14
14
  <string>arm64</string>
15
- <string>x86_64</string>
16
15
  </array>
17
16
  <key>SupportedPlatform</key>
18
17
  <string>ios</string>
19
- <key>SupportedPlatformVariant</key>
20
- <string>simulator</string>
21
18
  </dict>
22
19
  <dict>
23
20
  <key>LibraryIdentifier</key>
24
- <string>ios-arm64</string>
21
+ <string>ios-arm64_x86_64-simulator</string>
25
22
  <key>LibraryPath</key>
26
23
  <string>FireworkVideoUI.framework</string>
27
24
  <key>SupportedArchitectures</key>
28
25
  <array>
29
26
  <string>arm64</string>
27
+ <string>x86_64</string>
30
28
  </array>
31
29
  <key>SupportedPlatform</key>
32
30
  <string>ios</string>
31
+ <key>SupportedPlatformVariant</key>
32
+ <string>simulator</string>
33
33
  </dict>
34
34
  </array>
35
35
  <key>CFBundlePackageType</key>
@@ -14,7 +14,7 @@
14
14
  </data>
15
15
  <key>Info.plist</key>
16
16
  <data>
17
- JPxz3YyYbfRHXYqKbt1EHDZI0ew=
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) {
@@ -13,4 +13,4 @@ SPEC CHECKSUMS:
13
13
 
14
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.10.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",