react-native-firework-sdk 2.10.1 → 2.11.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.
Files changed (172) hide show
  1. package/android/gradle.properties +1 -1
  2. package/android/src/main/java/com/fireworksdk/bridge/components/storyblock/StoryBlockFragment.kt +20 -1
  3. package/android/src/main/java/com/fireworksdk/bridge/components/videofeed/FWVideoFeed.kt +4 -0
  4. package/android/src/main/java/com/fireworksdk/bridge/models/FWCountdownTimerConfigurationModel.kt +8 -0
  5. package/android/src/main/java/com/fireworksdk/bridge/models/FWCountdownTimerConfigurationModelDeserializer.kt +22 -0
  6. package/android/src/main/java/com/fireworksdk/bridge/models/FWCountdownTimerConfigurationModelSerializer.kt +18 -0
  7. package/android/src/main/java/com/fireworksdk/bridge/models/FWFontInfoModel.kt +2 -2
  8. package/android/src/main/java/com/fireworksdk/bridge/models/FWSDKInitOptionsModel.kt +0 -1
  9. package/android/src/main/java/com/fireworksdk/bridge/models/FWSDKInitOptionsModelDeserializer.kt +0 -3
  10. package/android/src/main/java/com/fireworksdk/bridge/models/FWSDKInitOptionsModelSerializer.kt +0 -2
  11. package/android/src/main/java/com/fireworksdk/bridge/models/FWSdkInitResultModel.kt +6 -0
  12. package/android/src/main/java/com/fireworksdk/bridge/models/FWTrackPurchaseModel.kt +9 -0
  13. package/android/src/main/java/com/fireworksdk/bridge/models/FWTrackPurchaseModelDeserializer.kt +45 -0
  14. package/android/src/main/java/com/fireworksdk/bridge/models/FWTrackPurchaseModelSerializer.kt +34 -0
  15. package/android/src/main/java/com/fireworksdk/bridge/models/FWVideoFeedItemDetailsModel.kt +1 -0
  16. package/android/src/main/java/com/fireworksdk/bridge/models/FWVideoPlaybackDetails.kt +1 -0
  17. package/android/src/main/java/com/fireworksdk/bridge/models/FWVideoPlayerConfigModel.kt +3 -1
  18. package/android/src/main/java/com/fireworksdk/bridge/models/FWVideoPlayerConfigModelDeserializer.kt +7 -1
  19. package/android/src/main/java/com/fireworksdk/bridge/models/FWVideoPlayerConfigModelSerializer.kt +4 -0
  20. package/android/src/main/java/com/fireworksdk/bridge/models/FWVideoPlayerLogoConfigurationModel.kt +8 -0
  21. package/android/src/main/java/com/fireworksdk/bridge/models/FWVideoPlayerLogoConfigurationModelDeserializer.kt +23 -0
  22. package/android/src/main/java/com/fireworksdk/bridge/models/FWVideoPlayerLogoConfigurationModelSerializer.kt +18 -0
  23. package/android/src/main/java/com/fireworksdk/bridge/models/enums/FWAppearanceMode.kt +18 -0
  24. package/android/src/main/java/com/fireworksdk/bridge/models/enums/FWEventName.kt +2 -0
  25. package/android/src/main/java/com/fireworksdk/bridge/models/enums/FWVideoPlayerLogoOption.kt +19 -0
  26. package/android/src/main/java/com/fireworksdk/bridge/reactnative/FWReactNativeSDK.kt +103 -0
  27. package/android/src/main/java/com/fireworksdk/bridge/reactnative/manager/FWStoryBlockManager.kt +12 -0
  28. package/android/src/main/java/com/fireworksdk/bridge/reactnative/manager/FWVideoFeedManager.kt +8 -0
  29. package/android/src/main/java/com/fireworksdk/bridge/reactnative/models/FireworkSDKInterface.kt +2 -0
  30. package/android/src/main/java/com/fireworksdk/bridge/reactnative/module/FWVideoShoppingModule.kt +22 -9
  31. package/android/src/main/java/com/fireworksdk/bridge/reactnative/module/FireworkSDKModule.kt +74 -122
  32. package/android/src/main/java/com/fireworksdk/bridge/reactnative/utils/FWEventUtils.kt +34 -9
  33. package/android/src/main/java/com/fireworksdk/bridge/utils/FWConfigUtil.kt +13 -0
  34. package/android/src/main/java/com/fireworksdk/bridge/utils/FWFragmentUtil.kt +3 -3
  35. package/android/src/main/java/com/fireworksdk/bridge/utils/FWGlobalDataUtil.kt +5 -2
  36. package/android/src/main/java/com/fireworksdk/bridge/utils/FWModelUtils.kt +64 -0
  37. package/ios/Components/CountdownTimerConfiguration.swift +43 -0
  38. package/ios/Components/ReplayBadgeConfiguration.swift +12 -0
  39. package/ios/Components/StoryBlock.swift +37 -0
  40. package/ios/Components/StoryBlockConfiguration.swift +2 -0
  41. package/ios/Components/StoryBlockManager.m +24 -0
  42. package/ios/Components/StoryBlockManager.swift +6 -3
  43. package/ios/Components/VideoFeed.swift +23 -3
  44. package/ios/Components/VideoFeedConfiguration.swift +1 -0
  45. package/ios/Components/VideoFeedManager.m +4 -1
  46. package/ios/Components/VideoFeedManager.swift +6 -3
  47. package/ios/Components/VideoPlayerConfiguration.swift +2 -0
  48. package/ios/FWReactNativeSDK.swift +14 -0
  49. package/ios/FireworkSdk.xcodeproj/project.pbxproj +16 -0
  50. package/ios/Modules/FireworkSDKModule/FireworkSDKModule+CTA.swift +17 -15
  51. package/ios/Modules/FireworkSDKModule/FireworkSDKModule+EventTracking.swift +1 -11
  52. package/ios/Modules/FireworkSDKModule/FireworkSDKModule.m +1 -0
  53. package/ios/Modules/FireworkSDKModule/FireworkSDKModule.swift +80 -81
  54. package/ios/Modules/FireworkSDKModule/SDKInitOptions.swift +9 -5
  55. package/ios/Modules/Shopping/ShoppingModule.swift +10 -74
  56. package/lib/commonjs/FireworkSDK.js +30 -25
  57. package/lib/commonjs/FireworkSDK.js.map +1 -1
  58. package/lib/commonjs/VideoShopping.js +6 -12
  59. package/lib/commonjs/VideoShopping.js.map +1 -1
  60. package/lib/commonjs/components/StoryBlock.js +56 -3
  61. package/lib/commonjs/components/StoryBlock.js.map +1 -1
  62. package/lib/commonjs/components/VideoFeed.js +48 -4
  63. package/lib/commonjs/components/VideoFeed.js.map +1 -1
  64. package/lib/commonjs/index.js +7 -7
  65. package/lib/commonjs/index.js.map +1 -1
  66. package/lib/commonjs/models/CountdownTimerConfiguration.js +2 -0
  67. package/lib/commonjs/models/CountdownTimerConfiguration.js.map +1 -0
  68. package/lib/commonjs/models/FWNativeErrorAction.js +14 -0
  69. package/lib/commonjs/models/FWNativeErrorAction.js.map +1 -0
  70. package/lib/commonjs/models/ReplayBadgeConfiguration.js +2 -0
  71. package/lib/commonjs/models/ReplayBadgeConfiguration.js.map +1 -0
  72. package/lib/commonjs/modules/FireworkSDKModule.js.map +1 -1
  73. package/lib/module/FireworkSDK.js +29 -25
  74. package/lib/module/FireworkSDK.js.map +1 -1
  75. package/lib/module/VideoShopping.js +6 -12
  76. package/lib/module/VideoShopping.js.map +1 -1
  77. package/lib/module/components/StoryBlock.js +55 -3
  78. package/lib/module/components/StoryBlock.js.map +1 -1
  79. package/lib/module/components/VideoFeed.js +44 -4
  80. package/lib/module/components/VideoFeed.js.map +1 -1
  81. package/lib/module/index.js +5 -5
  82. package/lib/module/index.js.map +1 -1
  83. package/lib/module/models/CountdownTimerConfiguration.js +2 -0
  84. package/lib/module/models/CountdownTimerConfiguration.js.map +1 -0
  85. package/lib/module/models/FWNativeErrorAction.js +7 -0
  86. package/lib/module/models/FWNativeErrorAction.js.map +1 -0
  87. package/lib/module/models/ReplayBadgeConfiguration.js +2 -0
  88. package/lib/module/models/ReplayBadgeConfiguration.js.map +1 -0
  89. package/lib/module/modules/FireworkSDKModule.js.map +1 -1
  90. package/lib/typescript/VideoShopping.d.ts +2 -2
  91. package/lib/typescript/components/StoryBlock.d.ts +18 -1
  92. package/lib/typescript/components/VideoFeed.d.ts +7 -1
  93. package/lib/typescript/index.d.ts +15 -13
  94. package/lib/typescript/models/CountdownTimerConfiguration.d.ts +12 -0
  95. package/lib/typescript/models/FWEvents.d.ts +26 -3
  96. package/lib/typescript/models/FWNativeErrorAction.d.ts +4 -0
  97. package/lib/typescript/models/FeedItemDetails.d.ts +6 -1
  98. package/lib/typescript/models/ReplayBadgeConfiguration.d.ts +7 -0
  99. package/lib/typescript/models/StoryBlockConfiguration.d.ts +13 -1
  100. package/lib/typescript/models/VideoFeedConfiguration.d.ts +6 -0
  101. package/lib/typescript/models/VideoPlayerConfiguration.d.ts +12 -1
  102. package/lib/typescript/modules/FireworkSDKModule.d.ts +1 -0
  103. package/package.json +1 -5
  104. package/react-native-firework-sdk.podspec +3 -5
  105. package/src/FireworkSDK.ts +27 -24
  106. package/src/VideoShopping.ts +9 -11
  107. package/src/components/StoryBlock.tsx +73 -7
  108. package/src/components/VideoFeed.tsx +61 -12
  109. package/src/index.ts +36 -30
  110. package/src/models/CountdownTimerConfiguration.ts +12 -0
  111. package/src/models/FWEvents.ts +28 -3
  112. package/src/models/FWNativeErrorAction.ts +4 -0
  113. package/src/models/FeedItemDetails.ts +7 -1
  114. package/src/models/ReplayBadgeConfiguration.ts +7 -0
  115. package/src/models/StoryBlockConfiguration.ts +13 -1
  116. package/src/models/VideoFeedConfiguration.ts +6 -0
  117. package/src/models/VideoPlayerConfiguration.ts +12 -1
  118. package/src/modules/FireworkSDKModule.ts +1 -0
  119. package/FireworkVideoUI.xcframework/Info.plist +0 -40
  120. package/FireworkVideoUI.xcframework/ios-arm64/FireworkVideoUI.framework/FireworkVideoUI +0 -0
  121. package/FireworkVideoUI.xcframework/ios-arm64/FireworkVideoUI.framework/Headers/FireworkVideoUI-Swift.h +0 -280
  122. package/FireworkVideoUI.xcframework/ios-arm64/FireworkVideoUI.framework/Headers/FireworkVideoUI.h +0 -18
  123. package/FireworkVideoUI.xcframework/ios-arm64/FireworkVideoUI.framework/Info.plist +0 -0
  124. package/FireworkVideoUI.xcframework/ios-arm64/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios.abi.json +0 -1313
  125. package/FireworkVideoUI.xcframework/ios-arm64/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -42
  126. package/FireworkVideoUI.xcframework/ios-arm64/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  127. package/FireworkVideoUI.xcframework/ios-arm64/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios.swiftinterface +0 -42
  128. package/FireworkVideoUI.xcframework/ios-arm64/FireworkVideoUI.framework/Modules/module.modulemap +0 -11
  129. package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/FireworkVideoUI +0 -0
  130. package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Headers/FireworkVideoUI-Swift.h +0 -556
  131. package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Headers/FireworkVideoUI.h +0 -18
  132. package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Info.plist +0 -0
  133. package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -1313
  134. package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -42
  135. package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  136. package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -42
  137. package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -1313
  138. package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -42
  139. package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  140. package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -42
  141. package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Modules/module.modulemap +0 -11
  142. package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/_CodeSignature/CodeResources +0 -245
  143. package/ios/FireworkVideoUI/FireworkVideoUI/FireworkVideoUI.docc/FireworkVideoUI.md +0 -13
  144. package/ios/FireworkVideoUI/FireworkVideoUI/FireworkVideoUI.h +0 -18
  145. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/AppLanguage/AppLanguageManager.swift +0 -154
  146. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/AppLanguage/Extensions/Foundation/Bundle+AppLanguage.swift +0 -73
  147. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/AppLanguage/Extensions/Foundation/NumberFormatter+AppLanguage.swift +0 -25
  148. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/AppLanguage/Extensions/Foundation/URLSession+AppLanguage.swift +0 -52
  149. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/AppLanguage/Extensions/UIKit/UIImageView+AppLanguage.swift +0 -60
  150. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/AppLanguage/Extensions/UIKit/UILabel+AppLanguage.swift +0 -98
  151. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/AppLanguage/Extensions/UIKit/UITextField+AppLanguage.swift +0 -97
  152. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/AppLanguage/Extensions/UIKit/UITextView+AppLanguage.swift +0 -97
  153. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/AppLanguage/Extensions/UIKit/UIView+AppLanguage.swift +0 -71
  154. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/AppLanguage/Extensions/UIKit/UIViewController+AppLanguage.swift +0 -48
  155. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/AppLanguage/Extensions/UIKit/UIWindow+AppLanguage.swift +0 -26
  156. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/AppLanguage/LanguageUtil.swift +0 -43
  157. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/LayoutFlip/Extensions/Foundation/NSObject+LayoutFlip.swift +0 -42
  158. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/LayoutFlip/Extensions/UIKit/CALayer+LayoutFlip.swift +0 -149
  159. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/LayoutFlip/Extensions/UIKit/UILabel+LayoutFlip.swift +0 -35
  160. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/LayoutFlip/Extensions/UIKit/UIView+LayoutFlip.swift +0 -202
  161. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/LayoutFlip/LayoutFlipManager.swift +0 -59
  162. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/Utils/Extensions/Foundation/DispatchQueue+Once.swift +0 -32
  163. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/Utils/Extensions/Foundation/String+Base64.swift +0 -18
  164. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/Utils/Extensions/UIKit/UIView+UIHierarchy.swift +0 -46
  165. package/ios/FireworkVideoUI/FireworkVideoUI/Sources/Utils/Swizzle.swift +0 -37
  166. package/ios/FireworkVideoUI/FireworkVideoUI.xcodeproj/project.pbxproj +0 -766
  167. package/ios/FireworkVideoUI/FireworkVideoUI.xcworkspace/contents.xcworkspacedata +0 -10
  168. package/ios/FireworkVideoUI/FireworkVideoUI.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  169. package/ios/FireworkVideoUI/FireworkVideoUITests/FireworkVideoUITests.swift +0 -37
  170. package/ios/FireworkVideoUI/Podfile +0 -15
  171. package/ios/FireworkVideoUI/Podfile.lock +0 -16
  172. package/ios/scripts/react_native_firework_sdk_pods.rb +0 -27
