react-native-firework-sdk 2.3.1 → 2.4.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/FireworkVideoUI.xcframework/ios-arm64/FireworkVideoUI.framework/FireworkVideoUI +0 -0
- package/FireworkVideoUI.xcframework/ios-arm64/FireworkVideoUI.framework/Info.plist +0 -0
- package/FireworkVideoUI.xcframework/ios-arm64/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios.abi.json +24 -10
- package/FireworkVideoUI.xcframework/ios-arm64/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios.private.swiftinterface +1 -1
- package/FireworkVideoUI.xcframework/ios-arm64/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/FireworkVideoUI.xcframework/ios-arm64/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios.swiftinterface +1 -1
- package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/FireworkVideoUI +0 -0
- package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Info.plist +0 -0
- package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.abi.json +24 -10
- package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +1 -1
- package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1 -1
- package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.abi.json +24 -10
- package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +1 -1
- package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +1 -1
- package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/_CodeSignature/CodeResources +21 -21
- package/android/gradle.properties +1 -1
- package/android/src/main/java/com/fireworksdk/bridge/components/storyblock/StoryBlockFragment.kt +20 -0
- package/android/src/main/java/com/fireworksdk/bridge/components/videofeed/FWVideoFeed.kt +1 -69
- package/android/src/main/java/com/fireworksdk/bridge/models/FWVideoFeedPropsModel.kt +3 -1
- package/android/src/main/java/com/fireworksdk/bridge/models/FWVideoFeedPropsModelDeserializer.kt +21 -4
- package/android/src/main/java/com/fireworksdk/bridge/models/FWVideoFeedPropsModelSerializer.kt +15 -3
- package/android/src/main/java/com/fireworksdk/bridge/models/FWVideoPlayerConfigModel.kt +2 -1
- package/android/src/main/java/com/fireworksdk/bridge/models/FWVideoPlayerConfigModelDeserializer.kt +3 -0
- package/android/src/main/java/com/fireworksdk/bridge/models/FWVideoPlayerConfigModelSerializer.kt +2 -0
- package/android/src/main/java/com/fireworksdk/bridge/models/enums/FWVideoFeedSource.kt +3 -1
- package/android/src/main/java/com/fireworksdk/bridge/reactnative/FWReactNativeSDK.kt +6 -0
- package/android/src/main/java/com/fireworksdk/bridge/reactnative/manager/FWStoryBlockManager.kt +20 -15
- package/android/src/main/java/com/fireworksdk/bridge/reactnative/manager/FWVideoFeedManager.kt +45 -16
- package/android/src/main/java/com/fireworksdk/bridge/reactnative/module/FireworkSDKModule.kt +5 -0
- package/android/src/main/java/com/fireworksdk/bridge/utils/FWConfigUtil.kt +11 -1
- package/android/src/main/java/com/fireworksdk/bridge/utils/FWImageLoaderUtil.kt +16 -0
- package/ios/Components/StoryBlock.swift +9 -7
- package/ios/Components/StoryBlockConfiguration.swift +13 -0
- package/ios/Components/StoryBlockManager.m +6 -1
- package/ios/Components/VideoFeed.swift +5 -10
- package/ios/Components/VideoFeedManager.m +1 -2
- package/ios/Components/VideoPlayerConfiguration.swift +1 -0
- package/ios/FireworkSdk.xcodeproj/project.pbxproj +4 -26
- package/ios/FireworkVideoUI/FireworkVideoUI/Sources/AppLanguage/AppLanguageManager.swift +13 -2
- package/ios/FireworkVideoUI/FireworkVideoUI/Sources/AppLanguage/Extensions/UIKit/UIImageView+AppLanguage.swift +0 -34
- package/ios/FireworkVideoUI/Podfile +1 -1
- package/ios/FireworkVideoUI/Podfile.lock +4 -4
- package/ios/Models/RNToNative/RCTConvert+FireworkSDKModule.swift +1 -0
- package/ios/Models/RNToNative/RCTConvert+StoryBlock.swift +16 -1
- package/ios/Models/RNToNative/RCTConvert+VideoFeed.swift +2 -1
- package/ios/Modules/FireworkSDKModule/FireworkSDKModule.swift +8 -4
- package/ios/Modules/Shopping/ShoppingModule.swift +6 -5
- package/ios/react_native_firework_sdk.h +0 -1
- package/package.json +2 -2
- package/react-native-firework-sdk.podspec +1 -1
- package/src/FireworkSDK.ts +2 -2
- package/src/components/StoryBlock.tsx +65 -36
- package/src/components/VideoFeed.tsx +87 -74
- package/src/index.ts +2 -0
- package/src/models/AdBadgeConfiguration.ts +3 -0
- package/src/models/AndroidFontInfo.ts +1 -1
- package/src/models/OpenVideoPlayerConfiguration.ts +9 -0
- package/src/models/Product.ts +1 -1
- package/src/models/ProductUnit.ts +1 -1
- package/src/models/StoryBlockConfiguration.ts +1 -1
- package/src/models/StoryBlockNativeConfiguration.ts +9 -0
- package/src/models/StoryBlockSource.ts +2 -1
- package/src/models/VideoFeedConfiguration.ts +29 -4
- package/src/models/VideoFeedSource.ts +2 -1
- package/src/models/VideoPlayerCTAStyle.ts +6 -0
- package/src/models/VideoPlayerConfiguration.ts +10 -1
- package/src/models/VideoPlayerNativeConfiguration.ts +9 -0
- package/src/modules/FireworkSDKModule.ts +2 -2
- package/ios/Modules/Shopping/FWCartViewController.swift +0 -14
- package/ios/Utils/Extensions/Swizzle/UINavigationController+FWSwizzle.swift +0 -31
- package/ios/Utils/FWSwizzleLoader.h +0 -15
- package/ios/Utils/FWSwizzleLoader.m +0 -21
- package/ios/Utils/FWSwizzleLoader.swift +0 -13
- package/lib/commonjs/FWNavigator.js +0 -75
- package/lib/commonjs/FWNavigator.js.map +0 -1
- package/lib/commonjs/FireworkSDK.js +0 -341
- package/lib/commonjs/FireworkSDK.js.map +0 -1
- package/lib/commonjs/LiveStream.js +0 -66
- package/lib/commonjs/LiveStream.js.map +0 -1
- package/lib/commonjs/VideoShopping.js +0 -247
- package/lib/commonjs/VideoShopping.js.map +0 -1
- package/lib/commonjs/components/FWStoryBlock.js +0 -18
- package/lib/commonjs/components/FWStoryBlock.js.map +0 -1
- package/lib/commonjs/components/FWVideoFeed.js +0 -18
- package/lib/commonjs/components/FWVideoFeed.js.map +0 -1
- package/lib/commonjs/components/StoryBlock.js +0 -319
- package/lib/commonjs/components/StoryBlock.js.map +0 -1
- package/lib/commonjs/components/VideoFeed.js +0 -390
- package/lib/commonjs/components/VideoFeed.js.map +0 -1
- package/lib/commonjs/constants/FWErrorMessage.js +0 -15
- package/lib/commonjs/constants/FWErrorMessage.js.map +0 -1
- package/lib/commonjs/index.js +0 -84
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/models/AdBadgeConfiguration.js +0 -2
- package/lib/commonjs/models/AdBadgeConfiguration.js.map +0 -1
- package/lib/commonjs/models/AdConfiguration.js +0 -2
- package/lib/commonjs/models/AdConfiguration.js.map +0 -1
- package/lib/commonjs/models/AndroidFontInfo.js +0 -2
- package/lib/commonjs/models/AndroidFontInfo.js.map +0 -1
- package/lib/commonjs/models/FWError.js +0 -2
- package/lib/commonjs/models/FWError.js.map +0 -1
- package/lib/commonjs/models/FWEventName.js +0 -29
- package/lib/commonjs/models/FWEventName.js.map +0 -1
- package/lib/commonjs/models/FWEvents.js +0 -6
- package/lib/commonjs/models/FWEvents.js.map +0 -1
- package/lib/commonjs/models/FeedItemDetails.js +0 -2
- package/lib/commonjs/models/FeedItemDetails.js.map +0 -1
- package/lib/commonjs/models/GradientDrawable.js +0 -2
- package/lib/commonjs/models/GradientDrawable.js.map +0 -1
- package/lib/commonjs/models/IOSFontInfo.js +0 -2
- package/lib/commonjs/models/IOSFontInfo.js.map +0 -1
- package/lib/commonjs/models/LiveStreamChatEventName.js +0 -15
- package/lib/commonjs/models/LiveStreamChatEventName.js.map +0 -1
- package/lib/commonjs/models/LiveStreamEventDetails.js +0 -2
- package/lib/commonjs/models/LiveStreamEventDetails.js.map +0 -1
- package/lib/commonjs/models/LiveStreamEventName.js +0 -17
- package/lib/commonjs/models/LiveStreamEventName.js.map +0 -1
- package/lib/commonjs/models/LiveStreamMessageDetails.js +0 -2
- package/lib/commonjs/models/LiveStreamMessageDetails.js.map +0 -1
- package/lib/commonjs/models/Product.js +0 -2
- package/lib/commonjs/models/Product.js.map +0 -1
- package/lib/commonjs/models/ProductInfoViewConfiguration.js +0 -2
- package/lib/commonjs/models/ProductInfoViewConfiguration.js.map +0 -1
- package/lib/commonjs/models/ProductUnit.js +0 -2
- package/lib/commonjs/models/ProductUnit.js.map +0 -1
- package/lib/commonjs/models/SDKInitOptions.js +0 -2
- package/lib/commonjs/models/SDKInitOptions.js.map +0 -1
- package/lib/commonjs/models/ShoppingCTAResult.js +0 -2
- package/lib/commonjs/models/ShoppingCTAResult.js.map +0 -1
- package/lib/commonjs/models/StoryBlockConfiguration.js +0 -6
- package/lib/commonjs/models/StoryBlockConfiguration.js.map +0 -1
- package/lib/commonjs/models/StoryBlockSource.js +0 -2
- package/lib/commonjs/models/StoryBlockSource.js.map +0 -1
- package/lib/commonjs/models/TrackPurchaseParameters.js +0 -2
- package/lib/commonjs/models/TrackPurchaseParameters.js.map +0 -1
- package/lib/commonjs/models/VideoFeedConfiguration.js +0 -2
- package/lib/commonjs/models/VideoFeedConfiguration.js.map +0 -1
- package/lib/commonjs/models/VideoFeedSource.js +0 -2
- package/lib/commonjs/models/VideoFeedSource.js.map +0 -1
- package/lib/commonjs/models/VideoPlaybackDetails.js +0 -2
- package/lib/commonjs/models/VideoPlaybackDetails.js.map +0 -1
- package/lib/commonjs/models/VideoPlaybackEventName.js +0 -26
- package/lib/commonjs/models/VideoPlaybackEventName.js.map +0 -1
- package/lib/commonjs/models/VideoPlayerCTADelay.js +0 -2
- package/lib/commonjs/models/VideoPlayerCTADelay.js.map +0 -1
- package/lib/commonjs/models/VideoPlayerCTAStyle.js +0 -6
- package/lib/commonjs/models/VideoPlayerCTAStyle.js.map +0 -1
- package/lib/commonjs/models/VideoPlayerCTAWidth.js +0 -2
- package/lib/commonjs/models/VideoPlayerCTAWidth.js.map +0 -1
- package/lib/commonjs/models/VideoPlayerCompleteAction.js +0 -2
- package/lib/commonjs/models/VideoPlayerCompleteAction.js.map +0 -1
- package/lib/commonjs/models/VideoPlayerConfiguration.js +0 -2
- package/lib/commonjs/models/VideoPlayerConfiguration.js.map +0 -1
- package/lib/commonjs/models/VideoPlayerStyle.js +0 -2
- package/lib/commonjs/models/VideoPlayerStyle.js.map +0 -1
- package/lib/commonjs/modules/FWNavigatorModule.js +0 -22
- package/lib/commonjs/modules/FWNavigatorModule.js.map +0 -1
- package/lib/commonjs/modules/FireworkSDKModule.js +0 -22
- package/lib/commonjs/modules/FireworkSDKModule.js.map +0 -1
- package/lib/commonjs/modules/LiveStreamModule.js +0 -22
- package/lib/commonjs/modules/LiveStreamModule.js.map +0 -1
- package/lib/commonjs/modules/ShoppingModule.js +0 -22
- package/lib/commonjs/modules/ShoppingModule.js.map +0 -1
- package/lib/commonjs/utils/FWGlobalState.js +0 -47
- package/lib/commonjs/utils/FWGlobalState.js.map +0 -1
- package/lib/commonjs/utils/FWLoggerUtil.js +0 -45
- package/lib/commonjs/utils/FWLoggerUtil.js.map +0 -1
- package/lib/module/FWNavigator.js +0 -58
- package/lib/module/FWNavigator.js.map +0 -1
- package/lib/module/FireworkSDK.js +0 -310
- package/lib/module/FireworkSDK.js.map +0 -1
- package/lib/module/LiveStream.js +0 -53
- package/lib/module/LiveStream.js.map +0 -1
- package/lib/module/VideoShopping.js +0 -222
- package/lib/module/VideoShopping.js.map +0 -1
- package/lib/module/components/FWStoryBlock.js +0 -8
- package/lib/module/components/FWStoryBlock.js.map +0 -1
- package/lib/module/components/FWVideoFeed.js +0 -8
- package/lib/module/components/FWVideoFeed.js.map +0 -1
- package/lib/module/components/StoryBlock.js +0 -282
- package/lib/module/components/StoryBlock.js.map +0 -1
- package/lib/module/components/VideoFeed.js +0 -365
- package/lib/module/components/VideoFeed.js.map +0 -1
- package/lib/module/constants/FWErrorMessage.js +0 -7
- package/lib/module/constants/FWErrorMessage.js.map +0 -1
- package/lib/module/index.js +0 -12
- package/lib/module/index.js.map +0 -1
- package/lib/module/models/AdBadgeConfiguration.js +0 -2
- package/lib/module/models/AdBadgeConfiguration.js.map +0 -1
- package/lib/module/models/AdConfiguration.js +0 -2
- package/lib/module/models/AdConfiguration.js.map +0 -1
- package/lib/module/models/AndroidFontInfo.js +0 -2
- package/lib/module/models/AndroidFontInfo.js.map +0 -1
- package/lib/module/models/FWError.js +0 -2
- package/lib/module/models/FWError.js.map +0 -1
- package/lib/module/models/FWEventName.js +0 -22
- package/lib/module/models/FWEventName.js.map +0 -1
- package/lib/module/models/FWEvents.js +0 -2
- package/lib/module/models/FWEvents.js.map +0 -1
- package/lib/module/models/FeedItemDetails.js +0 -2
- package/lib/module/models/FeedItemDetails.js.map +0 -1
- package/lib/module/models/GradientDrawable.js +0 -2
- package/lib/module/models/GradientDrawable.js.map +0 -1
- package/lib/module/models/IOSFontInfo.js +0 -2
- package/lib/module/models/IOSFontInfo.js.map +0 -1
- package/lib/module/models/LiveStreamChatEventName.js +0 -8
- package/lib/module/models/LiveStreamChatEventName.js.map +0 -1
- package/lib/module/models/LiveStreamEventDetails.js +0 -2
- package/lib/module/models/LiveStreamEventDetails.js.map +0 -1
- package/lib/module/models/LiveStreamEventName.js +0 -10
- package/lib/module/models/LiveStreamEventName.js.map +0 -1
- package/lib/module/models/LiveStreamMessageDetails.js +0 -2
- package/lib/module/models/LiveStreamMessageDetails.js.map +0 -1
- package/lib/module/models/Product.js +0 -2
- package/lib/module/models/Product.js.map +0 -1
- package/lib/module/models/ProductInfoViewConfiguration.js +0 -2
- package/lib/module/models/ProductInfoViewConfiguration.js.map +0 -1
- package/lib/module/models/ProductUnit.js +0 -2
- package/lib/module/models/ProductUnit.js.map +0 -1
- package/lib/module/models/SDKInitOptions.js +0 -2
- package/lib/module/models/SDKInitOptions.js.map +0 -1
- package/lib/module/models/ShoppingCTAResult.js +0 -2
- package/lib/module/models/ShoppingCTAResult.js.map +0 -1
- package/lib/module/models/StoryBlockConfiguration.js +0 -2
- package/lib/module/models/StoryBlockConfiguration.js.map +0 -1
- package/lib/module/models/StoryBlockSource.js +0 -2
- package/lib/module/models/StoryBlockSource.js.map +0 -1
- package/lib/module/models/TrackPurchaseParameters.js +0 -2
- package/lib/module/models/TrackPurchaseParameters.js.map +0 -1
- package/lib/module/models/VideoFeedConfiguration.js +0 -2
- package/lib/module/models/VideoFeedConfiguration.js.map +0 -1
- package/lib/module/models/VideoFeedSource.js +0 -2
- package/lib/module/models/VideoFeedSource.js.map +0 -1
- package/lib/module/models/VideoPlaybackDetails.js +0 -2
- package/lib/module/models/VideoPlaybackDetails.js.map +0 -1
- package/lib/module/models/VideoPlaybackEventName.js +0 -19
- package/lib/module/models/VideoPlaybackEventName.js.map +0 -1
- package/lib/module/models/VideoPlayerCTADelay.js +0 -2
- package/lib/module/models/VideoPlayerCTADelay.js.map +0 -1
- package/lib/module/models/VideoPlayerCTAStyle.js +0 -2
- package/lib/module/models/VideoPlayerCTAStyle.js.map +0 -1
- package/lib/module/models/VideoPlayerCTAWidth.js +0 -2
- package/lib/module/models/VideoPlayerCTAWidth.js.map +0 -1
- package/lib/module/models/VideoPlayerCompleteAction.js +0 -2
- package/lib/module/models/VideoPlayerCompleteAction.js.map +0 -1
- package/lib/module/models/VideoPlayerConfiguration.js +0 -2
- package/lib/module/models/VideoPlayerConfiguration.js.map +0 -1
- package/lib/module/models/VideoPlayerStyle.js +0 -2
- package/lib/module/models/VideoPlayerStyle.js.map +0 -1
- package/lib/module/modules/FWNavigatorModule.js +0 -13
- package/lib/module/modules/FWNavigatorModule.js.map +0 -1
- package/lib/module/modules/FireworkSDKModule.js +0 -12
- package/lib/module/modules/FireworkSDKModule.js.map +0 -1
- package/lib/module/modules/LiveStreamModule.js +0 -12
- package/lib/module/modules/LiveStreamModule.js.map +0 -1
- package/lib/module/modules/ShoppingModule.js +0 -12
- package/lib/module/modules/ShoppingModule.js.map +0 -1
- package/lib/module/utils/FWGlobalState.js +0 -39
- package/lib/module/utils/FWGlobalState.js.map +0 -1
- package/lib/module/utils/FWLoggerUtil.js +0 -36
- package/lib/module/utils/FWLoggerUtil.js.map +0 -1
- package/lib/typescript/FWNavigator.d.ts +0 -26
- package/lib/typescript/FireworkSDK.d.ts +0 -113
- package/lib/typescript/LiveStream.d.ts +0 -21
- package/lib/typescript/VideoShopping.d.ts +0 -74
- package/lib/typescript/components/FWStoryBlock.d.ts +0 -2
- package/lib/typescript/components/FWVideoFeed.d.ts +0 -2
- package/lib/typescript/components/StoryBlock.d.ts +0 -65
- package/lib/typescript/components/VideoFeed.d.ts +0 -105
- package/lib/typescript/constants/FWErrorMessage.d.ts +0 -2
- package/lib/typescript/index.d.ts +0 -52
- package/lib/typescript/models/AdBadgeConfiguration.d.ts +0 -22
- package/lib/typescript/models/AdConfiguration.d.ts +0 -22
- package/lib/typescript/models/AndroidFontInfo.d.ts +0 -14
- package/lib/typescript/models/FWError.d.ts +0 -10
- package/lib/typescript/models/FWEventName.d.ts +0 -19
- package/lib/typescript/models/FWEvents.d.ts +0 -70
- package/lib/typescript/models/FeedItemDetails.d.ts +0 -54
- package/lib/typescript/models/GradientDrawable.d.ts +0 -5
- package/lib/typescript/models/IOSFontInfo.d.ts +0 -21
- package/lib/typescript/models/LiveStreamChatEventName.d.ts +0 -7
- package/lib/typescript/models/LiveStreamEventDetails.d.ts +0 -3
- package/lib/typescript/models/LiveStreamEventName.d.ts +0 -15
- package/lib/typescript/models/LiveStreamMessageDetails.d.ts +0 -14
- package/lib/typescript/models/Product.d.ts +0 -23
- package/lib/typescript/models/ProductInfoViewConfiguration.d.ts +0 -38
- package/lib/typescript/models/ProductUnit.d.ts +0 -38
- package/lib/typescript/models/SDKInitOptions.d.ts +0 -11
- package/lib/typescript/models/ShoppingCTAResult.d.ts +0 -11
- package/lib/typescript/models/StoryBlockConfiguration.d.ts +0 -37
- package/lib/typescript/models/StoryBlockSource.d.ts +0 -1
- package/lib/typescript/models/TrackPurchaseParameters.d.ts +0 -26
- package/lib/typescript/models/VideoFeedConfiguration.d.ts +0 -108
- package/lib/typescript/models/VideoFeedSource.d.ts +0 -1
- package/lib/typescript/models/VideoPlaybackDetails.d.ts +0 -47
- package/lib/typescript/models/VideoPlaybackEventName.d.ts +0 -51
- package/lib/typescript/models/VideoPlayerCTADelay.d.ts +0 -11
- package/lib/typescript/models/VideoPlayerCTAStyle.d.ts +0 -21
- package/lib/typescript/models/VideoPlayerCTAWidth.d.ts +0 -1
- package/lib/typescript/models/VideoPlayerCompleteAction.d.ts +0 -1
- package/lib/typescript/models/VideoPlayerConfiguration.d.ts +0 -51
- package/lib/typescript/models/VideoPlayerStyle.d.ts +0 -1
- package/lib/typescript/modules/FWNavigatorModule.d.ts +0 -11
- package/lib/typescript/modules/FireworkSDKModule.d.ts +0 -19
- package/lib/typescript/modules/LiveStreamModule.d.ts +0 -8
- package/lib/typescript/modules/ShoppingModule.d.ts +0 -18
- package/lib/typescript/utils/FWGlobalState.d.ts +0 -10
- package/lib/typescript/utils/FWLoggerUtil.d.ts +0 -6
|
Binary file
|
|
Binary file
|
|
@@ -526,7 +526,7 @@
|
|
|
526
526
|
{
|
|
527
527
|
"kind": "Function",
|
|
528
528
|
"name": "changeAppLanguage",
|
|
529
|
-
"printedName": "changeAppLanguage(_:)",
|
|
529
|
+
"printedName": "changeAppLanguage(_:_:)",
|
|
530
530
|
"children": [
|
|
531
531
|
{
|
|
532
532
|
"kind": "TypeNominal",
|
|
@@ -547,11 +547,18 @@
|
|
|
547
547
|
}
|
|
548
548
|
],
|
|
549
549
|
"usr": "s:Sq"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"kind": "TypeNominal",
|
|
553
|
+
"name": "Bool",
|
|
554
|
+
"printedName": "Swift.Bool",
|
|
555
|
+
"hasDefaultArg": true,
|
|
556
|
+
"usr": "s:Sb"
|
|
550
557
|
}
|
|
551
558
|
],
|
|
552
559
|
"declKind": "Func",
|
|
553
|
-
"usr": "s:
|
|
554
|
-
"mangledName": "$
|
|
560
|
+
"usr": "s:15FireworkVideoUI18AppLanguageManagerC06changedE0ySbSSSg_SbtF",
|
|
561
|
+
"mangledName": "$s15FireworkVideoUI18AppLanguageManagerC06changedE0ySbSSSg_SbtF",
|
|
555
562
|
"moduleName": "FireworkVideoUI",
|
|
556
563
|
"declAttributes": [
|
|
557
564
|
"AccessControl",
|
|
@@ -1064,13 +1071,6 @@
|
|
|
1064
1071
|
"length": 34,
|
|
1065
1072
|
"value": "\"VUlEYXRlUGlja2VyQ29udGVudFZpZXc=\""
|
|
1066
1073
|
},
|
|
1067
|
-
{
|
|
1068
|
-
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/Extensions\/UIKit\/UIImageView+AppLanguage.swift",
|
|
1069
|
-
"kind": "Array",
|
|
1070
|
-
"offset": 172,
|
|
1071
|
-
"length": 145,
|
|
1072
|
-
"value": "[\"shopping-cart\", \"left-arrow\", \"right-arrow\", \"speaker-unmute\", \"speaker-mute\", \"mute\", \"mute-off\", \"mute-on\"]"
|
|
1073
|
-
},
|
|
1074
1074
|
{
|
|
1075
1075
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/Extensions\/UIKit\/UITextField+AppLanguage.swift",
|
|
1076
1076
|
"kind": "StringLiteral",
|
|
@@ -1148,6 +1148,20 @@
|
|
|
1148
1148
|
"length": 47,
|
|
1149
1149
|
"value": "\"firework.notification.name.appLanguageChanged\""
|
|
1150
1150
|
},
|
|
1151
|
+
{
|
|
1152
|
+
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1153
|
+
"kind": "BooleanLiteral",
|
|
1154
|
+
"offset": 893,
|
|
1155
|
+
"length": 4,
|
|
1156
|
+
"value": "true"
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1160
|
+
"kind": "BooleanLiteral",
|
|
1161
|
+
"offset": 4386,
|
|
1162
|
+
"length": 4,
|
|
1163
|
+
"value": "true"
|
|
1164
|
+
},
|
|
1151
1165
|
{
|
|
1152
1166
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/Extensions\/UIKit\/UITextView+AppLanguage.swift",
|
|
1153
1167
|
"kind": "StringLiteral",
|
|
@@ -36,6 +36,6 @@ extension UIKit.UIView {
|
|
|
36
36
|
get
|
|
37
37
|
}
|
|
38
38
|
@discardableResult
|
|
39
|
-
public func changeAppLanguage(_ language: Swift.String
|
|
39
|
+
public func changeAppLanguage(_ language: Swift.String?, _ enableAutoHorizontalFlip: Swift.Bool = true) -> Swift.Bool
|
|
40
40
|
@objc deinit
|
|
41
41
|
}
|
|
Binary file
|
|
@@ -36,6 +36,6 @@ extension UIKit.UIView {
|
|
|
36
36
|
get
|
|
37
37
|
}
|
|
38
38
|
@discardableResult
|
|
39
|
-
public func changeAppLanguage(_ language: Swift.String
|
|
39
|
+
public func changeAppLanguage(_ language: Swift.String?, _ enableAutoHorizontalFlip: Swift.Bool = true) -> Swift.Bool
|
|
40
40
|
@objc deinit
|
|
41
41
|
}
|
|
Binary file
|
package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Info.plist
CHANGED
|
Binary file
|
|
@@ -526,7 +526,7 @@
|
|
|
526
526
|
{
|
|
527
527
|
"kind": "Function",
|
|
528
528
|
"name": "changeAppLanguage",
|
|
529
|
-
"printedName": "changeAppLanguage(_:)",
|
|
529
|
+
"printedName": "changeAppLanguage(_:_:)",
|
|
530
530
|
"children": [
|
|
531
531
|
{
|
|
532
532
|
"kind": "TypeNominal",
|
|
@@ -547,11 +547,18 @@
|
|
|
547
547
|
}
|
|
548
548
|
],
|
|
549
549
|
"usr": "s:Sq"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"kind": "TypeNominal",
|
|
553
|
+
"name": "Bool",
|
|
554
|
+
"printedName": "Swift.Bool",
|
|
555
|
+
"hasDefaultArg": true,
|
|
556
|
+
"usr": "s:Sb"
|
|
550
557
|
}
|
|
551
558
|
],
|
|
552
559
|
"declKind": "Func",
|
|
553
|
-
"usr": "s:
|
|
554
|
-
"mangledName": "$
|
|
560
|
+
"usr": "s:15FireworkVideoUI18AppLanguageManagerC06changedE0ySbSSSg_SbtF",
|
|
561
|
+
"mangledName": "$s15FireworkVideoUI18AppLanguageManagerC06changedE0ySbSSSg_SbtF",
|
|
555
562
|
"moduleName": "FireworkVideoUI",
|
|
556
563
|
"declAttributes": [
|
|
557
564
|
"AccessControl",
|
|
@@ -1064,13 +1071,6 @@
|
|
|
1064
1071
|
"length": 34,
|
|
1065
1072
|
"value": "\"VUlEYXRlUGlja2VyQ29udGVudFZpZXc=\""
|
|
1066
1073
|
},
|
|
1067
|
-
{
|
|
1068
|
-
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/Extensions\/UIKit\/UIImageView+AppLanguage.swift",
|
|
1069
|
-
"kind": "Array",
|
|
1070
|
-
"offset": 172,
|
|
1071
|
-
"length": 145,
|
|
1072
|
-
"value": "[\"shopping-cart\", \"left-arrow\", \"right-arrow\", \"speaker-unmute\", \"speaker-mute\", \"mute\", \"mute-off\", \"mute-on\"]"
|
|
1073
|
-
},
|
|
1074
1074
|
{
|
|
1075
1075
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/Extensions\/UIKit\/UITextField+AppLanguage.swift",
|
|
1076
1076
|
"kind": "StringLiteral",
|
|
@@ -1148,6 +1148,20 @@
|
|
|
1148
1148
|
"length": 47,
|
|
1149
1149
|
"value": "\"firework.notification.name.appLanguageChanged\""
|
|
1150
1150
|
},
|
|
1151
|
+
{
|
|
1152
|
+
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1153
|
+
"kind": "BooleanLiteral",
|
|
1154
|
+
"offset": 893,
|
|
1155
|
+
"length": 4,
|
|
1156
|
+
"value": "true"
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1160
|
+
"kind": "BooleanLiteral",
|
|
1161
|
+
"offset": 4386,
|
|
1162
|
+
"length": 4,
|
|
1163
|
+
"value": "true"
|
|
1164
|
+
},
|
|
1151
1165
|
{
|
|
1152
1166
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/Extensions\/UIKit\/UITextView+AppLanguage.swift",
|
|
1153
1167
|
"kind": "StringLiteral",
|
|
@@ -36,6 +36,6 @@ extension UIKit.UIView {
|
|
|
36
36
|
get
|
|
37
37
|
}
|
|
38
38
|
@discardableResult
|
|
39
|
-
public func changeAppLanguage(_ language: Swift.String
|
|
39
|
+
public func changeAppLanguage(_ language: Swift.String?, _ enableAutoHorizontalFlip: Swift.Bool = true) -> Swift.Bool
|
|
40
40
|
@objc deinit
|
|
41
41
|
}
|
|
Binary file
|
|
@@ -36,6 +36,6 @@ extension UIKit.UIView {
|
|
|
36
36
|
get
|
|
37
37
|
}
|
|
38
38
|
@discardableResult
|
|
39
|
-
public func changeAppLanguage(_ language: Swift.String
|
|
39
|
+
public func changeAppLanguage(_ language: Swift.String?, _ enableAutoHorizontalFlip: Swift.Bool = true) -> Swift.Bool
|
|
40
40
|
@objc deinit
|
|
41
41
|
}
|
|
@@ -526,7 +526,7 @@
|
|
|
526
526
|
{
|
|
527
527
|
"kind": "Function",
|
|
528
528
|
"name": "changeAppLanguage",
|
|
529
|
-
"printedName": "changeAppLanguage(_:)",
|
|
529
|
+
"printedName": "changeAppLanguage(_:_:)",
|
|
530
530
|
"children": [
|
|
531
531
|
{
|
|
532
532
|
"kind": "TypeNominal",
|
|
@@ -547,11 +547,18 @@
|
|
|
547
547
|
}
|
|
548
548
|
],
|
|
549
549
|
"usr": "s:Sq"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"kind": "TypeNominal",
|
|
553
|
+
"name": "Bool",
|
|
554
|
+
"printedName": "Swift.Bool",
|
|
555
|
+
"hasDefaultArg": true,
|
|
556
|
+
"usr": "s:Sb"
|
|
550
557
|
}
|
|
551
558
|
],
|
|
552
559
|
"declKind": "Func",
|
|
553
|
-
"usr": "s:
|
|
554
|
-
"mangledName": "$
|
|
560
|
+
"usr": "s:15FireworkVideoUI18AppLanguageManagerC06changedE0ySbSSSg_SbtF",
|
|
561
|
+
"mangledName": "$s15FireworkVideoUI18AppLanguageManagerC06changedE0ySbSSSg_SbtF",
|
|
555
562
|
"moduleName": "FireworkVideoUI",
|
|
556
563
|
"declAttributes": [
|
|
557
564
|
"AccessControl",
|
|
@@ -1064,13 +1071,6 @@
|
|
|
1064
1071
|
"length": 34,
|
|
1065
1072
|
"value": "\"VUlEYXRlUGlja2VyQ29udGVudFZpZXc=\""
|
|
1066
1073
|
},
|
|
1067
|
-
{
|
|
1068
|
-
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/Extensions\/UIKit\/UIImageView+AppLanguage.swift",
|
|
1069
|
-
"kind": "Array",
|
|
1070
|
-
"offset": 172,
|
|
1071
|
-
"length": 145,
|
|
1072
|
-
"value": "[\"shopping-cart\", \"left-arrow\", \"right-arrow\", \"speaker-unmute\", \"speaker-mute\", \"mute\", \"mute-off\", \"mute-on\"]"
|
|
1073
|
-
},
|
|
1074
1074
|
{
|
|
1075
1075
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/Extensions\/UIKit\/UITextField+AppLanguage.swift",
|
|
1076
1076
|
"kind": "StringLiteral",
|
|
@@ -1148,6 +1148,20 @@
|
|
|
1148
1148
|
"length": 47,
|
|
1149
1149
|
"value": "\"firework.notification.name.appLanguageChanged\""
|
|
1150
1150
|
},
|
|
1151
|
+
{
|
|
1152
|
+
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1153
|
+
"kind": "BooleanLiteral",
|
|
1154
|
+
"offset": 893,
|
|
1155
|
+
"length": 4,
|
|
1156
|
+
"value": "true"
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1160
|
+
"kind": "BooleanLiteral",
|
|
1161
|
+
"offset": 4386,
|
|
1162
|
+
"length": 4,
|
|
1163
|
+
"value": "true"
|
|
1164
|
+
},
|
|
1151
1165
|
{
|
|
1152
1166
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/Extensions\/UIKit\/UITextView+AppLanguage.swift",
|
|
1153
1167
|
"kind": "StringLiteral",
|
|
@@ -36,6 +36,6 @@ extension UIKit.UIView {
|
|
|
36
36
|
get
|
|
37
37
|
}
|
|
38
38
|
@discardableResult
|
|
39
|
-
public func changeAppLanguage(_ language: Swift.String
|
|
39
|
+
public func changeAppLanguage(_ language: Swift.String?, _ enableAutoHorizontalFlip: Swift.Bool = true) -> Swift.Bool
|
|
40
40
|
@objc deinit
|
|
41
41
|
}
|
|
Binary file
|
|
@@ -36,6 +36,6 @@ extension UIKit.UIView {
|
|
|
36
36
|
get
|
|
37
37
|
}
|
|
38
38
|
@discardableResult
|
|
39
|
-
public func changeAppLanguage(_ language: Swift.String
|
|
39
|
+
public func changeAppLanguage(_ language: Swift.String?, _ enableAutoHorizontalFlip: Swift.Bool = true) -> Swift.Bool
|
|
40
40
|
@objc deinit
|
|
41
41
|
}
|
|
@@ -14,47 +14,47 @@
|
|
|
14
14
|
</data>
|
|
15
15
|
<key>Info.plist</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
NXyBm5qd++QngDkkF/+SblHG/Uo=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
20
20
|
<data>
|
|
21
|
-
|
|
21
|
+
dMRyiIaNTc2DTqPk948EJmYzKh4=
|
|
22
22
|
</data>
|
|
23
23
|
<key>Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
24
24
|
<data>
|
|
25
|
-
|
|
25
|
+
7+KJLuabK8w3RMmQoqXrxOhEAWM=
|
|
26
26
|
</data>
|
|
27
27
|
<key>Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
mReyD1nzTi7yjjtbqGNuULJ++xg=
|
|
30
30
|
</data>
|
|
31
31
|
<key>Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
7+KJLuabK8w3RMmQoqXrxOhEAWM=
|
|
34
34
|
</data>
|
|
35
35
|
<key>Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
6v3c2UNz21FI9s4IWueGL0xmMeg=
|
|
38
38
|
</data>
|
|
39
39
|
<key>Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
40
40
|
<data>
|
|
41
|
-
|
|
41
|
+
dMRyiIaNTc2DTqPk948EJmYzKh4=
|
|
42
42
|
</data>
|
|
43
43
|
<key>Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
44
44
|
<data>
|
|
45
|
-
|
|
45
|
+
XiVyxQ5qQeESrMP18Wjw3i/EpHU=
|
|
46
46
|
</data>
|
|
47
47
|
<key>Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
48
48
|
<data>
|
|
49
|
-
|
|
49
|
+
/zEUo9x+sL6mRTrPsL76/fIRbpA=
|
|
50
50
|
</data>
|
|
51
51
|
<key>Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
52
52
|
<data>
|
|
53
|
-
|
|
53
|
+
XiVyxQ5qQeESrMP18Wjw3i/EpHU=
|
|
54
54
|
</data>
|
|
55
55
|
<key>Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
56
56
|
<data>
|
|
57
|
-
|
|
57
|
+
BlQ2HvO9NmVglW3bfoBdru3/du4=
|
|
58
58
|
</data>
|
|
59
59
|
<key>Modules/module.modulemap</key>
|
|
60
60
|
<data>
|
|
@@ -81,70 +81,70 @@
|
|
|
81
81
|
<dict>
|
|
82
82
|
<key>hash2</key>
|
|
83
83
|
<data>
|
|
84
|
-
|
|
84
|
+
LzeK1yoOZH+rhNERCIw/P5+MhbU2ewncikOTcgts3DE=
|
|
85
85
|
</data>
|
|
86
86
|
</dict>
|
|
87
87
|
<key>Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
88
88
|
<dict>
|
|
89
89
|
<key>hash2</key>
|
|
90
90
|
<data>
|
|
91
|
-
|
|
91
|
+
CHQ90qLA2fkcqELlq58/FuKWvVt5HOGkpb6qVfHTdtQ=
|
|
92
92
|
</data>
|
|
93
93
|
</dict>
|
|
94
94
|
<key>Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
95
95
|
<dict>
|
|
96
96
|
<key>hash2</key>
|
|
97
97
|
<data>
|
|
98
|
-
|
|
98
|
+
d/c4QW8UlEOcsQwd0RfDpf1VZed745sqPKV9WdQzHUc=
|
|
99
99
|
</data>
|
|
100
100
|
</dict>
|
|
101
101
|
<key>Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
102
102
|
<dict>
|
|
103
103
|
<key>hash2</key>
|
|
104
104
|
<data>
|
|
105
|
-
|
|
105
|
+
CHQ90qLA2fkcqELlq58/FuKWvVt5HOGkpb6qVfHTdtQ=
|
|
106
106
|
</data>
|
|
107
107
|
</dict>
|
|
108
108
|
<key>Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
109
109
|
<dict>
|
|
110
110
|
<key>hash2</key>
|
|
111
111
|
<data>
|
|
112
|
-
|
|
112
|
+
LeTg5NKnPyYZHXHAntfiNpfiZnIEAyQKvnipn8wnlcA=
|
|
113
113
|
</data>
|
|
114
114
|
</dict>
|
|
115
115
|
<key>Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
116
116
|
<dict>
|
|
117
117
|
<key>hash2</key>
|
|
118
118
|
<data>
|
|
119
|
-
|
|
119
|
+
LzeK1yoOZH+rhNERCIw/P5+MhbU2ewncikOTcgts3DE=
|
|
120
120
|
</data>
|
|
121
121
|
</dict>
|
|
122
122
|
<key>Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
123
123
|
<dict>
|
|
124
124
|
<key>hash2</key>
|
|
125
125
|
<data>
|
|
126
|
-
|
|
126
|
+
BVcdKXbJZdpfKfPmi1NRbSGLkXwrhtX/epd/HyDKHxk=
|
|
127
127
|
</data>
|
|
128
128
|
</dict>
|
|
129
129
|
<key>Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
130
130
|
<dict>
|
|
131
131
|
<key>hash2</key>
|
|
132
132
|
<data>
|
|
133
|
-
/
|
|
133
|
+
Jfh1jfFxV3Otr37O6pia2JYNPNHI/jcU3LmHHYmsyuw=
|
|
134
134
|
</data>
|
|
135
135
|
</dict>
|
|
136
136
|
<key>Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
137
137
|
<dict>
|
|
138
138
|
<key>hash2</key>
|
|
139
139
|
<data>
|
|
140
|
-
|
|
140
|
+
BVcdKXbJZdpfKfPmi1NRbSGLkXwrhtX/epd/HyDKHxk=
|
|
141
141
|
</data>
|
|
142
142
|
</dict>
|
|
143
143
|
<key>Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
144
144
|
<dict>
|
|
145
145
|
<key>hash2</key>
|
|
146
146
|
<data>
|
|
147
|
-
|
|
147
|
+
tE4zuZk99YjkJQtf+EoFTXppXEQEGe2RwUNT7luu7iY=
|
|
148
148
|
</data>
|
|
149
149
|
</dict>
|
|
150
150
|
<key>Modules/module.modulemap</key>
|
package/android/src/main/java/com/fireworksdk/bridge/components/storyblock/StoryBlockFragment.kt
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
package com.fireworksdk.bridge.components.storyblock
|
|
2
2
|
|
|
3
|
+
import android.graphics.Outline
|
|
3
4
|
import android.os.Bundle
|
|
4
5
|
import android.view.LayoutInflater
|
|
5
6
|
import android.view.View
|
|
6
7
|
import android.view.View.LAYOUT_DIRECTION_LOCALE
|
|
7
8
|
import android.view.ViewGroup
|
|
9
|
+
import android.view.ViewOutlineProvider
|
|
8
10
|
import android.widget.FrameLayout
|
|
9
11
|
import com.firework.storyblock.FeedLoadListener
|
|
10
12
|
import com.firework.storyblock.FwStoryBlockView
|
|
@@ -65,6 +67,7 @@ class StoryBlockFragment : FWBaseFragment() {
|
|
|
65
67
|
|
|
66
68
|
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
|
|
67
69
|
super.onViewCreated(view, savedInstanceState)
|
|
70
|
+
setStoryBlockContainerCorner()
|
|
68
71
|
initStoryBlock()
|
|
69
72
|
}
|
|
70
73
|
|
|
@@ -154,4 +157,21 @@ class StoryBlockFragment : FWBaseFragment() {
|
|
|
154
157
|
}
|
|
155
158
|
}
|
|
156
159
|
}
|
|
160
|
+
|
|
161
|
+
private fun setStoryBlockContainerCorner() {
|
|
162
|
+
val cornerRadius = videoFeedPropsModel?.cornerRadius
|
|
163
|
+
if (cornerRadius != null && cornerRadius >= 0) {
|
|
164
|
+
val cornerRadiusPx = FWCommonUtil.dpToPx(cornerRadius.toFloat(), requireContext()).toFloat()
|
|
165
|
+
|
|
166
|
+
val outlineProvider = object : ViewOutlineProvider() {
|
|
167
|
+
override fun getOutline(view: View?, outline: Outline?) {
|
|
168
|
+
view?.let {
|
|
169
|
+
outline?.setRoundRect(0, 0, view.width, view.height, cornerRadiusPx)
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
binding.storyBlockContainer.outlineProvider = outlineProvider
|
|
174
|
+
binding.storyBlockContainer.clipToOutline = true
|
|
175
|
+
}
|
|
176
|
+
}
|
|
157
177
|
}
|
|
@@ -6,8 +6,6 @@ import android.view.ViewGroup
|
|
|
6
6
|
import android.widget.FrameLayout
|
|
7
7
|
import com.firework.videofeed.FwVideoFeedView
|
|
8
8
|
import com.fireworksdk.bridge.models.*
|
|
9
|
-
import com.fireworksdk.bridge.models.enums.FWVideoFeedMode
|
|
10
|
-
import com.fireworksdk.bridge.models.enums.FWVideoFeedSource
|
|
11
9
|
import com.fireworksdk.bridge.utils.FWConfigUtil
|
|
12
10
|
import com.fireworksdk.bridge.utils.FWLanguageUtil
|
|
13
11
|
|
|
@@ -34,77 +32,11 @@ class FWVideoFeed(
|
|
|
34
32
|
requestLayout()
|
|
35
33
|
}
|
|
36
34
|
|
|
37
|
-
fun
|
|
35
|
+
fun initVideoFeedView() {
|
|
38
36
|
val viewOptionsBuilder = FWConfigUtil.generateViewOptionsBuilder(context, videoFeedPropsModel)
|
|
39
37
|
videoFeedView.init(viewOptionsBuilder.build())
|
|
40
38
|
}
|
|
41
39
|
|
|
42
|
-
fun setProps(props: FWVideoFeedPropsModel?) {
|
|
43
|
-
props ?: return
|
|
44
|
-
videoFeedPropsModel = props
|
|
45
|
-
afterUpdateTransaction()
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
fun setSourceProps(source: String?) {
|
|
49
|
-
videoFeedPropsModel = videoFeedPropsModel.copy(
|
|
50
|
-
source = if (!source.isNullOrBlank()) FWVideoFeedSource.deserialize(source) else null
|
|
51
|
-
)
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
fun setChannelProps(channel: String?) {
|
|
55
|
-
videoFeedPropsModel = videoFeedPropsModel.copy(
|
|
56
|
-
channel = channel
|
|
57
|
-
)
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
fun setPlaylistProps(playlist: String?) {
|
|
61
|
-
videoFeedPropsModel = videoFeedPropsModel.copy(
|
|
62
|
-
playlist = playlist
|
|
63
|
-
)
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
fun setPlaylistGroupProps(playlistGroup: String?) {
|
|
67
|
-
videoFeedPropsModel = videoFeedPropsModel.copy(
|
|
68
|
-
playlistGroup = playlistGroup
|
|
69
|
-
)
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
fun setHashtagFilterExpressionProps(hashtagFilterExpression: String?) {
|
|
73
|
-
videoFeedPropsModel = videoFeedPropsModel.copy(
|
|
74
|
-
hashtagFilterExpression = hashtagFilterExpression
|
|
75
|
-
)
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
fun setModeProps(mode: String?) {
|
|
79
|
-
videoFeedPropsModel = videoFeedPropsModel.copy(
|
|
80
|
-
mode = if (!mode.isNullOrBlank()) FWVideoFeedMode.deserialize(mode) else null
|
|
81
|
-
)
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
fun setEnablePictureInPicture(enablePictureInPicture: Boolean?) {
|
|
85
|
-
videoFeedPropsModel = videoFeedPropsModel.copy(
|
|
86
|
-
enablePictureInPicture = enablePictureInPicture
|
|
87
|
-
)
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
fun setDynamicContentParametersProps(dynamicContentParameters: HashMap<String, List<String>>?) {
|
|
91
|
-
videoFeedPropsModel = videoFeedPropsModel.copy(
|
|
92
|
-
dynamicContentParameters = dynamicContentParameters
|
|
93
|
-
)
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
fun setVideoFeedConfigProps(config: FWVideoFeedConfigModel?) {
|
|
97
|
-
videoFeedPropsModel = videoFeedPropsModel.copy(
|
|
98
|
-
videoFeedConfiguration = config
|
|
99
|
-
)
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
fun setVideoPlayerConfigProps(config: FWVideoPlayerConfigModel?) {
|
|
103
|
-
videoFeedPropsModel = videoFeedPropsModel.copy(
|
|
104
|
-
videoPlayerConfiguration = config
|
|
105
|
-
)
|
|
106
|
-
}
|
|
107
|
-
|
|
108
40
|
fun refresh() {
|
|
109
41
|
videoFeedView.refresh()
|
|
110
42
|
}
|
|
@@ -9,10 +9,12 @@ data class FWVideoFeedPropsModel(
|
|
|
9
9
|
val playlist: String? = null,
|
|
10
10
|
val playlistGroup: String? = null,
|
|
11
11
|
val hashtagFilterExpression: String? = null,
|
|
12
|
+
val productIds: List<String>? = null,
|
|
13
|
+
val shareUrl: String? = null,
|
|
12
14
|
val mode: FWVideoFeedMode? = null,
|
|
13
|
-
val enablePictureInPicture: Boolean? = null,
|
|
14
15
|
val videoFeedConfiguration: FWVideoFeedConfigModel? = null,
|
|
15
16
|
val videoPlayerConfiguration: FWVideoPlayerConfigModel? = null,
|
|
16
17
|
val dynamicContentParameters: Map<String, List<String>>? = null,
|
|
17
18
|
val marginRight: Double? = null,
|
|
19
|
+
val cornerRadius: Int? = null,
|
|
18
20
|
)
|
package/android/src/main/java/com/fireworksdk/bridge/models/FWVideoFeedPropsModelDeserializer.kt
CHANGED
|
@@ -11,9 +11,11 @@ object FWVideoFeedPropsModelDeserializer {
|
|
|
11
11
|
private const val PLAYLIST_KEY = "playlist"
|
|
12
12
|
private const val PLAYLIST_GROUP_KEY = "playlistGroup"
|
|
13
13
|
private const val HASHTAG_FILTER_EXPRESSION_KEY = "hashtagFilterExpression"
|
|
14
|
+
private const val PRODUCT_IDS_KEY = "productIds"
|
|
15
|
+
private const val SHARE_URL_KEY = "shareUrl"
|
|
14
16
|
private const val MODE_KEY = "mode"
|
|
15
|
-
private const val ENABLE_PIP_KEY = "enablePictureInPicture"
|
|
16
17
|
private const val MARGIN_RIGHT_KEY = "marginRight"
|
|
18
|
+
private const val CORNER_RADIUS_KEY = "cornerRadius"
|
|
17
19
|
|
|
18
20
|
private const val VIDEO_FEED_CONFIGURATION_KEY = "videoFeedConfiguration"
|
|
19
21
|
private const val VIDEO_PLAYER_CONFIGURATION_KEY = "videoPlayerConfiguration"
|
|
@@ -29,8 +31,20 @@ object FWVideoFeedPropsModelDeserializer {
|
|
|
29
31
|
val playlistGroup = if (responseJson.has(PLAYLIST_GROUP_KEY)) responseJson.optString(PLAYLIST_GROUP_KEY) else null
|
|
30
32
|
val hashtagFilterExpression = if (responseJson.has(HASHTAG_FILTER_EXPRESSION_KEY)) responseJson.optString(
|
|
31
33
|
HASHTAG_FILTER_EXPRESSION_KEY) else null
|
|
34
|
+
|
|
35
|
+
var productIds: List<String>? = null
|
|
36
|
+
val productIdJsonArray = if (responseJson.has(PRODUCT_IDS_KEY)) responseJson.optJSONArray(PRODUCT_IDS_KEY) else null
|
|
37
|
+
if (productIdJsonArray != null) {
|
|
38
|
+
val list: MutableList<String> = mutableListOf()
|
|
39
|
+
(0 until productIdJsonArray.length()).forEach {
|
|
40
|
+
val value = productIdJsonArray.getString(it)
|
|
41
|
+
list.add(value)
|
|
42
|
+
}
|
|
43
|
+
productIds = list
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
val shareUrl = if (responseJson.has(SHARE_URL_KEY)) responseJson.optString(SHARE_URL_KEY) else null
|
|
32
47
|
val mode = if (responseJson.has(MODE_KEY)) responseJson.optString(MODE_KEY) else null
|
|
33
|
-
val enablePictureInPicture = if (responseJson.has(ENABLE_PIP_KEY)) responseJson.optBoolean(ENABLE_PIP_KEY) else null
|
|
34
48
|
|
|
35
49
|
val videoFeedConfiguration = FWVideoFeedConfigModelDeserializer.deserialize(
|
|
36
50
|
responseJson.optJSONObject(VIDEO_FEED_CONFIGURATION_KEY)
|
|
@@ -63,6 +77,7 @@ object FWVideoFeedPropsModelDeserializer {
|
|
|
63
77
|
}
|
|
64
78
|
|
|
65
79
|
val marginRight = if (responseJson.has(MARGIN_RIGHT_KEY)) responseJson.optDouble(MARGIN_RIGHT_KEY) else null
|
|
80
|
+
val cornerRadius = if (!responseJson.isNull(CORNER_RADIUS_KEY)) responseJson.optInt(CORNER_RADIUS_KEY) else null
|
|
66
81
|
|
|
67
82
|
return FWVideoFeedPropsModel(
|
|
68
83
|
source = if (!source.isNullOrBlank()) FWVideoFeedSource.deserialize(source) else null,
|
|
@@ -70,12 +85,14 @@ object FWVideoFeedPropsModelDeserializer {
|
|
|
70
85
|
playlist = playlist,
|
|
71
86
|
playlistGroup = playlistGroup,
|
|
72
87
|
hashtagFilterExpression = hashtagFilterExpression,
|
|
88
|
+
productIds = productIds,
|
|
89
|
+
shareUrl = shareUrl,
|
|
73
90
|
mode = if (!mode.isNullOrBlank()) FWVideoFeedMode.deserialize(mode) else null,
|
|
74
|
-
enablePictureInPicture= enablePictureInPicture,
|
|
75
91
|
videoFeedConfiguration = videoFeedConfiguration,
|
|
76
92
|
videoPlayerConfiguration = storyBlockConfiguration ?: videoPlayerConfiguration,
|
|
77
93
|
dynamicContentParameters = dynamicContentParameters,
|
|
78
|
-
marginRight = marginRight
|
|
94
|
+
marginRight = marginRight,
|
|
95
|
+
cornerRadius = cornerRadius,
|
|
79
96
|
)
|
|
80
97
|
}
|
|
81
98
|
}
|