Skip to content

[shared_preferences] Fix JSON parsing issue with _decodeValue - #8211

Merged
auto-submit[bot] merged 6 commits into
flutter:mainfrom
Dan-Crane:fix-shared-pref-web-parsing
Feb 18, 2025
Merged

[shared_preferences] Fix JSON parsing issue with _decodeValue#8211
auto-submit[bot] merged 6 commits into
flutter:mainfrom
Dan-Crane:fix-shared-pref-web-parsing

Conversation

@Dan-Crane

@Dan-CraneDan-Crane commented Dec 3, 2024

Copy link
Copy Markdown
Contributor

[shared_preferences] Fix JSON parsing issue with getAllWithParameters

this is a restored PR #5813
Fixesflutter/flutter#156574

Pre-launch Checklist

@Dan-Crane
Dan-Craneforce-pushed the fix-shared-pref-web-parsing branch 2 times, most recently from 17b9578 to daf7473CompareDecember 4, 2024 08:38
@Dan-Crane
Dan-Craneforce-pushed the fix-shared-pref-web-parsing branch from daf7473 to be1e837CompareDecember 5, 2024 04:18

@stuartmorgan-gstuartmorgan-g left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with minor fixes, assuming @ditman is happy with it.

@Dan-Crane
Dan-Craneforce-pushed the fix-shared-pref-web-parsing branch 4 times, most recently from efbb8a4 to 768cdd6CompareDecember 11, 2024 05:11
@Dan-Crane
Dan-Craneforce-pushed the fix-shared-pref-web-parsing branch 2 times, most recently from c544578 to e291e66CompareDecember 26, 2024 09:01
@Dan-Crane

Copy link
Copy Markdown
ContributorAuthor

@ditman can you please watch this PR when you have time?

@Dan-Crane

Copy link
Copy Markdown
ContributorAuthor

@ditman hi! Happy new year!:) Can you see the PR, please?

@Dan-Crane
Dan-Craneforce-pushed the fix-shared-pref-web-parsing branch from e291e66 to fb2a65bCompareJanuary 15, 2025 06:07
@Dan-Crane

Copy link
Copy Markdown
ContributorAuthor

@stuartmorgan Hello!
Can you please help with this PR?

@stuartmorgan-g

Copy link
Copy Markdown
Collaborator

@stuartmorgan Hello! Can you please help with this PR?

I'm not sure what you are asking exactly; I've already reviewed it. What help are you looking for from me?

@stuartmorgan-gstuartmorgan-g added the triage-web Should be looked at in web triage label Jan 15, 2025
@Dan-Crane
Dan-Craneforce-pushed the fix-shared-pref-web-parsing branch from fb2a65b to 3a54a90CompareJanuary 27, 2025 11:29

@tarrinnealtarrinneal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is fine as is. @stuartmorgan if you'd like to merge it without @ditman taking a look, I'm ok with that as well.

@san-smith

This comment was marked as off-topic.

@stuartmorgan-g

Copy link
Copy Markdown
Collaborator

I think this is fine as is. @stuartmorgan if you'd like to merge it without @ditman taking a look, I'm ok with that as well.

This is straightforward enough that our reviews are sufficient.

@stuartmorgan-gstuartmorgan-g added autosubmit Merge PR when tree becomes green via auto submit App and removed triage-web Should be looked at in web triage labels Feb 18, 2025
@auto-submit
auto-submitBot merged commit cb4fb13 into flutter:mainFeb 18, 2025
github-merge-queueBot pushed a commit to flutter/flutter that referenced this pull request Feb 18, 2025
flutter/packages@8542af3...cb4fb13
2025-02-18 56475207+Dan-Crane@users.noreply.github.com
[shared_preferences] Fix JSON parsing issue with _decodeValue
(flutter/packages#8211)
2025-02-18 pawel.jakubowski@leancode.pl [camera_avfoundation] Migrate
tests to Swift - part 2 (flutter/packages#8613)
2025-02-18 stuartmorgan@google.com [google_sign_in] Adopt task queues
for Android (flutter/packages#8622)
2025-02-17 engine-flutter-autoroll@skia.org Roll Flutter from
892f9c1 to e8f34a9 (71 revisions) (flutter/packages#8614)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com on the revert to ensure that a
human
is aware of the problem.
To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
androidseb pushed a commit to androidseb/packages that referenced this pull request Jun 8, 2025
FMorschel pushed a commit to FMorschel/packages that referenced this pull request Jun 9, 2025
creatorpiyush pushed a commit to creatorpiyush/packages that referenced this pull request Jun 10, 2026
bisor0627 pushed a commit to bisor0627/packages that referenced this pull request Jun 19, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmitMerge PR when tree becomes green via auto submit Appp: shared_preferencesplatform-web

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[shared_preferences] On Web, exception on initialization when a stored value is not valid JSON

4 participants

@Dan-Crane@stuartmorgan-g@san-smith@tarrinneal