Skip to content

react-native-video works in debug but not release builds #7855

@ryfow

Description

@ryfow

react-native-video works in debug but not release builds

Environment

PS C:\Projects\RNVProblem> npx react-native-version
npx: installed 51 in 5.957s
[RNV] Versioning Android...
[RNV] Android updated
[RNV] Versioning iOS...
[RNV] iOS updated
[RNV] Done
PS C:\Projects\RNVProblem> npx react-native info
info Fetching system and libraries information...
System:
    OS: Windows 10 10.0.19041
    CPU: (10) x64 Intel(R) Xeon(R) Gold 6126 CPU @ 2.60GHz
    Memory: 6.18 GB / 12.00 GB
  Binaries:
    Node: 14.8.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.4 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 6.14.7 - C:\Program Files\nodejs\npm.CMD
    Watchman: Not Found
  SDKs:
    Android SDK: Not Found
    Windows SDK:
      AllowDevelopmentWithoutDevLicense: Enabled
      AllowAllTrustedApps: Enabled
      Versions: 10.0.15063.0, 10.0.16299.0, 10.0.18362.0, 10.0.19041.0
  IDEs:
    Android Studio: Not Found
    Visual Studio: 16.9.31229.75 (Visual Studio Professional 2019), 16.7.31229.181 (Visual Studio Enterprise 2019)
  Languages:
    Java: 11.0.8 - C:\Program Files\Zulu\zulu-11\bin\javac.EXE
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.1 => 17.0.1
    react-native: 0.64.0 => 0.64.0
    react-native-windows: ^0.64.0-0 => 0.64.9
  npmGlobalPackages:
    *react-native*: Not Found
PS C:\Projects\RNVProblem>

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. Try running a release build of https://github.com/ryfow/RNVProblem on Windows

Expected Results

I expect a screen to render and some audio to play when the app runs.

Instead, I see a white screen, hear no audio, and see this exception in the debugger when all C++ exceptions break.

image

Snack, code example, screenshot, or link to a repository:

https://github.com/ryfow/RNVProblem

Metadata

Metadata

Assignees

No one assigned

    Labels

    ExtensionsTracks issues against community modules and extensionsExternalIssue tracked in this repo but change will need to happen in another repobug

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions