-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[in_app_purchase] presentCodeRedemptionSheet #3274
[in_app_purchase] presentCodeRedemptionSheet #3274
Conversation
…tion-sheet # Conflicts: # .cirrus.yml # packages/in_app_purchase/CHANGELOG.md # packages/in_app_purchase/pubspec.yaml
@ABausG why is this drafted? is there anything else you need to do on that PR to get this ready for review? |
…tion-sheet # Conflicts: # packages/in_app_purchase/CHANGELOG.md # packages/in_app_purchase/pubspec.yaml
@cyanglaz Could you take a look at this? The failing check is because that is running on an image with xcode 11 but the feature is only available with xcode 12. Could you point me to a direction on how I could solve that problem? |
packages/in_app_purchase/lib/src/store_kit_wrappers/sk_payment_queue_wrapper.dart
Show resolved
Hide resolved
Also add Log message if functionality is unavaible
…tion-sheet # Conflicts: # packages/in_app_purchase/CHANGELOG.md # packages/in_app_purchase/pubspec.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM % 1 nits. Thanks a lot for the contribution!
packages/in_app_purchase/test/store_kit_wrappers/sk_methodchannel_apis_test.dart
Show resolved
Hide resolved
return Future<void>.sync(() {}); | ||
} | ||
return Future<void>.sync(() {}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: @cyanglaz i wonder why all over the plugins
Future<void>.sync(() {});
is used instead of
Future<void>.value();
This pull request is not suitable for automatic merging in its current state.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* master: [google_sign_in] fix test(flutter#3690) [extension_google_sign_in_as_googleapis_auth] Update import (flutter#3689) [google_sign_in] Updates google_sign_in_platform_interfaces adding parametrized `clientId` (flutter#3686) Import flutter_test for future compatibility (flutter#3665) [ci] Disable analyze on stable for web plugins that contains null safety integration tests. (flutter#3681) Bring HTML inputs into view automatically (flutter#3655) [in_app_purchase] presentCodeRedemptionSheet (flutter#3274) [google_maps_flutter_web] Downgrade mockito in example app. (flutter#3679) Update CI config for Flutter 2 (flutter#3674) [image_picker] fix flutter/flutter#71927 (flutter#3676) [google_maps_flutter_web] Move integration tests to example. (flutter#3675) [google_maps_flutter_web] Make google_maps_flutter_web work with latest plugins (flutter#3673) # Conflicts: # packages/webview_flutter/CHANGELOG.md
Description
Add support for
presentCodeRedemptionSheet
added to enable users to redeem subscription offer codes that you generated in App Store Connect.More Info on this can be found here https://developer.apple.com/documentation/storekit/skpaymentqueue/3566726-presentcoderedemptionsheet?language=objc
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]
). This will ensure a smooth and quick review process.///
).flutter analyze
) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?