Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@flowplayer/react-native-sdk
Advanced tools
Official Wowza Flowplayer React Native SDK
The Wowza Flowplayer React Native SDK allows you to seamlessly integrate the Wowza Flowplayer into native Android and iOS applications that leverage the React Native framework for development.
The SDK provides an easy-to-use API that wraps our native Android and Apple SDKs in a JavaScript layer that's exposed via Node Package Manager (npm). This enables you to develop cross-platform native mobile applications using only JavaScript. Ultimately, you can take advantage of the features that ship with our native Android and Apple SDKs as you enhance the video playback experience for your users.
See our official Wowza Flowplayer React Native SDK documentation for more.
The Wowza Flowplayer React Native SDK currently supports these platforms:
There's no current support for TV platforms, such as tvOS and Android TV.
For a list of supported features, check our official documentation.
Before you start with the latest version of the Wowza Flowplayer React Native SDK, check the requirements in the following tables.
Requirement | Version information |
---|---|
Supported platforms | OS 14.0+, iPadOS 14.0+ |
Minimum system requirements | Swift 5.7+, macOS 13.0+ |
Software requirements | Xcode 15 and later |
For more, see About the Apple SDK > Before you start.
Requirement | Version information |
---|---|
Supported platforms | Android 4.4+ (API level 19+) |
Minimum system requirements | Java 8+, Kotlin 1.9 |
Software requirements | Android Studio Giraffe |
For more, see About the Android SDK > Before you start.
Before you can get started with the SDK, you must set up your development environment, add the SDK to your project, and configure your token to enable player content.
Working with our React Native SDK library requires:
If you need some help setting up your environment, we recommend this React Native CLI Quickstart. Once you select your Development OS and Target OS in the the React Native CLI Quickstart, you can see the required dependencies to work with the Wowza Flowplayer React Native SDK.
You can integrate the Wowza Flowplayer React Native SDK into your existing projects via Node Package Manager (npm) or yarn. To download and install, see the @flowplayer/react-native-sdk npm package. Run the following commands inside your iOS or Android project:
npm
npm install @flowplayer/react-native-sdk
yarn
yarn add @flowplayer/react-native-sdk
To allow the player to display content in your iOS or Android application, you have to set an access token. For platform-specific instructions, see Set an access token.
You can find a sample application showcasing features of the Wowza Flowplayer React Native SDK in the example folder. To learn how to start the example app and test our React Native SDK, see this README.md.
To use the SDK in your project, import the FlowplayerView
component and FlowplayerRef
type from the @flowplayer/react-native-sdk
package:
import FlowplayerView, { type FlowplayerRef } from "@flowplayer/react-native-sdk";
// Initialize a ref with the useRef hook that interacts with the FlowplayerView component
const ref = useRef<FlowplayerRef | null>(null);
// Call the load method on the FlowplayerView component, then load content with the ref
ref.current?.load(...)
// Render the FlowplayerView component and pass the ref to it
<FlowplayerView ref={ref} />;
For support, please open an issue in our GitHub repository or contact us directly at support@flowplayer.com.
We welcome contributions from the community! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.
FAQs
Official Wowza Flowplayer React Native SDK
The npm package @flowplayer/react-native-sdk receives a total of 14 weekly downloads. As such, @flowplayer/react-native-sdk popularity was classified as not popular.
We found that @flowplayer/react-native-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 17 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.