Giter Site home page Giter Site logo

nzme / react-native-brightcove-ima-player Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 5.0 3.4 MB

Brightcove Native IMA SDK bridge for React Native

License: MIT License

Shell 0.16% Java 51.13% JavaScript 1.59% TypeScript 11.60% C 0.11% Objective-C 33.77% Swift 0.08% Ruby 1.56%
brightcove react-native

react-native-brightcove-ima-player's People

Contributors

aleccolville avatar aleccolville-nzme avatar dependabot[bot] avatar manojalwisnz avatar matejdr avatar mharrison-nzme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

react-native-brightcove-ima-player's Issues

Captions button doesn't show up

Hello, I'm trying to show the captions button for a video, but the captions button doesn't show up and when I look into the logs I see the following warning Could not register controller com.brightcove.player.mediacontroller.buttons.CaptionsButtonController@2e3eaea with id 2131361891 because its button is null

After installation "app:checkDebugDuplicateClasses FAILED" error shows up

After adding the package to my app I got this error:

ReactNativeFirebase WARNING: NPM package '@react-native-firebase/crashlytics' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.
ReactNativeFirebase WARNING: NPM package '@react-native-firebase/dynamic-links' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.
ReactNativeFirebase WARNING: NPM package '@react-native-firebase/crashlytics' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.
ReactNativeFirebase WARNING: NPM package '@react-native-firebase/dynamic-links' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.
ReactNativeFirebase WARNING: NPM package '@react-native-firebase/perf' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
589 actionable tasks: 480 executed, 109 up-to-date
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Note: ../node_modules/@react-native-community/async-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStorageModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../node_modules/@react-native-community/viewpager/android/src/main/java/com/reactnativecommunity/viewpager/ReactViewPagerManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../node_modules/@react-native-firebase/crashlytics/android/src/main/java/io/invertase/firebase/crashlytics/ReactNativeFirebaseCrashlyticsModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../node_modules/@react-native-firebase/remote-config/android/src/main/java/io/invertase/firebase/config/UniversalFirebaseConfigModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../node_modules/@react-native-firebase/analytics/android/src/main/java/io/invertase/firebase/analytics/UniversalFirebaseAnalyticsModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: [2] Wrote GeneratedAppGlideModule with: [com.bumptech.glide.integration.okhttp3.OkHttpLibraryGlideModule, com.dylanvann.fastimage.FastImageOkHttpProgressGlideModule]
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: ../node_modules/react-native-orientation/android/src/main/java/com/github/yamill/orientation/OrientationModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note:../node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/NodesManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: ..node_modules/react-native-share/android/src/main/java/cl/json/RNSharePathUtil.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note:../node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDebugDuplicateClasses'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
   > Duplicate class com.google.android.gms.internal.measurement.zzlp found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
     Duplicate class com.google.android.gms.internal.measurement.zzm found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
     Duplicate class com.google.android.gms.internal.measurement.zzn found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
     Duplicate class com.google.android.gms.internal.measurement.zzo found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
     Duplicate class com.google.android.gms.internal.measurement.zzp found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
     Duplicate class com.google.android.gms.measurement.internal.zzgz found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
     Duplicate class com.google.android.gms.measurement.internal.zzia found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
     Duplicate class com.google.android.gms.measurement.internal.zzig found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
     
     Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 52s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Note: ../node_modules/@react-native-community/async-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStorageModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../node_modules/@react-native-community/viewpager/android/src/main/java/com/reactnativecommunity/viewpager/ReactViewPagerManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../node_modules/@react-native-firebase/crashlytics/android/src/main/java/io/invertase/firebase/crashlytics/ReactNativeFirebaseCrashlyticsModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../node_modules/@react-native-firebase/remote-config/android/src/main/java/io/invertase/firebase/config/UniversalFirebaseConfigModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../node_modules/@react-native-firebase/analytics/android/src/main/java/io/invertase/firebase/analytics/UniversalFirebaseAnalyticsModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: [2] Wrote GeneratedAppGlideModule with: [com.bumptech.glide.integration.okhttp3.OkHttpLibraryGlideModule, com.dylanvann.fastimage.FastImageOkHttpProgressGlideModule]
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: ../node_modules/react-native-orientation/android/src/main/java/com/github/yamill/orientation/OrientationModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/NodesManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: ../node_modules/react-native-share/android/src/main/java/cl/json/RNSharePathUtil.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDebugDuplicateClasses'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
   > Duplicate class com.google.android.gms.internal.measurement.zzlp found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
     Duplicate class com.google.android.gms.internal.measurement.zzm found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
     Duplicate class com.google.android.gms.internal.measurement.zzn found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
     Duplicate class com.google.android.gms.internal.measurement.zzo found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
     Duplicate class com.google.android.gms.internal.measurement.zzp found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
     Duplicate class com.google.android.gms.measurement.internal.zzgz found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
     Duplicate class com.google.android.gms.measurement.internal.zzia found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
     Duplicate class com.google.android.gms.measurement.internal.zzig found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
     
     Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 52s

    at makeError (../node_modules/execa/index.js:174:9)
    at ../node_modules/execa/index.js:278:16
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async runOnAllDevices (../node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:109:5)
    at async Command.handleAction (../node_modules/@react-native-community/cli/build/index.js:192:9)
info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.```

install on iOS

After installing the package and add source 'https://github.com/brightcove/BrightcoveSpecs.git' to Podfile
then command pod install && pod update

I got this issue [!] Unable to find a specification for `Google-Mobile-Ads-SDK (~> 8.11.0)` depended upon by `react-native-brightcove-ima-player`

Analyzing dependencies
[!] Unable to find a specification for `Google-Mobile-Ads-SDK (~> 8.11.0)` depended upon by `react-native-brightcove-ima-player`

You have either:
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.


[!] NPM package '@react-native-firebase/crashlytics' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.

[!] NPM package '@react-native-firebase/dynamic-links' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.

[!] NPM package '@react-native-firebase/perf' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.

[!] NPM package '@react-native-firebase/crashlytics' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.

[!] NPM package '@react-native-firebase/dynamic-links' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.

[!] NPM package '@react-native-firebase/perf' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.