diff --git a/.rive_head b/.rive_head index ae6d175..a0b39ba 100644 --- a/.rive_head +++ b/.rive_head @@ -1 +1 @@ -c084b3c60822506bec6410597e7bf4d16ef21d90 +f653f3f73f23eed970f823d7e9c0f124c00c0fd4 diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 834d9b5..8d16ecb 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -27,7 +27,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { compileSdkVersion 34 - ndkVersion "25.1.8937393" + ndkVersion "27.2.12479018" sourceSets { main.java.srcDirs += 'src/main/kotlin' diff --git a/platform_considerations.md b/platform_considerations.md index bc06ead..e0e79c7 100644 --- a/platform_considerations.md +++ b/platform_considerations.md @@ -1,35 +1,35 @@ # Platform Considerations In order to support some of our more low level features, Rive brings some of its C++ runtime to Flutter. -| Platform | Technology | Dependencies | -| ------------- | ------------- | ------------- | -| iOS | FFI | statically linked | -| Android | FFI | rive_text.so | -| Windows | FFI | rive_plugin.dll | -| Mac | FFI | statically linked | -| Web | WASM | rive_text.js, rive_text.wasm | + +| Platform | Technology | Dependencies | +| -------- | ---------- | -------------------------------- | +| iOS | FFI | statically linked | +| Android | FFI | `rive_text.so` | +| Windows | FFI | `rive_plugin.dll` | +| Mac | FFI | statically linked | +| Web | WASM | `rive_text.js`, `rive_text.wasm` | ## iOS & Mac -We use cocoapods to build and statically link to your project the portions of Rive's C++ runtime that are necessary for text features. +We use CocoaPods to build and statically link to your project the portions of Rive's C++ runtime that are necessary for text features. ## Android -We use Gradle & CMake to build rive_text.so. Rive's runtime uses modern features that are only available on newer NDKs, for this reason we recommend updating your build.gradle to include ndkVersion 25.1.8937393 +We use Gradle & CMake to build `rive_text.so`. Rive's runtime uses modern features that are only available on newer NDKs. For this reason we recommend updating your build.gradle to include `ndkVersion "27.2.12479018"`. -``` +```gradle android { compileSdkVersion 31 - ndkVersion "25.1.8937393" + ndkVersion "27.2.12479018" ... } ``` ## Windows -We use CMake to build rive_plugin.dll. Note that Clang compiler is required, see here for how to enable it in your Visual Studio: -https://learn.microsoft.com/en-us/cpp/build/clang-support-msbuild?view=msvc-170 +We use CMake to build `rive_plugin.dll`. Note that Clang compiler is required, [see here](https://learn.microsoft.com/en-us/cpp/build/clang-support-msbuild?view=msvc-170) for how to enable it in your Visual Studio. ## Web -We use emscripten to build a wasm and js file which are statically served via unpkg similarly to how Flutter delivers the CanvasKit wasm file. +We use Emscripten to build a WASM and JS file which are statically served via UNPKG similarly to how Flutter delivers the CanvasKit WASM file.