package/src/index.ts CHANGED
@@ -1,10 +1,4 @@
1
- import type {
2
- IStoryBlockMethods,
3
- IStoryBlockProps,
4
- } from './components/StoryBlock';
5
- import StoryBlock from './components/StoryBlock';
6
- import type { IVideoFeedProps, VideoFeedMode } from './components/VideoFeed';
7
- import VideoFeed from './components/VideoFeed';
1
+ import FWNavigator from './FWNavigator';
8
2
  import type {
9
3
  CustomCTAClickCallback,
10
4
  SDKInitCallback,
@@ -12,23 +6,39 @@ import type {
12
6
  VideoPlaybackCallback,
13
7
  } from './FireworkSDK';
14
8
  import FireworkSDK from './FireworkSDK';
15
- import FWNavigator from './FWNavigator';
16
9
  import type {
17
10
  onLiveStreamChatEventCallback,
18
11
  onLiveStreamEventCallback,
19
12
  } from './LiveStream';
20
13
  import LiveStream from './LiveStream';
14
+ import type {
15
+ CustomClickCartIconCallback,
16
+ CustomClickLinkButtonCallback,
17
+ CustomTapProductCardCallback,
18
+ ShoppingCTACallback,
19
+ UpdateProductDetailsCallback,
20
+ } from './VideoShopping';
21
+ import VideoShopping from './VideoShopping';
22
+ import type {
23
+ IStoryBlockMethods,
24
+ IStoryBlockProps,
25
+ } from './components/StoryBlock';
26
+ import StoryBlock from './components/StoryBlock';
27
+ import type { IVideoFeedProps, VideoFeedMode } from './components/VideoFeed';
28
+ import VideoFeed from './components/VideoFeed';
21
29
  import type AdBadgeConfiguration from './models/AdBadgeConfiguration';
22
30
  import type { AdBadgeTextType } from './models/AdBadgeConfiguration';
23
31
  import type AdConfiguration from './models/AdConfiguration';
24
32
  import type { VastAttribute } from './models/AdConfiguration';
25
33
  import type AndroidFontInfo from './models/AndroidFontInfo';
26
34
  import type ButtonInfo from './models/ButtonInfo';
27
- import type FeedItemDetails from './models/FeedItemDetails';
35
+ import type CountdownTimerConfiguration from './models/CountdownTimerConfiguration';
36
+ import type { CountdownTimerAppearanceMode } from './models/CountdownTimerConfiguration';
28
37
  import type FWError from './models/FWError';
29
38
  import type {
30
- CustomClickLinkButtonEvent,
31
39
  CustomCTAClickEvent,
40
+ CustomClickCartIconEvent,
41
+ CustomClickLinkButtonEvent,
32
42
  CustomTapProductCardEvent,
33
43
  LiveStreamChatEvent,
34
44
  LiveStreamEvent,
@@ -39,6 +49,7 @@ import type {
39
49
  VideoFeedClickEvent,
40
50
  VideoPlaybackEvent,
41
51
  } from './models/FWEvents';
52
+ import type FeedItemDetails from './models/FeedItemDetails';
42
53
  import type GradientDrawable from './models/GradientDrawable';
43
54
  import type { GradientDrawableOrientation } from './models/GradientDrawable';
44
55
  import type IOSFontInfo from './models/IOSFontInfo';
@@ -55,9 +66,9 @@ import type Product from './models/Product';
55
66
  import type ProductInfoViewConfiguration from './models/ProductInfoViewConfiguration';
56
67
  import type {
57
68
  LinkButtonConfiguration,
58
- ProductCardConfiguration,
59
69
  ProductCardCTAButtonStyle,
60
70
  ProductCardCTAButtonText,
71
+ ProductCardConfiguration,
61
72
  ProductCardIconConfiguration,
62
73
  ProductCardLabelConfiguration,
63
74
  ProductCardPriceConfiguration,
@@ -88,28 +99,20 @@ import type VideoPlaybackDetails from './models/VideoPlaybackDetails';
88
99
  import type { VideoPlayerSize } from './models/VideoPlaybackDetails';
89
100
  import VideoPlaybackEventName from './models/VideoPlaybackEventName';
90
101
  import type VideoPlayerButtonConfiguration from './models/VideoPlayerButtonConfiguration';
91
- import type { VideoPlayerCompleteAction } from './models/VideoPlayerCompleteAction';
92
- import type VideoPlayerConfiguration from './models/VideoPlayerConfiguration';
93
102
  import type {
94
103
  VideoPlayerCTADelay,
95
104
  VideoPlayerCTADelayType,
96
105
  } from './models/VideoPlayerCTADelay';
97
106
  import type { VideoPlayerCTAStyle } from './models/VideoPlayerCTAStyle';
98
107
  import type { VideoPlayerCTAWidth } from './models/VideoPlayerCTAWidth';
108
+ import type { VideoPlayerCompleteAction } from './models/VideoPlayerCompleteAction';
109
+ import type VideoPlayerConfiguration from './models/VideoPlayerConfiguration';
99
110
  import type {
100
111
  VideoPlayerLogoConfiguration,
101
112
  VideoPlayerLogoOption,
102
113
  } from './models/VideoPlayerLogoConfiguration';
103
114
  import type { VideoPlayerStyle } from './models/VideoPlayerStyle';
104
115
  import VideoFeedUtil from './utils/VideoFeedUtil';
105
- import type {
106
- CustomClickCartIconCallback,
107
- CustomClickLinkButtonCallback,
108
- CustomTapProductCardCallback,
109
- ShoppingCTACallback,
110
- UpdateProductDetailsCallback,
111
- } from './VideoShopping';
112
- import VideoShopping from './VideoShopping';
113
116
 
114
117
  export default FireworkSDK;
115
118
 
@@ -119,17 +122,20 @@ export {
119
122
  AdConfiguration,
120
123
  AndroidFontInfo,
121
124
  ButtonInfo,
125
+ CountdownTimerAppearanceMode,
126
+ CountdownTimerConfiguration,
127
+ CustomCTAClickCallback,
128
+ CustomCTAClickEvent,
122
129
  CustomClickCartIconCallback,
130
+ CustomClickCartIconEvent,
123
131
  CustomClickLinkButtonCallback,
124
132
  CustomClickLinkButtonEvent,
125
- CustomCTAClickCallback,
126
- CustomCTAClickEvent,
127
133
  CustomTapProductCardCallback,
128
134
  CustomTapProductCardEvent,
129
- FeedItemDetails,
130
- FireworkSDK,
131
135
  FWError,
132
136
  FWNavigator,
137
+ FeedItemDetails,
138
+ FireworkSDK,
133
139
  GradientDrawable,
134
140
  GradientDrawableOrientation,
135
141
  IOSFontInfo,
@@ -146,14 +152,12 @@ export {
146
152
  LiveStreamEventDetails,
147
153
  LiveStreamEventName,
148
154
  LiveStreamMessageDetails,
149
- onLiveStreamChatEventCallback,
150
- onLiveStreamEventCallback,
151
155
  OpenVideoPlayerConfiguration,
152
156
  PlayerHandler,
153
157
  Product,
154
- ProductCardConfiguration,
155
158
  ProductCardCTAButtonStyle,
156
159
  ProductCardCTAButtonText,
160
+ ProductCardConfiguration,
157
161
  ProductCardIconConfiguration,
158
162
  ProductCardLabelConfiguration,
159
163
  ProductCardPriceConfiguration,
@@ -197,15 +201,17 @@ export {
197
201
  VideoPlaybackEvent,
198
202
  VideoPlaybackEventName,
199
203
  VideoPlayerButtonConfiguration,
200
- VideoPlayerCompleteAction,
201
- VideoPlayerConfiguration,
202
204
  VideoPlayerCTADelay,
203
205
  VideoPlayerCTADelayType,
204
206
  VideoPlayerCTAStyle,
205
207
  VideoPlayerCTAWidth,
208
+ VideoPlayerCompleteAction,
209
+ VideoPlayerConfiguration,
206
210
  VideoPlayerLogoConfiguration,
207
211
  VideoPlayerLogoOption,
208
212
  VideoPlayerSize,
209
213
  VideoPlayerStyle,
210
214
  VideoShopping,
215
+ onLiveStreamChatEventCallback,
216
+ onLiveStreamEventCallback,
211
217
  };
@@ -0,0 +1,12 @@
1
+ export type CountdownTimerAppearanceMode = 'light' | 'dark';
2
+ export default interface CountdownTimerConfiguration {
3
+ /**
4
+ * Specifies if the countdown timer should be hidden.
5
+ */
6
+ isHidden?: boolean;
7
+ /**
8
+ * Specifies the appearance of the countdown timer.
9
+ * Only supported on iOS.
10
+ */
11
+ appearance?: CountdownTimerAppearanceMode;
12
+ }
@@ -16,13 +16,13 @@ export interface SDKInitEvent {
16
16
 
17
17
  export interface PlayerHandler {
18
18
  /**
19
- * Pause the video playback associated with this CTA.
19
+ * Pause The video playback associated with this CTA.
20
20
  * Only supported on iOS
21
21
  */
22
22
  pause: () => void;
23
23
 
24
24
  /**
25
- * Resume the video playback associated with this CTA.
25
+ * Resume The video playback associated with this CTA.
26
26
  * Only supported on iOS
27
27
  */
28
28
  resume: () => void;
@@ -39,6 +39,11 @@ export interface CustomCTAClickEvent {
39
39
  * Only supported on iOS
40
40
  */
41
41
  playerHandler?: PlayerHandler;
42
+
43
+ /**
44
+ * The video playback details for the event.
45
+ */
46
+ video: VideoPlaybackDetails;
42
47
  }
43
48
 
44
49
  export interface VideoPlaybackEvent {
@@ -63,6 +68,10 @@ export interface ShoppingCTAEvent {
63
68
  * A unique identifier of the product unit.
64
69
  */
65
70
  unitId: string;
71
+ /**
72
+ * The video playback details for the event.
73
+ */
74
+ video: VideoPlaybackDetails;
66
75
  }
67
76
 
68
77
  export interface UpdateProductDetailsEvent {
@@ -70,6 +79,10 @@ export interface UpdateProductDetailsEvent {
70
79
  * A unique identifier list of the products.
71
80
  */
72
81
  productIds: string[];
82
+ /**
83
+ * The video playback details for the event.
84
+ */
85
+ video: VideoPlaybackDetails;
73
86
  }
74
87
 
75
88
  export interface CustomClickLinkButtonEvent {
@@ -85,6 +98,11 @@ export interface CustomClickLinkButtonEvent {
85
98
  * A unique identifier of the product unit.
86
99
  */
87
100
  unitId: string;
101
+ /**
102
+ * The video playback details for the event.
103
+ * Only supported on Android.
104
+ */
105
+ video?: VideoPlaybackDetails;
88
106
  }
89
107
 
90
108
  export interface CustomTapProductCardEvent {
@@ -101,7 +119,7 @@ export interface CustomTapProductCardEvent {
101
119
  */
102
120
  unitId: string;
103
121
  /**
104
- * the video playback details that the product unit belongs to.
122
+ * The video playback details for the event.
105
123
  */
106
124
  video: VideoPlaybackDetails;
107
125
  /**
@@ -120,3 +138,10 @@ export interface LiveStreamChatEvent {
120
138
  message: LiveStreamMessageDetails;
121
139
  liveStream: LiveStreamEventDetails;
122
140
  }
141
+
142
+ export interface CustomClickCartIconEvent {
143
+ /**
144
+ * The video playback details for the event.
145
+ */
146
+ video: VideoPlaybackDetails;
147
+ }
@@ -0,0 +1,4 @@
1
+ export enum FWNativeErrorAction {
2
+ loadingFirstPage = 'loadingFirstPage',
3
+ loadingNextPage = 'loadingNextPage',
4
+ }
@@ -49,5 +49,11 @@ export default interface FeedItemDetails {
49
49
  * For instance, (and sport food) (or sport food) (and sport (or food comedy)) sport are all valid expressions.
50
50
  * Non-UTF-8 characters are not allowed. If using boolean predicates, the expression needs to be wrapped with parenthesis.
51
51
  */
52
- hashtagFilterExpression?: string;
52
+ hashtagFilterExpression?: string | null;
53
+
54
+ /**
55
+ * The feed id for the item.
56
+ * Only supported on Android.
57
+ */
58
+ feedId?: string | null;
53
59
  }
@@ -0,0 +1,7 @@
1
+ export interface ReplayBadgeConfiguration {
2
+ /**
3
+ * Indicates if the replay badge is hidden.
4
+ * Defaults to false.
5
+ */
6
+ isHidden?: boolean;
7
+ }
@@ -1,3 +1,5 @@
1
+ import type CountdownTimerConfiguration from './CountdownTimerConfiguration';
2
+ import type { ReplayBadgeConfiguration } from './ReplayBadgeConfiguration';
1
3
  import type VideoPlayerButtonConfiguration from './VideoPlayerButtonConfiguration';
2
4
  import type { VideoPlayerCTADelay } from './VideoPlayerCTADelay';
3
5
  import type { VideoPlayerCTAStyle } from './VideoPlayerCTAStyle';
@@ -73,7 +75,17 @@ export interface StoryBlockConfiguration {
73
75
  /**
74
76
  * Specifies the logo configuration
75
77
  * Defaults to { option: 'disabled' }
76
- * Only supported on iOS.
77
78
  */
78
79
  videoPlayerLogoConfiguration?: VideoPlayerLogoConfiguration;
80
+ /**
81
+ * The configuration of replay badge.
82
+ * Only supported on iOS.
83
+ */
84
+ replayBadgeConfiguration?: ReplayBadgeConfiguration;
85
+ /**
86
+ * Specifies countdown timer configuration.
87
+ * On iOS, the property applies to full-screen and compact story block.
88
+ * On Android, the property only applies to compact story block.
89
+ */
90
+ countdownTimerConfiguration?: CountdownTimerConfiguration;
79
91
  }
@@ -1,6 +1,7 @@
1
1
  import type IOSFontInfo from './IOSFontInfo';
2
2
  import type AndroidFontInfo from './AndroidFontInfo';
3
3
  import type GradientDrawable from './GradientDrawable';
4
+ import type { ReplayBadgeConfiguration } from './ReplayBadgeConfiguration';
4
5
 
5
6
  export interface VideoFeedTitleConfiguration {
6
7
  /**
@@ -135,4 +136,9 @@ export default interface VideoFeedConfiguration {
135
136
  * Defaults to 2.
136
137
  */
137
138
  gridColumns?: number;
139
+ /**
140
+ * The configuration of replay badge.
141
+ * Only supported on iOS.
142
+ */
143
+ replayBadge?: ReplayBadgeConfiguration;
138
144
  }
@@ -5,6 +5,8 @@ import type { VideoPlayerCTAWidth } from './VideoPlayerCTAWidth';
5
5
  import type { VideoPlayerCompleteAction } from './VideoPlayerCompleteAction';
6
6
  import type { VideoPlayerStyle } from './VideoPlayerStyle';
7
7
  import type { VideoPlayerLogoConfiguration } from './VideoPlayerLogoConfiguration';
8
+ import type { ReplayBadgeConfiguration } from './ReplayBadgeConfiguration';
9
+ import type CountdownTimerConfiguration from './CountdownTimerConfiguration';
8
10
 
9
11
  export default interface VideoPlayerConfiguration {
10
12
  /**
@@ -71,7 +73,16 @@ export default interface VideoPlayerConfiguration {
71
73
  /**
72
74
  * Specifies the logo configuration
73
75
  * Defaults to { option: 'disabled' }
74
- * Only supported on iOS.
75
76
  */
76
77
  videoPlayerLogoConfiguration?: VideoPlayerLogoConfiguration;
78
+ /**
79
+ * The configuration of replay badge.
80
+ * Only supported on iOS.
81
+ */
82
+ replayBadgeConfiguration?: ReplayBadgeConfiguration;
83
+ /**
84
+ * Specifies countdown timer configuration.
85
+ * Only supported on iOS.
86
+ */
87
+ countdownTimerConfiguration?: CountdownTimerConfiguration;
77
88
  }
@@ -19,6 +19,7 @@ const FireworkSDKModule = NativeModules.FireworkSDK
19
19
 
20
20
  interface IFireworkSDKModule extends NativeModule {
21
21
  init(options?: SDKInitOptions): Promise<any>;
22
+ markInitCalled(): Promise<boolean>;
22
23
  openVideoPlayer(url: string, config?: VideoPlayerNativeConfiguration): void;
23
24
  setVideoFeedClickCallbackEnabled(enabled: boolean): void; // Only supported on iOS
24
25
  setCustomCTAClickEnabled(enabled: boolean): void;
@@ -1,40 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>AvailableLibraries</key>
6
- <array>
7
- <dict>
8
- <key>LibraryIdentifier</key>
9
- <string>ios-arm64</string>
10
- <key>LibraryPath</key>
11
- <string>FireworkVideoUI.framework</string>
12
- <key>SupportedArchitectures</key>
13
- <array>
14
- <string>arm64</string>
15
- </array>
16
- <key>SupportedPlatform</key>
17
- <string>ios</string>
18
- </dict>
19
- <dict>
20
- <key>LibraryIdentifier</key>
21
- <string>ios-arm64_x86_64-simulator</string>
22
- <key>LibraryPath</key>
23
- <string>FireworkVideoUI.framework</string>
24
- <key>SupportedArchitectures</key>
25
- <array>
26
- <string>arm64</string>
27
- <string>x86_64</string>
28
- </array>
29
- <key>SupportedPlatform</key>
30
- <string>ios</string>
31
- <key>SupportedPlatformVariant</key>
32
- <string>simulator</string>
33
- </dict>
34
- </array>
35
- <key>CFBundlePackageType</key>
36
- <string>XFWK</string>
37
- <key>XCFrameworkFormatVersion</key>
38
- <string>1.0</string>
39
- </dict>
40
- </plist>
@@ -1,280 +0,0 @@
1
- #if 0
2
- #elif defined(__arm64__) && __arm64__
3
- // Generated by Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
4
- #ifndef FIREWORKVIDEOUI_SWIFT_H
5
- #define FIREWORKVIDEOUI_SWIFT_H
6
- #pragma clang diagnostic push
7
- #pragma clang diagnostic ignored "-Wgcc-compat"
8
-
9
- #if !defined(__has_include)
10
- # define __has_include(x) 0
11
- #endif
12
- #if !defined(__has_attribute)
13
- # define __has_attribute(x) 0
14
- #endif
15
- #if !defined(__has_feature)
16
- # define __has_feature(x) 0
17
- #endif
18
- #if !defined(__has_warning)
19
- # define __has_warning(x) 0
20
- #endif
21
-
22
- #if __has_include(<swift/objc-prologue.h>)
23
- # include <swift/objc-prologue.h>
24
- #endif
25
-
26
- #pragma clang diagnostic ignored "-Wduplicate-method-match"
27
- #pragma clang diagnostic ignored "-Wauto-import"
28
- #if defined(__OBJC__)
29
- #include <Foundation/Foundation.h>
30
- #endif
31
- #if defined(__cplusplus)
32
- #include <cstdint>
33
- #include <cstddef>
34
- #include <cstdbool>
35
- #else
36
- #include <stdint.h>
37
- #include <stddef.h>
38
- #include <stdbool.h>
39
- #endif
40
-
41
- #if !defined(SWIFT_TYPEDEFS)
42
- # define SWIFT_TYPEDEFS 1
43
- # if __has_include(<uchar.h>)
44
- # include <uchar.h>
45
- # elif !defined(__cplusplus)
46
- typedef uint_least16_t char16_t;
47
- typedef uint_least32_t char32_t;
48
- # endif
49
- typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
50
- typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
51
- typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
52
- typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
53
- typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
54
- typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
55
- typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
56
- typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
57
- typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
58
- typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
59
- typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
60
- typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
61
- #endif
62
-
63
- #if !defined(SWIFT_PASTE)
64
- # define SWIFT_PASTE_HELPER(x, y) x##y
65
- # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
66
- #endif
67
- #if !defined(SWIFT_METATYPE)
68
- # define SWIFT_METATYPE(X) Class
69
- #endif
70
- #if !defined(SWIFT_CLASS_PROPERTY)
71
- # if __has_feature(objc_class_property)
72
- # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
73
- # else
74
- # define SWIFT_CLASS_PROPERTY(...)
75
- # endif
76
- #endif
77
-
78
- #if __has_attribute(objc_runtime_name)
79
- # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
80
- #else
81
- # define SWIFT_RUNTIME_NAME(X)
82
- #endif
83
- #if __has_attribute(swift_name)
84
- # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
85
- #else
86
- # define SWIFT_COMPILE_NAME(X)
87
- #endif
88
- #if __has_attribute(objc_method_family)
89
- # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
90
- #else
91
- # define SWIFT_METHOD_FAMILY(X)
92
- #endif
93
- #if __has_attribute(noescape)
94
- # define SWIFT_NOESCAPE __attribute__((noescape))
95
- #else
96
- # define SWIFT_NOESCAPE
97
- #endif
98
- #if __has_attribute(ns_consumed)
99
- # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
100
- #else
101
- # define SWIFT_RELEASES_ARGUMENT
102
- #endif
103
- #if __has_attribute(warn_unused_result)
104
- # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
105
- #else
106
- # define SWIFT_WARN_UNUSED_RESULT
107
- #endif
108
- #if __has_attribute(noreturn)
109
- # define SWIFT_NORETURN __attribute__((noreturn))
110
- #else
111
- # define SWIFT_NORETURN
112
- #endif
113
- #if !defined(SWIFT_CLASS_EXTRA)
114
- # define SWIFT_CLASS_EXTRA
115
- #endif
116
- #if !defined(SWIFT_PROTOCOL_EXTRA)
117
- # define SWIFT_PROTOCOL_EXTRA
118
- #endif
119
- #if !defined(SWIFT_ENUM_EXTRA)
120
- # define SWIFT_ENUM_EXTRA
121
- #endif
122
- #if !defined(SWIFT_CLASS)
123
- # if __has_attribute(objc_subclassing_restricted)
124
- # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
125
- # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
126
- # else
127
- # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
128
- # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
129
- # endif
130
- #endif
131
- #if !defined(SWIFT_RESILIENT_CLASS)
132
- # if __has_attribute(objc_class_stub)
133
- # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
134
- # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
135
- # else
136
- # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
137
- # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
138
- # endif
139
- #endif
140
-
141
- #if !defined(SWIFT_PROTOCOL)
142
- # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
143
- # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
144
- #endif
145
-
146
- #if !defined(SWIFT_EXTENSION)
147
- # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
148
- #endif
149
-
150
- #if !defined(OBJC_DESIGNATED_INITIALIZER)
151
- # if __has_attribute(objc_designated_initializer)
152
- # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
153
- # else
154
- # define OBJC_DESIGNATED_INITIALIZER
155
- # endif
156
- #endif
157
- #if !defined(SWIFT_ENUM_ATTR)
158
- # if defined(__has_attribute) && __has_attribute(enum_extensibility)
159
- # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
160
- # else
161
- # define SWIFT_ENUM_ATTR(_extensibility)
162
- # endif
163
- #endif
164
- #if !defined(SWIFT_ENUM)
165
- # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
166
- # if __has_feature(generalized_swift_name)
167
- # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
168
- # else
169
- # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
170
- # endif
171
- #endif
172
- #if !defined(SWIFT_UNAVAILABLE)
173
- # define SWIFT_UNAVAILABLE __attribute__((unavailable))
174
- #endif
175
- #if !defined(SWIFT_UNAVAILABLE_MSG)
176
- # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
177
- #endif
178
- #if !defined(SWIFT_AVAILABILITY)
179
- # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
180
- #endif
181
- #if !defined(SWIFT_WEAK_IMPORT)
182
- # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
183
- #endif
184
- #if !defined(SWIFT_DEPRECATED)
185
- # define SWIFT_DEPRECATED __attribute__((deprecated))
186
- #endif
187
- #if !defined(SWIFT_DEPRECATED_MSG)
188
- # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
189
- #endif
190
- #if __has_feature(attribute_diagnose_if_objc)
191
- # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
192
- #else
193
- # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
194
- #endif
195
- #if defined(__OBJC__)
196
- #if !defined(IBSegueAction)
197
- # define IBSegueAction
198
- #endif
199
- #endif
200
- #if !defined(SWIFT_EXTERN)
201
- # if defined(__cplusplus)
202
- # define SWIFT_EXTERN extern "C"
203
- # else
204
- # define SWIFT_EXTERN extern
205
- # endif
206
- #endif
207
- #if !defined(SWIFT_CALL)
208
- # define SWIFT_CALL __attribute__((swiftcall))
209
- #endif
210
- #if defined(__cplusplus)
211
- #if !defined(SWIFT_NOEXCEPT)
212
- # define SWIFT_NOEXCEPT noexcept
213
- #endif
214
- #else
215
- #if !defined(SWIFT_NOEXCEPT)
216
- # define SWIFT_NOEXCEPT
217
- #endif
218
- #endif
219
- #if defined(__cplusplus)
220
- #if !defined(SWIFT_CXX_INT_DEFINED)
221
- #define SWIFT_CXX_INT_DEFINED
222
- namespace swift {
223
- using Int = ptrdiff_t;
224
- using UInt = size_t;
225
- }
226
- #endif
227
- #endif
228
- #if defined(__OBJC__)
229
- #if __has_feature(modules)
230
- #if __has_warning("-Watimport-in-framework-header")
231
- #pragma clang diagnostic ignored "-Watimport-in-framework-header"
232
- #endif
233
- #endif
234
-
235
- #endif
236
- #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
237
- #pragma clang diagnostic ignored "-Wduplicate-method-arg"
238
- #if __has_warning("-Wpragma-clang-attribute")
239
- # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
240
- #endif
241
- #pragma clang diagnostic ignored "-Wunknown-pragmas"
242
- #pragma clang diagnostic ignored "-Wnullability"
243
- #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
244
-
245
- #if __has_attribute(external_source_symbol)
246
- # pragma push_macro("any")
247
- # undef any
248
- # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FireworkVideoUI",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
249
- # pragma pop_macro("any")
250
- #endif
251
-
252
- #if defined(__OBJC__)
253
-
254
-
255
-
256
-
257
-
258
-
259
-
260
-
261
-
262
-
263
-
264
-
265
-
266
-
267
-
268
-
269
- #endif
270
- #if defined(__cplusplus)
271
- #endif
272
- #if __has_attribute(external_source_symbol)
273
- # pragma clang attribute pop
274
- #endif
275
- #pragma clang diagnostic pop
276
- #endif
277
-
278
- #else
279
- #error unsupported Swift architecture
280
- #endif