polywrap / wrap-cli

Used to create, build, and integrate wraps.
https://polywrap.io
MIT License
170 stars 52 forks source link

Android (Kotlin) app template #1867

Closed krisbitney closed 11 months ago

krisbitney commented 11 months ago

This PR adds an Android app template using the Kotlin app bindings.

Depends on: https://github.com/polywrap/cli/pull/1868 https://github.com/polywrap/wrap-abi-bindgen/pull/53

Ethereum wrapper invocation is not yet working due to incompatibility in Rust wrapscan uri resolver:

uniffi.polywrap_native.FfiException$LoadWrapperException: uri=wrap://ens/wraps.eth:ethereum@1.0.0, err=Failed to resolve wrapper: `Error loading wrapper, uri: wrap://wrapscan.io/polywrap/wrapscan-uri-resolver@1.0: `Failed to resolve wrapper: `Failed to invoke wrapper, uri: `wrap://wrapscan.io/polywrap/http-uri-resolver@1.0`, method: `tryResolveUri`: missing required CPU features: "EnumSet(SSE2 | SSE3 | SSSE3 | SSE41 | SSE42 | POPCNT | AVX | BMI1 | BMI2 | AVX2 | AVX512DQ | AVX512VL | AVX512F | LZCNT)"