Skip to content

Commit 90c91f6

Browse files
ErikUggeldahlErikUggeldahl
andcommitted
Support 16kb devices by bumping to NDK r27
As suggested by the docs, this is the best way to support newer devices requiring 16kb page support. https://developer.android.com/guide/practices/page-sizes#compile-r27 - [x] Looking to see that Goldens pass before merging. Diffs= f653f3f73f Support 16kb devices by bumping to NDK r27 (#8558) 572265df3b call syncStyleChanges on update (#8715) e8d6e5db26 Override layoutcomponent x/y using layoutX/Y (#8714) d3f6a49778 Nnnn data bind fixes part 3 (#8663) baf832a6ce Instance data converters when attached to data binding objects (#8664) 0664f994df Snap verycomplexgrad gm stops to pixel boundaries (#8685) 39c62a94ef ScrollBar constraint autosize toggle (#8707) 7c3c8a3a1a Don't use GL_PIXEL_UNPACK_BUFFER (#8708) 5df5be1940 Add "no_rive_jpeg" and "no_rive_png" build options (#8702) d7794cb556 Improve scroll time precision on web (#8705) d0c9e98d2e Scroll fixes (#8698) ca10c9ec63 re add clean to diff (#8697) f00a5a6c78 do not break when component is found (#8695) 437688c18e Add yoga renames to non-v2 lua build scripts (#8693) 423301a95b Fix integer precision issues with pathID in vertex shaders (#8689) b1c0e80625 use draw proxy for scroll bar draggables (#8692) 302606642c GL fixes for Imagination PowerVR GPUs (#8684) e5879a1a5c Fix scrollbar thumb offset (#8691) 7414d20597 Sort by % diff pixels in diff.py when histogram is equal (#8683) 00e9ad43a7 fix sorting hittable components (#8690) fa8f7c6755 fix crash when dividing by 0 (#8687) cd310b1b68 Nnnn scrolling override poc part 2 (#8679) ac7c458bc7 Small Scroll fixes (#8682) 0ff13be381 Make scroll physics core objects (#8672) 9dfd01fb3a made compatable with python 9_9 (#8678) 454bc50aaf diff.py: don't count identicals as differences (#8666) c642488df3 added some changes to make building easier for unreal (#8667) 1647a7ad92 use actual sizes for calculating position offset (#8671) 599ab0eeb7 Reapply "Merge branch 'master' of https://github.com/rive-app/rive" 406a2ef952 Revert "Merge branch 'master' of https://github.com/rive-app/rive" 3c0cc1f329 skip object on animation reset if it is null (#8670) 1d2c9175d4 remove letter spacing subtraction (#8669) 96ec927371 fix fatal warnings compiler flag to use latest version (#8668) Co-authored-by: Erik <erik@rive.app>
1 parent e922617 commit 90c91f6

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

.rive_head

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c084b3c60822506bec6410597e7bf4d16ef21d90
1+
f653f3f73f23eed970f823d7e9c0f124c00c0fd4

example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2727

2828
android {
2929
compileSdkVersion 34
30-
ndkVersion "25.1.8937393"
30+
ndkVersion "27.2.12479018"
3131

3232
sourceSets {
3333
main.java.srcDirs += 'src/main/kotlin'

platform_considerations.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
# Platform Considerations
22

33
In order to support some of our more low level features, Rive brings some of its C++ runtime to Flutter.
4-
| Platform | Technology | Dependencies |
5-
| ------------- | ------------- | ------------- |
6-
| iOS | FFI | statically linked |
7-
| Android | FFI | rive_text.so |
8-
| Windows | FFI | rive_plugin.dll |
9-
| Mac | FFI | statically linked |
10-
| Web | WASM | rive_text.js, rive_text.wasm |
4+
5+
| Platform | Technology | Dependencies |
6+
| -------- | ---------- | -------------------------------- |
7+
| iOS | FFI | statically linked |
8+
| Android | FFI | `rive_text.so` |
9+
| Windows | FFI | `rive_plugin.dll` |
10+
| Mac | FFI | statically linked |
11+
| Web | WASM | `rive_text.js`, `rive_text.wasm` |
1112

1213
## iOS & Mac
1314

14-
We use cocoapods to build and statically link to your project the portions of Rive's C++ runtime that are necessary for text features.
15+
We use CocoaPods to build and statically link to your project the portions of Rive's C++ runtime that are necessary for text features.
1516

1617
## Android
1718

18-
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
19+
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"`.
1920

20-
```
21+
```gradle
2122
android {
2223
compileSdkVersion 31
23-
ndkVersion "25.1.8937393"
24+
ndkVersion "27.2.12479018"
2425
...
2526
}
2627
```
2728

2829
## Windows
2930

30-
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:
31-
https://learn.microsoft.com/en-us/cpp/build/clang-support-msbuild?view=msvc-170
31+
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.
3232

3333
## Web
3434

35-
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.
35+
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.

0 commit comments

Comments
 (0)