react-native-firework-sdk 2.16.0 → 2.17.0-beta.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.
- package/android/build.gradle +43 -75
- package/android/gradle.properties +5 -5
- package/android/settings.gradle +1 -1
- package/android/src/main/AndroidManifestNew.xml +41 -0
- package/ios/FireworkSdk-Bridging-Header.h +3 -3
- package/lib/commonjs/FWNavigator.js +13 -34
- package/lib/commonjs/FWNavigator.js.map +1 -1
- package/lib/commonjs/FireworkSDK.js +44 -159
- package/lib/commonjs/FireworkSDK.js.map +1 -1
- package/lib/commonjs/LiveStream.js +8 -27
- package/lib/commonjs/LiveStream.js.map +1 -1
- package/lib/commonjs/VideoShopping.js +21 -91
- package/lib/commonjs/VideoShopping.js.map +1 -1
- package/lib/commonjs/components/FWStoryBlock.js +2 -6
- package/lib/commonjs/components/FWStoryBlock.js.map +1 -1
- package/lib/commonjs/components/FWVideoFeed.js +2 -6
- package/lib/commonjs/components/FWVideoFeed.js.map +1 -1
- package/lib/commonjs/components/StoryBlock.js +60 -161
- package/lib/commonjs/components/StoryBlock.js.map +1 -1
- package/lib/commonjs/components/VideoFeed.js +214 -335
- package/lib/commonjs/components/VideoFeed.js.map +1 -1
- package/lib/commonjs/constants/FWErrorMessage.js +1 -4
- package/lib/commonjs/constants/FWErrorMessage.js.map +1 -1
- package/lib/commonjs/index.js +14 -29
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/models/AdBadgeConfiguration.js.map +1 -1
- package/lib/commonjs/models/AdConfiguration.js.map +1 -1
- package/lib/commonjs/models/AndroidFontInfo.js.map +1 -1
- package/lib/commonjs/models/ButtonInfo.js.map +1 -1
- package/lib/commonjs/models/CountdownTimerConfiguration.js.map +1 -1
- package/lib/commonjs/models/DataTrackingLevel.js.map +1 -1
- package/lib/commonjs/models/FWComponentType.js +3 -5
- package/lib/commonjs/models/FWComponentType.js.map +1 -1
- package/lib/commonjs/models/FWError.js.map +1 -1
- package/lib/commonjs/models/FWEventName.js +3 -5
- package/lib/commonjs/models/FWEventName.js.map +1 -1
- package/lib/commonjs/models/FWEvents.js.map +1 -1
- package/lib/commonjs/models/FWNativeErrorAction.js +3 -5
- package/lib/commonjs/models/FWNativeErrorAction.js.map +1 -1
- package/lib/commonjs/models/FeedItemDetails.js.map +1 -1
- package/lib/commonjs/models/GradientDrawable.js.map +1 -1
- package/lib/commonjs/models/IOSFontInfo.js.map +1 -1
- package/lib/commonjs/models/LiveStreamChatEventName.js +7 -7
- package/lib/commonjs/models/LiveStreamChatEventName.js.map +1 -1
- package/lib/commonjs/models/LiveStreamEventDetails.js.map +1 -1
- package/lib/commonjs/models/LiveStreamEventName.js +13 -7
- package/lib/commonjs/models/LiveStreamEventName.js.map +1 -1
- package/lib/commonjs/models/LiveStreamMessageDetails.js.map +1 -1
- package/lib/commonjs/models/LivestreamPlayerDesignVersion.js +4 -7
- package/lib/commonjs/models/LivestreamPlayerDesignVersion.js.map +1 -1
- package/lib/commonjs/models/MarkInitCalledOptions.js.map +1 -1
- package/lib/commonjs/models/OpenVideoPlayerConfiguration.js.map +1 -1
- package/lib/commonjs/models/Product.js.map +1 -1
- package/lib/commonjs/models/ProductInfoViewConfiguration.js.map +1 -1
- package/lib/commonjs/models/ProductUnit.js.map +1 -1
- package/lib/commonjs/models/PushRNContainerParams.js.map +1 -1
- package/lib/commonjs/models/ReplayBadgeConfiguration.js.map +1 -1
- package/lib/commonjs/models/SDKInitOptions.js.map +1 -1
- package/lib/commonjs/models/ShoppingCTAResult.js.map +1 -1
- package/lib/commonjs/models/StoryBlockConfiguration.js.map +1 -1
- package/lib/commonjs/models/StoryBlockNativeConfiguration.js.map +1 -1
- package/lib/commonjs/models/StoryBlockSource.js.map +1 -1
- package/lib/commonjs/models/TrackPurchaseParameters.js.map +1 -1
- package/lib/commonjs/models/VideoFeedConfiguration.js.map +1 -1
- package/lib/commonjs/models/VideoFeedSource.js.map +1 -1
- package/lib/commonjs/models/VideoPlaybackDetails.js.map +1 -1
- package/lib/commonjs/models/VideoPlaybackEventName.js +40 -7
- package/lib/commonjs/models/VideoPlaybackEventName.js.map +1 -1
- package/lib/commonjs/models/VideoPlayerButtonConfiguration.js.map +1 -1
- package/lib/commonjs/models/VideoPlayerCTADelay.js.map +1 -1
- package/lib/commonjs/models/VideoPlayerCTAStyle.js.map +1 -1
- package/lib/commonjs/models/VideoPlayerCTAWidth.js.map +1 -1
- package/lib/commonjs/models/VideoPlayerCompleteAction.js.map +1 -1
- package/lib/commonjs/models/VideoPlayerConfiguration.js.map +1 -1
- package/lib/commonjs/models/VideoPlayerLivestreamCountdownTimerTheme.js.map +1 -1
- package/lib/commonjs/models/VideoPlayerLogoConfiguration.js.map +1 -1
- package/lib/commonjs/models/VideoPlayerNativeConfiguration.js.map +1 -1
- package/lib/commonjs/models/VideoPlayerStyle.js.map +1 -1
- package/lib/commonjs/modules/FWNavigatorModule.js +3 -9
- package/lib/commonjs/modules/FWNavigatorModule.js.map +1 -1
- package/lib/commonjs/modules/FireworkSDKModule.js +3 -9
- package/lib/commonjs/modules/FireworkSDKModule.js.map +1 -1
- package/lib/commonjs/modules/LiveStreamModule.js +3 -9
- package/lib/commonjs/modules/LiveStreamModule.js.map +1 -1
- package/lib/commonjs/modules/ShoppingModule.js +3 -9
- package/lib/commonjs/modules/ShoppingModule.js.map +1 -1
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/utils/FWGlobalState.js +3 -21
- package/lib/commonjs/utils/FWGlobalState.js.map +1 -1
- package/lib/commonjs/utils/FWJsonUtil.js +1 -9
- package/lib/commonjs/utils/FWJsonUtil.js.map +1 -1
- package/lib/commonjs/utils/FWLoggerUtil.js +1 -9
- package/lib/commonjs/utils/FWLoggerUtil.js.map +1 -1
- package/lib/commonjs/utils/VideoFeedUtil.js +15 -28
- package/lib/commonjs/utils/VideoFeedUtil.js.map +1 -1
- package/lib/module/FWNavigator.js +13 -24
- package/lib/module/FWNavigator.js.map +1 -1
- package/lib/module/FireworkSDK.js +42 -127
- package/lib/module/FireworkSDK.js.map +1 -1
- package/lib/module/LiveStream.js +7 -18
- package/lib/module/LiveStream.js.map +1 -1
- package/lib/module/VideoShopping.js +19 -68
- package/lib/module/VideoShopping.js.map +1 -1
- package/lib/module/components/FWStoryBlock.js +3 -1
- package/lib/module/components/FWStoryBlock.js.map +1 -1
- package/lib/module/components/FWVideoFeed.js +3 -1
- package/lib/module/components/FWVideoFeed.js.map +1 -1
- package/lib/module/components/StoryBlock.js +59 -111
- package/lib/module/components/StoryBlock.js.map +1 -1
- package/lib/module/components/VideoFeed.js +214 -299
- package/lib/module/components/VideoFeed.js.map +1 -1
- package/lib/module/constants/FWErrorMessage.js +2 -0
- package/lib/module/constants/FWErrorMessage.js.map +1 -1
- package/lib/module/index.js +14 -12
- package/lib/module/index.js.map +1 -1
- package/lib/module/models/AdBadgeConfiguration.js +1 -1
- package/lib/module/models/AdBadgeConfiguration.js.map +1 -1
- package/lib/module/models/AdConfiguration.js +1 -1
- package/lib/module/models/AdConfiguration.js.map +1 -1
- package/lib/module/models/AndroidFontInfo.js +1 -1
- package/lib/module/models/AndroidFontInfo.js.map +1 -1
- package/lib/module/models/ButtonInfo.js +1 -1
- package/lib/module/models/ButtonInfo.js.map +1 -1
- package/lib/module/models/CountdownTimerConfiguration.js +1 -1
- package/lib/module/models/CountdownTimerConfiguration.js.map +1 -1
- package/lib/module/models/DataTrackingLevel.js +1 -1
- package/lib/module/models/DataTrackingLevel.js.map +1 -1
- package/lib/module/models/FWComponentType.js +4 -3
- package/lib/module/models/FWComponentType.js.map +1 -1
- package/lib/module/models/FWError.js +1 -1
- package/lib/module/models/FWError.js.map +1 -1
- package/lib/module/models/FWEventName.js +4 -3
- package/lib/module/models/FWEventName.js.map +1 -1
- package/lib/module/models/FWEvents.js +2 -0
- package/lib/module/models/FWEvents.js.map +1 -1
- package/lib/module/models/FWNativeErrorAction.js +4 -3
- package/lib/module/models/FWNativeErrorAction.js.map +1 -1
- package/lib/module/models/FeedItemDetails.js +1 -1
- package/lib/module/models/FeedItemDetails.js.map +1 -1
- package/lib/module/models/GradientDrawable.js +1 -1
- package/lib/module/models/GradientDrawable.js.map +1 -1
- package/lib/module/models/IOSFontInfo.js +1 -1
- package/lib/module/models/IOSFontInfo.js.map +1 -1
- package/lib/module/models/LiveStreamChatEventName.js +7 -4
- package/lib/module/models/LiveStreamChatEventName.js.map +1 -1
- package/lib/module/models/LiveStreamEventDetails.js +1 -1
- package/lib/module/models/LiveStreamEventDetails.js.map +1 -1
- package/lib/module/models/LiveStreamEventName.js +13 -4
- package/lib/module/models/LiveStreamEventName.js.map +1 -1
- package/lib/module/models/LiveStreamMessageDetails.js +1 -1
- package/lib/module/models/LiveStreamMessageDetails.js.map +1 -1
- package/lib/module/models/LivestreamPlayerDesignVersion.js +4 -4
- package/lib/module/models/LivestreamPlayerDesignVersion.js.map +1 -1
- package/lib/module/models/MarkInitCalledOptions.js +1 -1
- package/lib/module/models/MarkInitCalledOptions.js.map +1 -1
- package/lib/module/models/OpenVideoPlayerConfiguration.js +1 -1
- package/lib/module/models/OpenVideoPlayerConfiguration.js.map +1 -1
- package/lib/module/models/Product.js +1 -1
- package/lib/module/models/Product.js.map +1 -1
- package/lib/module/models/ProductInfoViewConfiguration.js +1 -1
- package/lib/module/models/ProductInfoViewConfiguration.js.map +1 -1
- package/lib/module/models/ProductUnit.js +1 -1
- package/lib/module/models/ProductUnit.js.map +1 -1
- package/lib/module/models/PushRNContainerParams.js +1 -1
- package/lib/module/models/PushRNContainerParams.js.map +1 -1
- package/lib/module/models/ReplayBadgeConfiguration.js +1 -1
- package/lib/module/models/ReplayBadgeConfiguration.js.map +1 -1
- package/lib/module/models/SDKInitOptions.js +1 -1
- package/lib/module/models/SDKInitOptions.js.map +1 -1
- package/lib/module/models/ShoppingCTAResult.js +1 -1
- package/lib/module/models/ShoppingCTAResult.js.map +1 -1
- package/lib/module/models/StoryBlockConfiguration.js +2 -0
- package/lib/module/models/StoryBlockConfiguration.js.map +1 -1
- package/lib/module/models/StoryBlockNativeConfiguration.js +1 -1
- package/lib/module/models/StoryBlockNativeConfiguration.js.map +1 -1
- package/lib/module/models/StoryBlockSource.js +1 -1
- package/lib/module/models/StoryBlockSource.js.map +1 -1
- package/lib/module/models/TrackPurchaseParameters.js +1 -1
- package/lib/module/models/TrackPurchaseParameters.js.map +1 -1
- package/lib/module/models/VideoFeedConfiguration.js +1 -1
- package/lib/module/models/VideoFeedConfiguration.js.map +1 -1
- package/lib/module/models/VideoFeedSource.js +1 -1
- package/lib/module/models/VideoFeedSource.js.map +1 -1
- package/lib/module/models/VideoPlaybackDetails.js +1 -1
- package/lib/module/models/VideoPlaybackDetails.js.map +1 -1
- package/lib/module/models/VideoPlaybackEventName.js +40 -4
- package/lib/module/models/VideoPlaybackEventName.js.map +1 -1
- package/lib/module/models/VideoPlayerButtonConfiguration.js +1 -1
- package/lib/module/models/VideoPlayerButtonConfiguration.js.map +1 -1
- package/lib/module/models/VideoPlayerCTADelay.js +1 -1
- package/lib/module/models/VideoPlayerCTADelay.js.map +1 -1
- package/lib/module/models/VideoPlayerCTAStyle.js +2 -0
- package/lib/module/models/VideoPlayerCTAStyle.js.map +1 -1
- package/lib/module/models/VideoPlayerCTAWidth.js +1 -1
- package/lib/module/models/VideoPlayerCTAWidth.js.map +1 -1
- package/lib/module/models/VideoPlayerCompleteAction.js +1 -1
- package/lib/module/models/VideoPlayerCompleteAction.js.map +1 -1
- package/lib/module/models/VideoPlayerConfiguration.js +1 -1
- package/lib/module/models/VideoPlayerConfiguration.js.map +1 -1
- package/lib/module/models/VideoPlayerLivestreamCountdownTimerTheme.js +1 -1
- package/lib/module/models/VideoPlayerLivestreamCountdownTimerTheme.js.map +1 -1
- package/lib/module/models/VideoPlayerLogoConfiguration.js +1 -1
- package/lib/module/models/VideoPlayerLogoConfiguration.js.map +1 -1
- package/lib/module/models/VideoPlayerNativeConfiguration.js +1 -1
- package/lib/module/models/VideoPlayerNativeConfiguration.js.map +1 -1
- package/lib/module/models/VideoPlayerStyle.js +1 -1
- package/lib/module/models/VideoPlayerStyle.js.map +1 -1
- package/lib/module/modules/FWNavigatorModule.js +3 -2
- package/lib/module/modules/FWNavigatorModule.js.map +1 -1
- package/lib/module/modules/FireworkSDKModule.js +3 -2
- package/lib/module/modules/FireworkSDKModule.js.map +1 -1
- package/lib/module/modules/LiveStreamModule.js +3 -2
- package/lib/module/modules/LiveStreamModule.js.map +1 -1
- package/lib/module/modules/ShoppingModule.js +3 -2
- package/lib/module/modules/ShoppingModule.js.map +1 -1
- package/lib/module/package.json +1 -0
- package/lib/module/utils/FWGlobalState.js +3 -17
- package/lib/module/utils/FWGlobalState.js.map +1 -1
- package/lib/module/utils/FWJsonUtil.js +2 -6
- package/lib/module/utils/FWJsonUtil.js.map +1 -1
- package/lib/module/utils/FWLoggerUtil.js +2 -6
- package/lib/module/utils/FWLoggerUtil.js.map +1 -1
- package/lib/module/utils/VideoFeedUtil.js +16 -25
- package/lib/module/utils/VideoFeedUtil.js.map +1 -1
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/{FWNavigator.d.ts → commonjs/src/FWNavigator.d.ts} +3 -0
- package/lib/typescript/commonjs/src/FWNavigator.d.ts.map +1 -0
- package/lib/typescript/{FireworkSDK.d.ts → commonjs/src/FireworkSDK.d.ts} +1 -0
- package/lib/typescript/commonjs/src/FireworkSDK.d.ts.map +1 -0
- package/lib/typescript/{LiveStream.d.ts → commonjs/src/LiveStream.d.ts} +1 -0
- package/lib/typescript/commonjs/src/LiveStream.d.ts.map +1 -0
- package/lib/typescript/{VideoShopping.d.ts → commonjs/src/VideoShopping.d.ts} +1 -0
- package/lib/typescript/commonjs/src/VideoShopping.d.ts.map +1 -0
- package/lib/typescript/{components → commonjs/src/components}/FWStoryBlock.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/FWStoryBlock.d.ts.map +1 -0
- package/lib/typescript/{components → commonjs/src/components}/FWVideoFeed.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/FWVideoFeed.d.ts.map +1 -0
- package/lib/typescript/{components → commonjs/src/components}/StoryBlock.d.ts +3 -3
- package/lib/typescript/commonjs/src/components/StoryBlock.d.ts.map +1 -0
- package/lib/typescript/{components → commonjs/src/components}/VideoFeed.d.ts +3 -2
- package/lib/typescript/commonjs/src/components/VideoFeed.d.ts.map +1 -0
- package/lib/typescript/{constants → commonjs/src/constants}/FWErrorMessage.d.ts +1 -0
- package/lib/typescript/commonjs/src/constants/FWErrorMessage.d.ts.map +1 -0
- package/lib/typescript/{index.d.ts → commonjs/src/index.d.ts} +3 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/AdBadgeConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/AdBadgeConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/AdConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/AdConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/AndroidFontInfo.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/AndroidFontInfo.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/ButtonInfo.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/ButtonInfo.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/CountdownTimerConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/CountdownTimerConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/DataTrackingLevel.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/DataTrackingLevel.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/FWComponentType.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/FWComponentType.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/FWError.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/FWError.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/FWEventName.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/FWEventName.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/FWEvents.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/FWEvents.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/FWNativeErrorAction.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/FWNativeErrorAction.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/FeedItemDetails.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/FeedItemDetails.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/GradientDrawable.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/GradientDrawable.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/IOSFontInfo.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/IOSFontInfo.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/LiveStreamChatEventName.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/LiveStreamChatEventName.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/LiveStreamEventDetails.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/LiveStreamEventDetails.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/LiveStreamEventName.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/LiveStreamEventName.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/LiveStreamMessageDetails.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/LiveStreamMessageDetails.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/LivestreamPlayerDesignVersion.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/LivestreamPlayerDesignVersion.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/MarkInitCalledOptions.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/MarkInitCalledOptions.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/OpenVideoPlayerConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/OpenVideoPlayerConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/Product.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/Product.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/ProductInfoViewConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/ProductInfoViewConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/ProductUnit.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/ProductUnit.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/PushRNContainerParams.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/PushRNContainerParams.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/ReplayBadgeConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/ReplayBadgeConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/SDKInitOptions.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/SDKInitOptions.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/ShoppingCTAResult.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/ShoppingCTAResult.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/StoryBlockConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/StoryBlockConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/StoryBlockNativeConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/StoryBlockNativeConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/StoryBlockSource.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/StoryBlockSource.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/TrackPurchaseParameters.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/TrackPurchaseParameters.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoFeedConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoFeedConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoFeedSource.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoFeedSource.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlaybackDetails.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlaybackDetails.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlaybackEventName.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlaybackEventName.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlayerButtonConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlayerButtonConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlayerCTADelay.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlayerCTADelay.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlayerCTAStyle.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlayerCTAStyle.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlayerCTAWidth.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlayerCTAWidth.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlayerCompleteAction.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlayerCompleteAction.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlayerConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlayerConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlayerLivestreamCountdownTimerTheme.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlayerLivestreamCountdownTimerTheme.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlayerLogoConfiguration.d.ts +2 -1
- package/lib/typescript/commonjs/src/models/VideoPlayerLogoConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlayerNativeConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlayerNativeConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlayerStyle.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlayerStyle.d.ts.map +1 -0
- package/lib/typescript/{modules → commonjs/src/modules}/FWNavigatorModule.d.ts +2 -1
- package/lib/typescript/commonjs/src/modules/FWNavigatorModule.d.ts.map +1 -0
- package/lib/typescript/{modules → commonjs/src/modules}/FireworkSDKModule.d.ts +4 -3
- package/lib/typescript/commonjs/src/modules/FireworkSDKModule.d.ts.map +1 -0
- package/lib/typescript/{modules → commonjs/src/modules}/LiveStreamModule.d.ts +2 -1
- package/lib/typescript/commonjs/src/modules/LiveStreamModule.d.ts.map +1 -0
- package/lib/typescript/{modules → commonjs/src/modules}/ShoppingModule.d.ts +2 -1
- package/lib/typescript/commonjs/src/modules/ShoppingModule.d.ts.map +1 -0
- package/lib/typescript/{utils → commonjs/src/utils}/FWGlobalState.d.ts +2 -1
- package/lib/typescript/commonjs/src/utils/FWGlobalState.d.ts.map +1 -0
- package/lib/typescript/{utils → commonjs/src/utils}/FWJsonUtil.d.ts +1 -0
- package/lib/typescript/commonjs/src/utils/FWJsonUtil.d.ts.map +1 -0
- package/lib/typescript/{utils → commonjs/src/utils}/FWLoggerUtil.d.ts +1 -0
- package/lib/typescript/commonjs/src/utils/FWLoggerUtil.d.ts.map +1 -0
- package/lib/typescript/{utils → commonjs/src/utils}/VideoFeedUtil.d.ts +1 -0
- package/lib/typescript/commonjs/src/utils/VideoFeedUtil.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/src/FWNavigator.d.ts +59 -0
- package/lib/typescript/module/src/FWNavigator.d.ts.map +1 -0
- package/lib/typescript/module/src/FireworkSDK.d.ts +143 -0
- package/lib/typescript/module/src/FireworkSDK.d.ts.map +1 -0
- package/lib/typescript/module/src/LiveStream.d.ts +22 -0
- package/lib/typescript/module/src/LiveStream.d.ts.map +1 -0
- package/lib/typescript/module/src/VideoShopping.d.ts +94 -0
- package/lib/typescript/module/src/VideoShopping.d.ts.map +1 -0
- package/lib/typescript/module/src/components/FWStoryBlock.d.ts +3 -0
- package/lib/typescript/module/src/components/FWStoryBlock.d.ts.map +1 -0
- package/lib/typescript/module/src/components/FWVideoFeed.d.ts +3 -0
- package/lib/typescript/module/src/components/FWVideoFeed.d.ts.map +1 -0
- package/lib/typescript/module/src/components/StoryBlock.d.ts +116 -0
- package/lib/typescript/module/src/components/StoryBlock.d.ts.map +1 -0
- package/lib/typescript/module/src/components/VideoFeed.d.ts +145 -0
- package/lib/typescript/module/src/components/VideoFeed.d.ts.map +1 -0
- package/lib/typescript/module/src/constants/FWErrorMessage.d.ts +3 -0
- package/lib/typescript/module/src/constants/FWErrorMessage.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +68 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/lib/typescript/module/src/models/AdBadgeConfiguration.d.ts +26 -0
- package/lib/typescript/module/src/models/AdBadgeConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/AdConfiguration.d.ts +23 -0
- package/lib/typescript/module/src/models/AdConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/AndroidFontInfo.d.ts +15 -0
- package/lib/typescript/module/src/models/AndroidFontInfo.d.ts.map +1 -0
- package/lib/typescript/module/src/models/ButtonInfo.d.ts +18 -0
- package/lib/typescript/module/src/models/ButtonInfo.d.ts.map +1 -0
- package/lib/typescript/module/src/models/CountdownTimerConfiguration.d.ts +13 -0
- package/lib/typescript/module/src/models/CountdownTimerConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/DataTrackingLevel.d.ts +2 -0
- package/lib/typescript/module/src/models/DataTrackingLevel.d.ts.map +1 -0
- package/lib/typescript/module/src/models/FWComponentType.d.ts +5 -0
- package/lib/typescript/module/src/models/FWComponentType.d.ts.map +1 -0
- package/lib/typescript/module/src/models/FWError.d.ts +11 -0
- package/lib/typescript/module/src/models/FWError.d.ts.map +1 -0
- package/lib/typescript/module/src/models/FWEventName.d.ts +25 -0
- package/lib/typescript/module/src/models/FWEventName.d.ts.map +1 -0
- package/lib/typescript/module/src/models/FWEvents.d.ts +168 -0
- package/lib/typescript/module/src/models/FWEvents.d.ts.map +1 -0
- package/lib/typescript/module/src/models/FWNativeErrorAction.d.ts +5 -0
- package/lib/typescript/module/src/models/FWNativeErrorAction.d.ts.map +1 -0
- package/lib/typescript/module/src/models/FeedItemDetails.d.ts +59 -0
- package/lib/typescript/module/src/models/FeedItemDetails.d.ts.map +1 -0
- package/lib/typescript/module/src/models/GradientDrawable.d.ts +6 -0
- package/lib/typescript/module/src/models/GradientDrawable.d.ts.map +1 -0
- package/lib/typescript/module/src/models/IOSFontInfo.d.ts +22 -0
- package/lib/typescript/module/src/models/IOSFontInfo.d.ts.map +1 -0
- package/lib/typescript/module/src/models/LiveStreamChatEventName.d.ts +8 -0
- package/lib/typescript/module/src/models/LiveStreamChatEventName.d.ts.map +1 -0
- package/lib/typescript/module/src/models/LiveStreamEventDetails.d.ts +5 -0
- package/lib/typescript/module/src/models/LiveStreamEventDetails.d.ts.map +1 -0
- package/lib/typescript/module/src/models/LiveStreamEventName.d.ts +16 -0
- package/lib/typescript/module/src/models/LiveStreamEventName.d.ts.map +1 -0
- package/lib/typescript/module/src/models/LiveStreamMessageDetails.d.ts +15 -0
- package/lib/typescript/module/src/models/LiveStreamMessageDetails.d.ts.map +1 -0
- package/lib/typescript/module/src/models/LivestreamPlayerDesignVersion.d.ts +6 -0
- package/lib/typescript/module/src/models/LivestreamPlayerDesignVersion.d.ts.map +1 -0
- package/lib/typescript/module/src/models/MarkInitCalledOptions.d.ts +7 -0
- package/lib/typescript/module/src/models/MarkInitCalledOptions.d.ts.map +1 -0
- package/lib/typescript/module/src/models/OpenVideoPlayerConfiguration.d.ts +8 -0
- package/lib/typescript/module/src/models/OpenVideoPlayerConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/Product.d.ts +24 -0
- package/lib/typescript/module/src/models/Product.d.ts.map +1 -0
- package/lib/typescript/module/src/models/ProductInfoViewConfiguration.d.ts +175 -0
- package/lib/typescript/module/src/models/ProductInfoViewConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/ProductUnit.d.ts +39 -0
- package/lib/typescript/module/src/models/ProductUnit.d.ts.map +1 -0
- package/lib/typescript/module/src/models/PushRNContainerParams.d.ts +9 -0
- package/lib/typescript/module/src/models/PushRNContainerParams.d.ts.map +1 -0
- package/lib/typescript/module/src/models/ReplayBadgeConfiguration.d.ts +8 -0
- package/lib/typescript/module/src/models/ReplayBadgeConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/SDKInitOptions.d.ts +12 -0
- package/lib/typescript/module/src/models/SDKInitOptions.d.ts.map +1 -0
- package/lib/typescript/module/src/models/ShoppingCTAResult.d.ts +12 -0
- package/lib/typescript/module/src/models/ShoppingCTAResult.d.ts.map +1 -0
- package/lib/typescript/module/src/models/StoryBlockConfiguration.d.ts +82 -0
- package/lib/typescript/module/src/models/StoryBlockConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/StoryBlockNativeConfiguration.d.ts +8 -0
- package/lib/typescript/module/src/models/StoryBlockNativeConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/StoryBlockSource.d.ts +2 -0
- package/lib/typescript/module/src/models/StoryBlockSource.d.ts.map +1 -0
- package/lib/typescript/module/src/models/TrackPurchaseParameters.d.ts +27 -0
- package/lib/typescript/module/src/models/TrackPurchaseParameters.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoFeedConfiguration.d.ts +162 -0
- package/lib/typescript/module/src/models/VideoFeedConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoFeedSource.d.ts +2 -0
- package/lib/typescript/module/src/models/VideoFeedSource.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlaybackDetails.d.ts +48 -0
- package/lib/typescript/module/src/models/VideoPlaybackDetails.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlaybackEventName.d.ts +52 -0
- package/lib/typescript/module/src/models/VideoPlaybackEventName.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlayerButtonConfiguration.d.ts +34 -0
- package/lib/typescript/module/src/models/VideoPlayerButtonConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlayerCTADelay.d.ts +12 -0
- package/lib/typescript/module/src/models/VideoPlayerCTADelay.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlayerCTAStyle.d.ts +28 -0
- package/lib/typescript/module/src/models/VideoPlayerCTAStyle.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlayerCTAWidth.d.ts +2 -0
- package/lib/typescript/module/src/models/VideoPlayerCTAWidth.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlayerCompleteAction.d.ts +2 -0
- package/lib/typescript/module/src/models/VideoPlayerCompleteAction.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlayerConfiguration.d.ts +87 -0
- package/lib/typescript/module/src/models/VideoPlayerConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlayerLivestreamCountdownTimerTheme.d.ts +2 -0
- package/lib/typescript/module/src/models/VideoPlayerLivestreamCountdownTimerTheme.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlayerLogoConfiguration.d.ts +22 -0
- package/lib/typescript/module/src/models/VideoPlayerLogoConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlayerNativeConfiguration.d.ts +8 -0
- package/lib/typescript/module/src/models/VideoPlayerNativeConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlayerStyle.d.ts +2 -0
- package/lib/typescript/module/src/models/VideoPlayerStyle.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/FWNavigatorModule.d.ts +17 -0
- package/lib/typescript/module/src/modules/FWNavigatorModule.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/FireworkSDKModule.d.ts +28 -0
- package/lib/typescript/module/src/modules/FireworkSDKModule.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/LiveStreamModule.d.ts +9 -0
- package/lib/typescript/module/src/modules/LiveStreamModule.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/ShoppingModule.d.ts +22 -0
- package/lib/typescript/module/src/modules/ShoppingModule.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/FWGlobalState.d.ts +13 -0
- package/lib/typescript/module/src/utils/FWGlobalState.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/FWJsonUtil.d.ts +3 -0
- package/lib/typescript/module/src/utils/FWJsonUtil.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/FWLoggerUtil.d.ts +7 -0
- package/lib/typescript/module/src/utils/FWLoggerUtil.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/VideoFeedUtil.d.ts +11 -0
- package/lib/typescript/module/src/utils/VideoFeedUtil.d.ts.map +1 -0
- package/package.json +71 -55
- package/react_native_firework_sdk.podspec +35 -0
- package/src/FWNavigator.ts +2 -0
- package/src/components/StoryBlock.tsx +45 -48
- package/src/components/VideoFeed.tsx +7 -6
- package/src/{index.ts → index.tsx} +14 -12
- package/src/models/VideoPlayerLogoConfiguration.ts +7 -7
- package/src/modules/FWNavigatorModule.ts +5 -1
- package/src/modules/FireworkSDKModule.ts +7 -3
- package/src/modules/LiveStreamModule.ts +5 -1
- package/src/modules/ShoppingModule.ts +5 -1
- package/src/utils/FWGlobalState.ts +1 -1
- package/android/.idea/codeStyles/Project.xml +0 -124
- package/android/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/android/gradlew +0 -185
- package/android/gradlew.bat +0 -89
- package/ios/FireworkSdk.xcodeproj/project.pbxproj +0 -603
- package/ios/Modules/FWNavigatorModule/RNSScreenStackView+Window.h +0 -20
- package/ios/Modules/FWNavigatorModule/RNSScreenStackView+Window.m +0 -84
- package/ios/Support/MultiHostStreaming/FWMultiHostStreaming.podspec +0 -22
- package/ios/Support/MultiHostStreaming/Sources/MultiHostStreamingSDK.swift +0 -17
- package/react-native-firework-sdk.podspec +0 -38
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import type { ClickProductEvent, CustomClickCartIconEvent, CustomClickLinkButtonEvent, CustomTapProductCardEvent, ShoppingCTAEvent, UpdateProductDetailsEvent } from './models/FWEvents';
|
|
2
|
+
import type Product from './models/Product';
|
|
3
|
+
import type ProductInfoViewConfiguration from './models/ProductInfoViewConfiguration';
|
|
4
|
+
import type ShoppingCTAResult from './models/ShoppingCTAResult';
|
|
5
|
+
export type ShoppingCTACallback = (event: ShoppingCTAEvent) => Promise<ShoppingCTAResult> | ShoppingCTAResult;
|
|
6
|
+
export type CustomClickCartIconCallback = (event: CustomClickCartIconEvent) => Promise<void> | void;
|
|
7
|
+
export type UpdateProductDetailsCallbackResult = Product[] | undefined | null;
|
|
8
|
+
export type UpdateProductDetailsCallback = (event: UpdateProductDetailsEvent) => Promise<UpdateProductDetailsCallbackResult> | UpdateProductDetailsCallbackResult;
|
|
9
|
+
export type CustomClickLinkButtonCallback = (event: CustomClickLinkButtonEvent) => Promise<void> | void;
|
|
10
|
+
export type CustomTapProductCardCallback = (event: CustomTapProductCardEvent) => Promise<void> | void;
|
|
11
|
+
export type ClickProductCallback = (event: ClickProductEvent) => Promise<void> | void;
|
|
12
|
+
/**
|
|
13
|
+
* The entry class of video shopping.
|
|
14
|
+
*/
|
|
15
|
+
declare class VideoShopping {
|
|
16
|
+
private static _instance?;
|
|
17
|
+
/**
|
|
18
|
+
* This callback is triggered when the user clicks the "Add to cart" or "Shop now" button.
|
|
19
|
+
* The host app can return a ShoppingCTAResult object to tell SDK how to handle the result.
|
|
20
|
+
*/
|
|
21
|
+
onShoppingCTA?: ShoppingCTACallback;
|
|
22
|
+
/**
|
|
23
|
+
* This callback is triggered when the user clicks the shopping cart icon.
|
|
24
|
+
*
|
|
25
|
+
* The host app can customize the click event processing logic of
|
|
26
|
+
* the shopping cart icon by setting the callback.
|
|
27
|
+
*/
|
|
28
|
+
onCustomClickCartIcon?: CustomClickCartIconCallback | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* This callback is triggered when the video will be shown.
|
|
31
|
+
*
|
|
32
|
+
* The host app can return a Product list to update the latest product information.
|
|
33
|
+
*/
|
|
34
|
+
onUpdateProductDetails?: UpdateProductDetailsCallback;
|
|
35
|
+
/**
|
|
36
|
+
* This callback is triggered when the user clicks
|
|
37
|
+
* the link button next to Add to cart button.
|
|
38
|
+
*
|
|
39
|
+
* The host app can customize the click event processing logic of
|
|
40
|
+
* the link button by setting the callback.
|
|
41
|
+
*/
|
|
42
|
+
get onCustomClickLinkButton(): CustomClickLinkButtonCallback | undefined;
|
|
43
|
+
set onCustomClickLinkButton(value: CustomClickLinkButtonCallback | undefined);
|
|
44
|
+
private _onCustomClickLinkButton?;
|
|
45
|
+
/**
|
|
46
|
+
* This callback is triggered when the user clicks product card.
|
|
47
|
+
*
|
|
48
|
+
* The host app can customize the tap event processing logic of
|
|
49
|
+
* the product card by setting the callback.
|
|
50
|
+
*/
|
|
51
|
+
get onCustomTapProductCard(): CustomTapProductCardCallback | undefined;
|
|
52
|
+
set onCustomTapProductCard(value: CustomTapProductCardCallback | undefined);
|
|
53
|
+
private _onCustomTapProductCard?;
|
|
54
|
+
/**
|
|
55
|
+
* This callback is triggered when the user clicks product card.
|
|
56
|
+
* Only supported on iOS
|
|
57
|
+
*/
|
|
58
|
+
onClickProduct?: ClickProductCallback;
|
|
59
|
+
/**
|
|
60
|
+
* Defaults to true.
|
|
61
|
+
* You can hide the cart icon by setting this property to false.
|
|
62
|
+
*/
|
|
63
|
+
get cartIconVisible(): boolean;
|
|
64
|
+
set cartIconVisible(value: boolean);
|
|
65
|
+
private _cartIconVisible;
|
|
66
|
+
/**
|
|
67
|
+
* The configuration of product info view.
|
|
68
|
+
* Please refer to {@link ProductInfoViewConfiguration} for more details.
|
|
69
|
+
*/
|
|
70
|
+
get productInfoViewConfiguration(): ProductInfoViewConfiguration | undefined;
|
|
71
|
+
set productInfoViewConfiguration(value: ProductInfoViewConfiguration | undefined);
|
|
72
|
+
private updateNativeProductInfoViewConfiguration;
|
|
73
|
+
private _productInfoViewConfiguration?;
|
|
74
|
+
private get eventEmitter();
|
|
75
|
+
static getInstance(): VideoShopping;
|
|
76
|
+
private constructor();
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @param {number} count The number of items in the host app cart.
|
|
80
|
+
* The count should be greater than or equal to 0.
|
|
81
|
+
* We just use count to show or hide red indicator on the cart icon.
|
|
82
|
+
* If cound > 0, we will show the red indicator on the cart icon.
|
|
83
|
+
* Otherwise, we will hide the red indicator on the cart icon.
|
|
84
|
+
*/
|
|
85
|
+
setCartItemCount(count: number): Promise<void>;
|
|
86
|
+
private handleShoppingCTAEvent;
|
|
87
|
+
private handleClickCartIconEvent;
|
|
88
|
+
private handleUpdateProductDetailsEvent;
|
|
89
|
+
private handleCustomLinkButtonClickEvent;
|
|
90
|
+
private handleCustomProductCardTapEvent;
|
|
91
|
+
private handleProductClickEvent;
|
|
92
|
+
}
|
|
93
|
+
export default VideoShopping;
|
|
94
|
+
//# sourceMappingURL=VideoShopping.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoShopping.d.ts","sourceRoot":"","sources":["../../../../src/VideoShopping.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,iBAAiB,EACjB,wBAAwB,EACxB,0BAA0B,EAC1B,yBAAyB,EACzB,gBAAgB,EAChB,yBAAyB,EAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,OAAO,MAAM,kBAA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G,SAAS,EAIjD;IACD,OAAO,CAAC,wBAAwB,CAAC,CAA4C;IAE7E;;;;;OAKG;IACH,IAAW,sBAAsB,IAC7B,4BAA4B,GAC5B,SAAS,CAEZ;IACD,IAAW,sBAAsB,CAC/B,KAAK,EAAE,4BAA4B,GAAG,SAAS,EAIhD;IACD,OAAO,CAAC,uBAAuB,CAAC,CAA2C;IAE3E;;;OAGG;IACI,cAAc,CAAC,EAAE,oBAAoB,CAAC;IAE7C;;;OAGG;IACH,IAAW,eAAe,IAAI,OAAO,CAEpC;IACD,IAAW,eAAe,CAAC,KAAK,EAAE,OAAO,EASxC;IACD,OAAO,CAAC,gBAAgB,CAAiB;IAEzC;;;OAGG;IACH,IAAW,4BAA4B,IACnC,4BAA4B,GAC5B,SAAS,CAEZ;IAED,IAAW,4BAA4B,CACrC,KAAK,EAAE,4BAA4B,GAAG,SAAS,EAWhD;IAED,OAAO,CAAC,wCAAwC;IAYhD,OAAO,CAAC,6BAA6B,CAAC,CAExB;IAEd,OAAO,KAAK,YAAY,GAEvB;WAEa,WAAW;IASzB,OAAO;IA4DP;;;;;;;OAOG;IACU,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;YAO7C,sBAAsB;YAqBtB,wBAAwB;YAMxB,+BAA+B;YAgD/B,gCAAgC;YAQhC,+BAA+B;YAQ/B,uBAAuB;CAKtC;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FWStoryBlock.d.ts","sourceRoot":"","sources":["../../../../../src/components/FWStoryBlock.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,YAAY,2DAKX,CAAC;AACR,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FWVideoFeed.d.ts","sourceRoot":"","sources":["../../../../../src/components/FWVideoFeed.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,WAAW,2DAKV,CAAC;AACR,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
import type AdConfiguration from '../models/AdConfiguration';
|
|
3
|
+
import type FWError from '../models/FWError';
|
|
4
|
+
import type { StoryBlockConfiguration } from '../models/StoryBlockConfiguration';
|
|
5
|
+
import type { StoryBlockSource } from '../models/StoryBlockSource';
|
|
6
|
+
export interface IStoryBlockMethods {
|
|
7
|
+
/**
|
|
8
|
+
* Play the story block.
|
|
9
|
+
*/
|
|
10
|
+
play: () => void;
|
|
11
|
+
/**
|
|
12
|
+
* Pause the story block.
|
|
13
|
+
*/
|
|
14
|
+
pause: () => void;
|
|
15
|
+
/**
|
|
16
|
+
* Open the fullscreen story block.
|
|
17
|
+
* Only supported on Android.
|
|
18
|
+
*/
|
|
19
|
+
openFullscreen: () => void;
|
|
20
|
+
/**
|
|
21
|
+
* Triggered when the story block enters the viewport.
|
|
22
|
+
* Only supported on iOS.
|
|
23
|
+
* It is recommended that the host app is triggered when listening for scrolling.
|
|
24
|
+
*/
|
|
25
|
+
onViewportEntered: () => void;
|
|
26
|
+
/**
|
|
27
|
+
* Triggered when the story block leaves the viewport.
|
|
28
|
+
* Only supported on iOS.
|
|
29
|
+
* It is recommended that the host app is triggered when listening for scrolling.
|
|
30
|
+
*/
|
|
31
|
+
onViewportLeft: () => void;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The props type of StoryBlock component.
|
|
35
|
+
*/
|
|
36
|
+
export interface IStoryBlockProps {
|
|
37
|
+
/**
|
|
38
|
+
* Standard React Native View Style.
|
|
39
|
+
*/
|
|
40
|
+
style?: StyleProp<ViewStyle>;
|
|
41
|
+
/**
|
|
42
|
+
* One of four available story block sources.
|
|
43
|
+
*/
|
|
44
|
+
source: StoryBlockSource;
|
|
45
|
+
/**
|
|
46
|
+
* Channel id of the story block. Required when the source is set as channel or playlist or dynamicContent.
|
|
47
|
+
*/
|
|
48
|
+
channel?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Playlist id of the story block. Please note channel id is necessary. Required when the source is set as playlist.
|
|
51
|
+
*/
|
|
52
|
+
playlist?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The dynamic content parameters of the story block. Required when the source is set as dynamicContent.
|
|
55
|
+
*/
|
|
56
|
+
dynamicContentParameters?: {
|
|
57
|
+
[key: string]: string[];
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Hashtag filter expression is an s-expression used to provide feeds filtered by hashtags with specified criteria.
|
|
61
|
+
* Queries are specified with boolean predicates on what hashtags are there on the video.
|
|
62
|
+
* For instance, (and sport food) (or sport food) (and sport (or food comedy)) sport are all valid expressions.
|
|
63
|
+
* Non-UTF-8 characters are not allowed. If using boolean predicates, the expression needs to be wrapped with parenthesis.
|
|
64
|
+
*/
|
|
65
|
+
hashtagFilterExpression?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Product ids used to generate the sku feed
|
|
68
|
+
*/
|
|
69
|
+
productIds?: string[];
|
|
70
|
+
/**
|
|
71
|
+
* The video or live stream id.
|
|
72
|
+
*/
|
|
73
|
+
contentId?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Specifies if Picture in Picture is enabled. Only supported on iOS.
|
|
76
|
+
*/
|
|
77
|
+
enablePictureInPicture?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* The corner radius of story block.
|
|
80
|
+
*/
|
|
81
|
+
cornerRadius?: number;
|
|
82
|
+
/**
|
|
83
|
+
* Ad configuration of the feed.
|
|
84
|
+
*/
|
|
85
|
+
adConfiguration?: AdConfiguration;
|
|
86
|
+
storyBlockConfiguration?: StoryBlockConfiguration;
|
|
87
|
+
/**
|
|
88
|
+
* The feed loading result callback. It means loading successfully when error equals to undefined.
|
|
89
|
+
*/
|
|
90
|
+
onStoryBlockLoadFinished?: (error?: FWError) => void;
|
|
91
|
+
/**
|
|
92
|
+
* The callback is triggered when there are no items in the story block.
|
|
93
|
+
* The callback is triggered in the following cases:
|
|
94
|
+
* 1. Loading successfully but the back end returns an empty list.
|
|
95
|
+
* 2. The load failed and list is empty.
|
|
96
|
+
* onStoryBlockLoadFinished will also be triggered when onStoryBlockEmpty is triggered.
|
|
97
|
+
*/
|
|
98
|
+
onStoryBlockEmpty?: (error?: FWError) => void;
|
|
99
|
+
/**
|
|
100
|
+
* Start Picture in Picture callback. Only supported on iOS.
|
|
101
|
+
*/
|
|
102
|
+
onStoryBlockDidStartPictureInPicture?: (error?: FWError) => void;
|
|
103
|
+
/**
|
|
104
|
+
* Stop Picture in Picture callback. Only supported on iOS.
|
|
105
|
+
*/
|
|
106
|
+
onStoryBlockDidStopPictureInPicture?: (error?: FWError) => void;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* The host app could use this callback to get feed id.
|
|
110
|
+
* The feed id can be used for conversion tracking.
|
|
111
|
+
*/
|
|
112
|
+
onStoryBlockGetFeedId?: (feedId: string) => void;
|
|
113
|
+
}
|
|
114
|
+
declare const _default: import("react").ForwardRefExoticComponent<IStoryBlockProps & import("react").RefAttributes<IStoryBlockMethods>>;
|
|
115
|
+
export default _default;
|
|
116
|
+
//# sourceMappingURL=StoryBlock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoryBlock.d.ts","sourceRoot":"","sources":["../../../../../src/components/StoryBlock.tsx"],"names":[],"mappings":"AAUA,OAAO,EAIL,KAAK,SAAS,EAEd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAGtB,OAAO,KAAK,eAAe,MAAM,2BAA2B,CAAC;AAC7D,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAE7C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAEjF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAWnE,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,IAAI,CAAC;IACj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,OAAO,KAAK,IAAI,CAAC;IAChE;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CAClD;;AA8eD,wBAAsC"}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
import type AdConfiguration from '../models/AdConfiguration';
|
|
4
|
+
import type FWError from '../models/FWError';
|
|
5
|
+
import type VideoFeedConfiguration from '../models/VideoFeedConfiguration';
|
|
6
|
+
import type { VideoFeedSource } from '../models/VideoFeedSource';
|
|
7
|
+
import type VideoPlayerConfiguration from '../models/VideoPlayerConfiguration';
|
|
8
|
+
export type VideoFeedMode = 'row' | 'column' | 'grid';
|
|
9
|
+
/**
|
|
10
|
+
* The props of VideoFeed component.
|
|
11
|
+
*/
|
|
12
|
+
export interface IVideoFeedProps {
|
|
13
|
+
/**
|
|
14
|
+
* Standard React Native View Style.
|
|
15
|
+
*/
|
|
16
|
+
style?: StyleProp<ViewStyle>;
|
|
17
|
+
/**
|
|
18
|
+
* One of five available video feed sources.The playlistGroup is only supported on iOS.
|
|
19
|
+
* Defaults to discover.
|
|
20
|
+
*/
|
|
21
|
+
source: VideoFeedSource;
|
|
22
|
+
/**
|
|
23
|
+
* Channel id of the feed. Required when the source is set as channel or playlist or dynamicContent.
|
|
24
|
+
*/
|
|
25
|
+
channel?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Playlist id of the feed. Please note channel id is necessary. Required when the source is set as playlist.
|
|
28
|
+
*/
|
|
29
|
+
playlist?: string;
|
|
30
|
+
/**
|
|
31
|
+
* PlaylistGroup id of the feed. Required when the source is set as playlistGroup. Only supported on iOS.
|
|
32
|
+
*/
|
|
33
|
+
playlistGroup?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The dynamic content parameters of the feed. Required when the source is set as dynamicContent.
|
|
36
|
+
*/
|
|
37
|
+
dynamicContentParameters?: {
|
|
38
|
+
[key: string]: string[];
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Hashtag filter expression is an s-expression used to provide feeds filtered by hashtags with specified criteria.
|
|
42
|
+
* Queries are specified with boolean predicates on what hashtags are there on the video.
|
|
43
|
+
* For instance, (and sport food) (or sport food) (and sport (or food comedy)) sport are all valid expressions.
|
|
44
|
+
* Non-UTF-8 characters are not allowed. If using boolean predicates, the expression needs to be wrapped with parenthesis.
|
|
45
|
+
* Required when the source is set as hashtagPlaylist.
|
|
46
|
+
*/
|
|
47
|
+
hashtagFilterExpression?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Product ids used to generate the sku feed
|
|
50
|
+
*/
|
|
51
|
+
productIds?: string[];
|
|
52
|
+
/**
|
|
53
|
+
* The video or live stream id. Only supported on iOS.
|
|
54
|
+
*/
|
|
55
|
+
contentId?: string;
|
|
56
|
+
/**
|
|
57
|
+
* One of three available display modes. Defaults to row.
|
|
58
|
+
*/
|
|
59
|
+
mode?: VideoFeedMode;
|
|
60
|
+
/**
|
|
61
|
+
* Specifies if Picture in Picture is enabled.
|
|
62
|
+
*/
|
|
63
|
+
enablePictureInPicture?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Configuration of the feed.
|
|
66
|
+
*/
|
|
67
|
+
videoFeedConfiguration?: VideoFeedConfiguration;
|
|
68
|
+
/**
|
|
69
|
+
* Configuration of the player.
|
|
70
|
+
*/
|
|
71
|
+
videoPlayerConfiguration?: VideoPlayerConfiguration;
|
|
72
|
+
/**
|
|
73
|
+
* Ad configuration of the feed.
|
|
74
|
+
*/
|
|
75
|
+
adConfiguration?: AdConfiguration;
|
|
76
|
+
/**
|
|
77
|
+
* The feed loading result callback. It means loading successfully when error equals to undefined.
|
|
78
|
+
*/
|
|
79
|
+
onVideoFeedLoadFinished?: (error?: FWError) => void;
|
|
80
|
+
/**
|
|
81
|
+
* The callback is triggered when there are no items in the story block.
|
|
82
|
+
* The callback is triggered in the following cases:
|
|
83
|
+
* 1. Loading successfully but the back end returns an empty list.
|
|
84
|
+
* 2. The load failed and list is empty.
|
|
85
|
+
* onVideoFeedLoadFinished will also be triggered when onVideoFeedEmpty is triggered.
|
|
86
|
+
*/
|
|
87
|
+
onVideoFeedEmpty?: (error?: FWError) => void;
|
|
88
|
+
/**
|
|
89
|
+
* Start Picture in Picture callback. Only supported on iOS.
|
|
90
|
+
*/
|
|
91
|
+
onVideoFeedDidStartPictureInPicture?: (error?: FWError) => void;
|
|
92
|
+
/**
|
|
93
|
+
* Stop Picture in Picture callback. Only supported on iOS.
|
|
94
|
+
*/
|
|
95
|
+
onVideoFeedDidStopPictureInPicture?: (error?: FWError) => void;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* The host app could use this callback to get feed id.
|
|
99
|
+
* The feed id can be used for conversion tracking.
|
|
100
|
+
*/
|
|
101
|
+
onVideoFeedGetFeedId?: (feedId: string) => void;
|
|
102
|
+
}
|
|
103
|
+
interface IVideoFeedState {
|
|
104
|
+
sdkInitCalled: boolean;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* VideoFeed component.
|
|
108
|
+
*/
|
|
109
|
+
declare class VideoFeed extends React.Component<IVideoFeedProps, IVideoFeedState> {
|
|
110
|
+
/**
|
|
111
|
+
* @ignore
|
|
112
|
+
*/
|
|
113
|
+
static defaultProps: {
|
|
114
|
+
mode: string;
|
|
115
|
+
};
|
|
116
|
+
private _nativeComponentRef;
|
|
117
|
+
private _subscriptions;
|
|
118
|
+
private _loaded;
|
|
119
|
+
constructor(props: IVideoFeedProps);
|
|
120
|
+
refresh: () => void;
|
|
121
|
+
private _onVideoFeedLoadFinished;
|
|
122
|
+
private _onVideoFeedEmpty;
|
|
123
|
+
private _onVideoFeedDidStartPictureInPicture;
|
|
124
|
+
private _onVideoFeedDidStopPictureInPicture;
|
|
125
|
+
private _onVideoFeedGetFeedId;
|
|
126
|
+
/**
|
|
127
|
+
* @ignore
|
|
128
|
+
*/
|
|
129
|
+
componentDidMount(): void;
|
|
130
|
+
/**
|
|
131
|
+
* @ignore
|
|
132
|
+
*/
|
|
133
|
+
componentWillUnmount(): void;
|
|
134
|
+
/**
|
|
135
|
+
* @ignore
|
|
136
|
+
*/
|
|
137
|
+
render(): import("react/jsx-runtime").JSX.Element | null;
|
|
138
|
+
private _generateDynamicContentParametersString;
|
|
139
|
+
private _generateVastAttributesString;
|
|
140
|
+
private _generateButtonInfoString;
|
|
141
|
+
private _getVideoFeedConfiguration;
|
|
142
|
+
private _getVideoPlayerConfiguration;
|
|
143
|
+
}
|
|
144
|
+
export default VideoFeed;
|
|
145
|
+
//# sourceMappingURL=VideoFeed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoFeed.d.ts","sourceRoot":"","sources":["../../../../../src/components/VideoFeed.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAKL,KAAK,SAAS,EAEd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAGtB,OAAO,KAAK,eAAe,MAAM,2BAA2B,CAAC;AAE7D,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAG7C,OAAO,KAAK,sBAAsB,MAAM,kCAAkC,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,wBAAwB,MAAM,oCAAoC,CAAC;AAS/E,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B;;;OAGG;IACH,MAAM,EAAE,eAAe,CAAC;IACxB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,aAAa,CAAC,EAAE,MA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,OAAO,CAAkB;gBAErB,KAAK,EAAE,eAAe;IAO3B,OAAO,aAmBZ;IAEF,OAAO,CAAC,wBAAwB,CAuC9B;IAEF,OAAO,CAAC,iBAAiB,CASvB;IAEF,OAAO,CAAC,oCAAoC,CAuB1C;IAEF,OAAO,CAAC,mCAAmC,CAuBzC;IAEF,OAAO,CAAC,qBAAqB,CAkB3B;IAEF;;OAEG;IACH,iBAAiB;IA4EjB;;OAEG;IACH,oBAAoB;IAYpB;;OAEG;IACH,MAAM;IA4MN,OAAO,CAAC,uCAAuC;IAqB/C,OAAO,CAAC,6BAA6B;IAkBrC,OAAO,CAAC,yBAAyB;IAIjC,OAAO,CAAC,0BAA0B;IAyClC,OAAO,CAAC,4BAA4B;CAoBrC;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FWErrorMessage.d.ts","sourceRoot":"","sources":["../../../../../src/constants/FWErrorMessage.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,aAAa,QAI4B,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { IStoryBlockMethods, IStoryBlockProps } from './components/StoryBlock';
|
|
2
|
+
import StoryBlock from './components/StoryBlock';
|
|
3
|
+
import type { IVideoFeedProps, VideoFeedMode } from './components/VideoFeed';
|
|
4
|
+
import VideoFeed from './components/VideoFeed';
|
|
5
|
+
import type { CustomCTAClickCallback, SDKInitCallback, VideoFeedClickCallback, VideoPlaybackCallback } from './FireworkSDK';
|
|
6
|
+
import FireworkSDK from './FireworkSDK';
|
|
7
|
+
import FWNavigator from './FWNavigator';
|
|
8
|
+
import type { onLiveStreamChatEventCallback, onLiveStreamEventCallback } from './LiveStream';
|
|
9
|
+
import LiveStream from './LiveStream';
|
|
10
|
+
import type AdBadgeConfiguration from './models/AdBadgeConfiguration';
|
|
11
|
+
import type { AdBadgeTextType } from './models/AdBadgeConfiguration';
|
|
12
|
+
import type AdConfiguration from './models/AdConfiguration';
|
|
13
|
+
import type { VastAttribute } from './models/AdConfiguration';
|
|
14
|
+
import type AndroidFontInfo from './models/AndroidFontInfo';
|
|
15
|
+
import type ButtonInfo from './models/ButtonInfo';
|
|
16
|
+
import type CountdownTimerConfiguration from './models/CountdownTimerConfiguration';
|
|
17
|
+
import type { CountdownTimerAppearanceMode } from './models/CountdownTimerConfiguration';
|
|
18
|
+
import type { DataTrackingLevel } from './models/DataTrackingLevel';
|
|
19
|
+
import type FeedItemDetails from './models/FeedItemDetails';
|
|
20
|
+
import { FWComponentType } from './models/FWComponentType';
|
|
21
|
+
import type FWError from './models/FWError';
|
|
22
|
+
import type { ClickProductEvent, CustomClickCartIconEvent, CustomClickLinkButtonEvent, CustomCTAClickEvent, CustomTapProductCardEvent, LiveStreamChatEvent, LiveStreamEvent, PlayerHandler, SDKInitEvent, ShoppingCTAEvent, UpdateProductDetailsEvent, VideoFeedClickEvent, VideoPlaybackEvent } from './models/FWEvents';
|
|
23
|
+
import type GradientDrawable from './models/GradientDrawable';
|
|
24
|
+
import type { GradientDrawableOrientation } from './models/GradientDrawable';
|
|
25
|
+
import type IOSFontInfo from './models/IOSFontInfo';
|
|
26
|
+
import type { IOSSystemFontStyle, IOSSystemFontWeight } from './models/IOSFontInfo';
|
|
27
|
+
import LiveStreamChatEventName from './models/LiveStreamChatEventName';
|
|
28
|
+
import type LiveStreamEventDetails from './models/LiveStreamEventDetails';
|
|
29
|
+
import LiveStreamEventName from './models/LiveStreamEventName';
|
|
30
|
+
import type LiveStreamMessageDetails from './models/LiveStreamMessageDetails';
|
|
31
|
+
import LivestreamPlayerDesignVersion from './models/LivestreamPlayerDesignVersion';
|
|
32
|
+
import type MarkInitCalledOptions from './models/MarkInitCalledOptions';
|
|
33
|
+
import type OpenVideoPlayerConfiguration from './models/OpenVideoPlayerConfiguration';
|
|
34
|
+
import type Product from './models/Product';
|
|
35
|
+
import type ProductInfoViewConfiguration from './models/ProductInfoViewConfiguration';
|
|
36
|
+
import type { LinkButtonConfiguration, ProductCardConfiguration, ProductCardCTAButtonStyle, ProductCardCTAButtonText, ProductCardIconConfiguration, ProductCardLabelConfiguration, ProductCardPriceConfiguration, ProductCardPriceLabelAxis, ProductCardTheme, ShoppingCTAButtonConfiguration, ShoppingCTAButtonText } from './models/ProductInfoViewConfiguration';
|
|
37
|
+
import type ProductUnit from './models/ProductUnit';
|
|
38
|
+
import type { ProductPrice, ProductUnitOption } from './models/ProductUnit';
|
|
39
|
+
import type PushRNContainerParams from './models/PushRNContainerParams';
|
|
40
|
+
import type { RNAppProps } from './models/PushRNContainerParams';
|
|
41
|
+
import type SDKInitOptions from './models/SDKInitOptions';
|
|
42
|
+
import type { VideoLaunchBehavior } from './models/SDKInitOptions';
|
|
43
|
+
import type ShoppingCTAResult from './models/ShoppingCTAResult';
|
|
44
|
+
import type { StoryBlockConfiguration } from './models/StoryBlockConfiguration';
|
|
45
|
+
import type { StoryBlockSource } from './models/StoryBlockSource';
|
|
46
|
+
import type TrackPurchaseParameters from './models/TrackPurchaseParameters';
|
|
47
|
+
import type VideoFeedConfiguration from './models/VideoFeedConfiguration';
|
|
48
|
+
import type { VideoFeedPadding, VideoFeedPlayIconConfiguration, VideoFeedTitleConfiguration, VideoFeedTitlePosition } from './models/VideoFeedConfiguration';
|
|
49
|
+
import type { VideoFeedSource } from './models/VideoFeedSource';
|
|
50
|
+
import type VideoPlaybackDetails from './models/VideoPlaybackDetails';
|
|
51
|
+
import type { VideoPlayerSize } from './models/VideoPlaybackDetails';
|
|
52
|
+
import VideoPlaybackEventName from './models/VideoPlaybackEventName';
|
|
53
|
+
import type VideoPlayerButtonConfiguration from './models/VideoPlayerButtonConfiguration';
|
|
54
|
+
import type { VideoPlayerCompleteAction } from './models/VideoPlayerCompleteAction';
|
|
55
|
+
import type VideoPlayerConfiguration from './models/VideoPlayerConfiguration';
|
|
56
|
+
import type { VideoPlayerCTADelay, VideoPlayerCTADelayType } from './models/VideoPlayerCTADelay';
|
|
57
|
+
import type { VideoPlayerCTAStyle } from './models/VideoPlayerCTAStyle';
|
|
58
|
+
import type { VideoPlayerCTAWidth } from './models/VideoPlayerCTAWidth';
|
|
59
|
+
import type { VideoPlayerLivestreamCountdownTimerTheme } from './models/VideoPlayerLivestreamCountdownTimerTheme';
|
|
60
|
+
import type { VideoPlayerLogoConfiguration, VideoPlayerLogoOption } from './models/VideoPlayerLogoConfiguration';
|
|
61
|
+
import type { VideoPlayerStyle } from './models/VideoPlayerStyle';
|
|
62
|
+
import VideoFeedUtil from './utils/VideoFeedUtil';
|
|
63
|
+
import type { ClickProductCallback, CustomClickCartIconCallback, CustomClickLinkButtonCallback, CustomTapProductCardCallback, ShoppingCTACallback, UpdateProductDetailsCallback } from './VideoShopping';
|
|
64
|
+
import VideoShopping from './VideoShopping';
|
|
65
|
+
export default FireworkSDK;
|
|
66
|
+
export { FireworkSDK, FWComponentType, FWNavigator, LiveStream, LiveStreamChatEventName, LiveStreamEventName, LivestreamPlayerDesignVersion, StoryBlock, VideoFeed, VideoFeedUtil, VideoPlaybackEventName, VideoShopping, };
|
|
67
|
+
export type { AdBadgeConfiguration, AdBadgeTextType, AdConfiguration, AndroidFontInfo, ButtonInfo, ClickProductCallback, ClickProductEvent, CountdownTimerAppearanceMode, CountdownTimerConfiguration, CustomClickCartIconCallback, CustomClickCartIconEvent, CustomClickLinkButtonCallback, CustomClickLinkButtonEvent, CustomCTAClickCallback, CustomCTAClickEvent, CustomTapProductCardCallback, CustomTapProductCardEvent, DataTrackingLevel, FeedItemDetails, FWError, GradientDrawable, GradientDrawableOrientation, IOSFontInfo, IOSSystemFontStyle, IOSSystemFontWeight, IStoryBlockMethods, IStoryBlockProps, IVideoFeedProps, LinkButtonConfiguration, LiveStreamChatEvent, LiveStreamEvent, LiveStreamEventDetails, LiveStreamMessageDetails, MarkInitCalledOptions, onLiveStreamChatEventCallback, onLiveStreamEventCallback, OpenVideoPlayerConfiguration, PlayerHandler, Product, ProductCardConfiguration, ProductCardCTAButtonStyle, ProductCardCTAButtonText, ProductCardIconConfiguration, ProductCardLabelConfiguration, ProductCardPriceConfiguration, ProductCardPriceLabelAxis, ProductCardTheme, ProductInfoViewConfiguration, ProductPrice, ProductUnit, ProductUnitOption, PushRNContainerParams, RNAppProps, SDKInitCallback, SDKInitEvent, SDKInitOptions, ShoppingCTAButtonConfiguration, ShoppingCTAButtonText, ShoppingCTACallback, ShoppingCTAEvent, ShoppingCTAResult, StoryBlockConfiguration, StoryBlockSource, TrackPurchaseParameters, UpdateProductDetailsCallback, UpdateProductDetailsEvent, VastAttribute, VideoFeedClickCallback, VideoFeedClickEvent, VideoFeedConfiguration, VideoFeedMode, VideoFeedPadding, VideoFeedPlayIconConfiguration, VideoFeedSource, VideoFeedTitleConfiguration, VideoFeedTitlePosition, VideoLaunchBehavior, VideoPlaybackCallback, VideoPlaybackDetails, VideoPlaybackEvent, VideoPlayerButtonConfiguration, VideoPlayerCompleteAction, VideoPlayerConfiguration, VideoPlayerCTADelay, VideoPlayerCTADelayType, VideoPlayerCTAStyle, VideoPlayerCTAWidth, VideoPlayerLivestreamCountdownTimerTheme, VideoPlayerLogoConfiguration, VideoPlayerLogoOption, VideoPlayerSize, VideoPlayerStyle, };
|
|
68
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC7E,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAC/C,OAAO,KAAK,EACV,sBAAsB,EACtB,eAAe,EACf,sBAAsB,EACtB,qBAAqB,EACtB,MAAM,eAAe,CAAC;AACvB,OAA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,qBAAqB,EACrB,eAAe,EACf,gBAAgB,GACjB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type AndroidFontInfo from './AndroidFontInfo';
|
|
2
|
+
export type AdBadgeTextType = 'ad' | 'sponsored';
|
|
3
|
+
export default interface AdBadgeConfiguration {
|
|
4
|
+
/**
|
|
5
|
+
* The text type of the ad badge.
|
|
6
|
+
* Defaults to sponsored.
|
|
7
|
+
*/
|
|
8
|
+
badgeTextType?: AdBadgeTextType;
|
|
9
|
+
/**
|
|
10
|
+
* The background color of the ad badge.
|
|
11
|
+
* Defaults to #000000 on iOS. Defaults to #5178EE with alpha is 96.5% on Android.
|
|
12
|
+
*/
|
|
13
|
+
backgroundColor?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The color of the ad badge text.
|
|
16
|
+
* Defaults to #ffffff.
|
|
17
|
+
*/
|
|
18
|
+
textColor?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The Android font info of ad badge.
|
|
21
|
+
* The property is ignored when fontSize is not set.
|
|
22
|
+
* Only supported on Android.
|
|
23
|
+
*/
|
|
24
|
+
androidFontInfo?: AndroidFontInfo;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=AdBadgeConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdBadgeConfiguration.d.ts","sourceRoot":"","sources":["../../../../../src/models/AdBadgeConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAC;AAErD,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,WAAW,CAAC;AAEjD,MAAM,CAAC,OAAO,WAAW,oBAAoB;IAC3C;;;OAGG;IACH,aAAa,CAAC,EAAE,eAAe,CAAC;IAChC;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface VastAttribute {
|
|
2
|
+
name: string;
|
|
3
|
+
value: string;
|
|
4
|
+
}
|
|
5
|
+
export default interface AdConfiguration {
|
|
6
|
+
/**
|
|
7
|
+
* Custom VAST attributes to be used when fetching ads.
|
|
8
|
+
*/
|
|
9
|
+
vastAttributes?: VastAttribute[];
|
|
10
|
+
/**
|
|
11
|
+
* Indicates that the feed is dependent on ads being fetched before displaying any feed content.
|
|
12
|
+
* Default value is false.
|
|
13
|
+
* Warning: This will cause a delay in feed rendering. Use only when necessary.
|
|
14
|
+
*/
|
|
15
|
+
requiresAds?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Specifies the timeout(The unit of time is seconds) to be applied when ads are required.
|
|
18
|
+
* Default value is 10.
|
|
19
|
+
* This property is ignored when requiresAd is false
|
|
20
|
+
*/
|
|
21
|
+
adsFetchTimeout?: number;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=AdConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdConfiguration.d.ts","sourceRoot":"","sources":["../../../../../src/models/AdConfiguration.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,eAAe;IACtC;;OAEG;IACH,cAAc,CAAC,EAAE,aAAa,EAAE,CAAC;IACjC;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Only supported on Android.
|
|
3
|
+
*/
|
|
4
|
+
export default interface AndroidFontInfo {
|
|
5
|
+
/**
|
|
6
|
+
* Whether to use a custom font. Defaults to false.
|
|
7
|
+
*/
|
|
8
|
+
isCustom?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* The Android system typeface name, such as "DEFAULT", "DEFAULT_BOLD", "SANS_SERIF", "SERIF", "MONOSPACE".
|
|
11
|
+
* Or custom font name, such as: "fonts/kaushanscript_regular.ttf". (You need to set the isCustom=true and put the font file in the "assets" directory: app/src/main/assets/fonts/kaushanscript_regular.ttf)
|
|
12
|
+
*/
|
|
13
|
+
typefaceName?: string;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=AndroidFontInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AndroidFontInfo.d.ts","sourceRoot":"","sources":["../../../../../src/models/AndroidFontInfo.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,eAAe;IACtC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export default interface ButtonInfo {
|
|
2
|
+
/**
|
|
3
|
+
* The name of image in the asset catalogs.
|
|
4
|
+
* For example, you need to add the image in the Images.xcassets(or Assets.xcassets etc.)
|
|
5
|
+
*/
|
|
6
|
+
imageName?: string;
|
|
7
|
+
/**
|
|
8
|
+
* The system image name.
|
|
9
|
+
* Only supported on iOS.
|
|
10
|
+
*/
|
|
11
|
+
systemImageName?: string;
|
|
12
|
+
/**
|
|
13
|
+
* This applies only to system image.
|
|
14
|
+
* Only supported on iOS.
|
|
15
|
+
*/
|
|
16
|
+
tintColor?: string;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=ButtonInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonInfo.d.ts","sourceRoot":"","sources":["../../../../../src/models/ButtonInfo.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,UAAU;IACjC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
}
|
|
13
|
+
//# sourceMappingURL=CountdownTimerConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CountdownTimerConfiguration.d.ts","sourceRoot":"","sources":["../../../../../src/models/CountdownTimerConfiguration.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,4BAA4B,GAAG,OAAO,GAAG,MAAM,CAAC;AAC5D,MAAM,CAAC,OAAO,WAAW,2BAA2B;IAClD;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,UAAU,CAAC,EAAE,4BAA4B,CAAC;CAC3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataTrackingLevel.d.ts","sourceRoot":"","sources":["../../../../../src/models/DataTrackingLevel.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,eAAe,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FWComponentType.d.ts","sourceRoot":"","sources":["../../../../../src/models/FWComponentType.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,SAAS,cAAc;IACvB,UAAU,eAAe;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FWError.d.ts","sourceRoot":"","sources":["../../../../../src/models/FWError.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,OAAO;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB"}
|