Skip to content

React Native: uniffi-bindgen-react-native doesn't support the latest uniffi version #688

Description

@vivianjeng

Problem

We have updated uniffi to the latest version 0.31.0 to pass the CI tests
However, the uniffi-bindgen-react-native still uses 0.29.0
and there is an open issue
jhugman/uniffi-bindgen-react-native#316

It results in different behavior in bindings
especially using C++ libraries (e.g. circom-witnesscalc)

Details

We need to check how to make the uniffi-bindgen-react-native works in mopro-ffi with different adapters

Acceptance criteria

Check the following works in React Native framework (especially for Android)

  • witnesscalc works for iOS
  • witnesscalc works for Android
  • circom-witnesscalc works for iOS
  • circom-witnesscalc works for Android

Next steps (optional)

Check how to use react native bindings in https://github.com/zkmopro/CircomReactNative
(Now it uses bindings from kotlin and swift and there are manually written glue codes)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions