You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[shared_preference] Support 16KB Memory Page Size for Flutter Shared Preferences #194699
The AndroidX DataStore library has supported 16KB memory page sizes since version 1.2.1. Therefore, it is necessary to review and update the underlying dependencies or implementation of Flutter shared_preferences to ensure compatibility with this requirement.
Proposal
Since AndroidX DataStore 1.2.1 supports 16KB memory page sizes, updating the relevant dependencies or implementation in Flutter shared_preferences should be evaluated to provide equivalent compatibility where applicable.
changed the title [-]Support 16KB Memory Page Size for Flutter Shared Preferences[/-][+][shared_preference] Support 16KB Memory Page Size for Flutter Shared Preferences[/+]on Oct 19, 2026
@camle83it Thanks for the proposal. #182744 tracked the 16 KB page-size warning from libdatastore_shared_counter.so introduced through the DataStore dependency used by shared_preferences_android. That regression was addressed by reverting the dependency.
This looks like a follow-up to evaluate whether DataStore 1.2.1 can be used safely. The linked release notes don't explicitly confirm 16 KB page-size support, so this still needs verification. I'll label and route the issue to the Android team for evaluation.
You could create an Android project using DataStore versions 1.2.0 and 1.2.1, then analyze the resulting APKs to verify this.
I have tested it myself and confirmed that DataStore supports 16KB page sizes at version 1.2.1.
However, I would still encourage you to verify this for yourself.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
[-]Support 16KB Memory Page Size for Flutter Shared Preferences[/-][+][shared_preference] Support 16KB Memory Page Size for Flutter Shared Preferences[/+]saurabh-mirajkar commentedon Oct 19, 2026
@camle83it Thanks for the proposal. #182744 tracked the 16 KB page-size warning from
libdatastore_shared_counter.sointroduced through the DataStore dependency used byshared_preferences_android. That regression was addressed by reverting the dependency.This looks like a follow-up to evaluate whether DataStore 1.2.1 can be used safely. The linked release notes don't explicitly confirm 16 KB page-size support, so this still needs verification. I'll label and route the issue to the Android team for evaluation.
Related: #182744, #182898.
camle83it commentedon Oct 19, 2026
@saurabh-mirajkar Thanks for your replies.
You could create an Android project using DataStore versions 1.2.0 and 1.2.1, then analyze the resulting APKs to verify this.
I have tested it myself and confirmed that DataStore supports 16KB page sizes at version 1.2.1.
However, I would still encourage you to verify this for yourself.
[shared_preferences_android] Update androidx.datastore:datastore to 1…
github-actions commentedon Nov 2, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.