CrypteCipher/core/uniffi
MoCipher aae968b1c2 new file: core/uniffi/bindings/android/Cryptec.java
new file:   core/uniffi/bindings/ios/Cryptec.h
	new file:   mobile/__tests__/nativeModuleIntegration.test.ts
	new file:   mobile/android/src/main/java/com/cryptec/CryptecModule.java
	new file:   mobile/android/src/main/java/com/cryptec/CryptecPackage.java
	new file:   mobile/ios/CryptecModule.m
2026-02-20 10:10:41 +01:00
..
bindings new file: core/uniffi/bindings/android/Cryptec.java 2026-02-20 10:10:41 +01:00
cryptec.udl feat(ui): complete mobile + desktop scaffolds; add UniFFI UDL scaffold; CI run mobile & electron tests 2026-02-20 09:54:07 +01:00
README.md feat(ui): complete mobile + desktop scaffolds; add UniFFI UDL scaffold; CI run mobile & electron tests 2026-02-20 09:54:07 +01:00

UniFFI scaffold for CrypteCipher core

This folder contains a UDL interface describing the minimal set of APIs the mobile app will consume on-device.

How to generate bindings (developer machine):

  1. Install uniffi-bindgen (Rust/Cargo or prebuilt binary).
  2. From core/ run:
    uniffi-bindgen generate uniffi/cryptec.udl -l objc -o bindings/ios
    uniffi-bindgen generate uniffi/cryptec.udl -l java -o bindings/android
    
  3. Implement platform-specific glue in the generated wrappers and add React Native native modules that call them.

Note: CI currently ships a JS fallback for mobile; UniFFI integration will be enabled in CI once native toolchains are added.