Skip to content

Conversation

@blaugold
Copy link
Contributor

@blaugold blaugold commented Mar 5, 2024

The native code did not convert the integer code returned from FIAObjectTranslator getMapFromNSError to a string before passing it to FlutterError errorWithCode. This allowed an int to flow into a position where the corresponding Dart code expects a String.

Fixes flutter/flutter#144595

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

…e code in `SKReceiptManager.retrieveReceiptData`
@LouiseHsu
Copy link
Contributor

Ah, thanks a lot for the quick fix!! LGTM

@blaugold
Copy link
Contributor Author

blaugold commented Mar 5, 2024

@LouiseHsu Thanks for the review! Is there anything else left for me to do before this can be merged?

@LouiseHsu
Copy link
Contributor

Nope, go ahead and merge it :)

@blaugold
Copy link
Contributor Author

blaugold commented Mar 5, 2024

Great! Could you do that for me? 😊 I don't have the necessary permissions.

@LouiseHsu LouiseHsu merged commit 2aa6e3f into flutter:main Mar 5, 2024
@LouiseHsu
Copy link
Contributor

oops, didnt realize!

engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 5, 2024
…om native code in `SKReceiptManager.retrieveReceiptData` (flutter/packages#6265)
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Mar 5, 2024
flutter/packages@0625827...2aa6e3f

2024-03-05 [email protected] [in_app_purchase_storekit] Fix type of error code returned from native code in `SKReceiptManager.retrieveReceiptData` (flutter/packages#6265)
2024-03-05 [email protected] [video_player] Fix typo in readme (flutter/packages#6264)
2024-03-05 [email protected] [pigeon] Separates message call code generation into separate methods in the SwiftGenerator (flutter/packages#5959)
2024-03-05 [email protected] [flutter_markdown] Fix WidgetSpan Support in MarkdownElementBuilder (flutter/packages#6225)
2024-03-04 [email protected] [webview_flutter] Make WebKitWebViewWidget unit tests stateless (flutter/packages#6228)

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 [email protected],[email protected] 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[in_app_purchase_storekit] Native code returns wrong type for error code in SKReceiptManager.retrieveReceiptData

2 participants