react-native-firework-sdk 2.17.1 → 2.17.2
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/ios/Components/StoryBlock.swift +4 -0
- package/ios/Components/StoryBlockConfiguration.swift +1 -0
- package/ios/Components/VideoFeed.swift +4 -0
- package/ios/Components/VideoPlayerConfiguration.swift +2 -1
- package/ios/Models/Common/PipPlacement.swift +20 -0
- package/ios/Modules/FWNavigatorModule/FWNavigatorModule.swift +4 -7
- package/lib/commonjs/FWNavigator.js +0 -2
- package/lib/commonjs/FWNavigator.js.map +1 -1
- package/lib/commonjs/components/StoryBlock.js +2 -0
- package/lib/commonjs/components/StoryBlock.js.map +1 -1
- package/lib/commonjs/components/VideoFeed.js +2 -0
- package/lib/commonjs/components/VideoFeed.js.map +1 -1
- package/lib/commonjs/index.js +7 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/models/PipPlacement.js +18 -0
- package/lib/commonjs/models/PipPlacement.js.map +1 -0
- package/lib/module/FWNavigator.js +0 -2
- package/lib/module/FWNavigator.js.map +1 -1
- package/lib/module/components/StoryBlock.js +2 -0
- package/lib/module/components/StoryBlock.js.map +1 -1
- package/lib/module/components/VideoFeed.js +2 -0
- package/lib/module/components/VideoFeed.js.map +1 -1
- package/lib/module/index.js +2 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/models/PipPlacement.js +14 -0
- package/lib/module/models/PipPlacement.js.map +1 -0
- package/lib/typescript/commonjs/src/FWNavigator.d.ts +0 -2
- package/lib/typescript/commonjs/src/FWNavigator.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/StoryBlock.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/VideoFeed.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/index.d.ts +2 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/models/PipPlacement.d.ts +11 -0
- package/lib/typescript/commonjs/src/models/PipPlacement.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/models/StoryBlockConfiguration.d.ts +7 -0
- package/lib/typescript/commonjs/src/models/StoryBlockConfiguration.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/models/VideoPlayerConfiguration.d.ts +7 -0
- package/lib/typescript/commonjs/src/models/VideoPlayerConfiguration.d.ts.map +1 -1
- package/lib/typescript/module/src/FWNavigator.d.ts +0 -2
- package/lib/typescript/module/src/FWNavigator.d.ts.map +1 -1
- package/lib/typescript/module/src/components/StoryBlock.d.ts.map +1 -1
- package/lib/typescript/module/src/components/VideoFeed.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts +2 -1
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/models/PipPlacement.d.ts +11 -0
- package/lib/typescript/module/src/models/PipPlacement.d.ts.map +1 -0
- package/lib/typescript/module/src/models/StoryBlockConfiguration.d.ts +7 -0
- package/lib/typescript/module/src/models/StoryBlockConfiguration.d.ts.map +1 -1
- package/lib/typescript/module/src/models/VideoPlayerConfiguration.d.ts +7 -0
- package/lib/typescript/module/src/models/VideoPlayerConfiguration.d.ts.map +1 -1
- package/package.json +1 -1
- package/react_native_firework_sdk.podspec +1 -1
- package/src/FWNavigator.ts +0 -2
- package/src/components/StoryBlock.tsx +2 -0
- package/src/components/VideoFeed.tsx +2 -0
- package/src/index.tsx +2 -0
- package/src/models/PipPlacement.ts +11 -0
- package/src/models/StoryBlockConfiguration.ts +8 -0
- package/src/models/VideoPlayerConfiguration.ts +8 -0
|
@@ -8,6 +8,7 @@ import type { VideoPlayerLogoConfiguration } from './VideoPlayerLogoConfiguratio
|
|
|
8
8
|
import type { ReplayBadgeConfiguration } from './ReplayBadgeConfiguration';
|
|
9
9
|
import type CountdownTimerConfiguration from './CountdownTimerConfiguration';
|
|
10
10
|
import type { StatusBarStyle } from './StatusBarStyle';
|
|
11
|
+
import type { PipPlacement } from './PipPlacement';
|
|
11
12
|
|
|
12
13
|
export default interface VideoPlayerConfiguration {
|
|
13
14
|
/**
|
|
@@ -100,4 +101,11 @@ export default interface VideoPlayerConfiguration {
|
|
|
100
101
|
* Specifies the status bar style during video playback.
|
|
101
102
|
*/
|
|
102
103
|
statusBarStyle?: StatusBarStyle;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Specifies the placement for in-app PiP.
|
|
107
|
+
* Defaults to bottomRight.
|
|
108
|
+
* Only supported on iOS.
|
|
109
|
+
*/
|
|
110
|
+
pipPlacement?: PipPlacement;
|
|
103
111
|
}
|