File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 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)
106106        "-Wl,--no-undefined" 
107107        # Link against the static libc++, which is the default done by Gradle. 
108108        "-static-libstdc++" 
109+         # Set the max page size to 16KB, needed by Android 15 
110+         "-Wl,-z,max-page-size=16384" 
109111    )
110112    add_custom_command (TARGET  ${shared_target}  POST_BUILD
111113      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)
8686        "-Wl,--no-undefined" 
8787        # Link against the static libc++, which is the default done by Gradle. 
8888        "-static-libstdc++" 
89+         # Set the max page size to 16KB, needed by Android 15 
90+         "-Wl,-z,max-page-size=16384" 
8991    )
9092    add_custom_command (TARGET  firebase_app_uni POST_BUILD
9193      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
7171
7272Release Notes
7373------------- 
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+ 
7479### 12.5.0  
7580-  Changes
7681    -  General: Update to Firebase C++ SDK version 12.5.0.
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments