File tree 3 files changed +9
-0
lines changed
3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,8 @@ function(build_firebase_shared LIBRARY_NAME ARTIFACT_NAME OUTPUT_NAME)
106
106
"-Wl,--no-undefined"
107
107
# Link against the static libc++, which is the default done by Gradle.
108
108
"-static-libstdc++"
109
+ # Set the max page size to 16KB, needed by Android 15
110
+ "-Wl,-z,max-page-size=16384"
109
111
)
110
112
add_custom_command (TARGET ${shared_target} POST_BUILD
111
113
COMMAND "${ANDROID_TOOLCHAIN_PREFIX} strip" -g -S -d --strip-debug --verbose
Original file line number Diff line number Diff line change @@ -86,6 +86,8 @@ function(build_uni TARGET_LINK_LIB_NAMES PROJECT_LIST_HEADER_VARIABLE)
86
86
"-Wl,--no-undefined"
87
87
# Link against the static libc++, which is the default done by Gradle.
88
88
"-static-libstdc++"
89
+ # Set the max page size to 16KB, needed by Android 15
90
+ "-Wl,-z,max-page-size=16384"
89
91
)
90
92
add_custom_command (TARGET firebase_app_uni POST_BUILD
91
93
COMMAND "${ANDROID_TOOLCHAIN_PREFIX} strip" -g -S -d --strip-debug --verbose
Original file line number Diff line number Diff line change @@ -71,6 +71,11 @@ Support
71
71
72
72
Release Notes
73
73
-------------
74
+ ### Upcoming
75
+ - Changes
76
+ - General (Android): Support 16 KB page sizes, needed by Android 15.
77
+ For more info, see https://developer.android.com/guide/practices/page-sizes
78
+
74
79
### 12.5.0
75
80
- Changes
76
81
- General: Update to Firebase C++ SDK version 12.5.0.
You can’t perform that action at this time.
0 commit comments