Skip to content

Postinstall binary download fails due to missing release assets (v0.6.0) #34

Description

@tomLadder

First off, thank you for creating & maintaining this library — it’s been really helpful for our project! ☺️

Problem

Since the latest release (v0.6.0), the package’s postinstall script downloads prebuilt binaries from the corresponding GitHub release.
However, in the most recent release, these assets were not attached.
As a result, the postinstall step fails with a download error, and the iOS build breaks due to missing native files.

Image

To Reproduce

  1. Install the latest version of @unomed/react-native-matrix-sdk
  2. Run yarn install or npm install
  3. Observe that the postinstall script fails to download binaries (HTTP 404 or similar)
  4. Try to build the iOS app — compilation fails due to missing binaries in build/

Expected behavior

The release on GitHub should have the required binaries attached so the postinstall script can successfully fetch them, allowing iOS to build without manual steps.

Workaround

Currently, I build the required binaries locally as described in the script comments and move them manually (actually via postinstall) to: node_modules/@unomed/react-native-matrix-sdk/build

This restores the ability to build for iOS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions