This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[in_app_purchase] iOS example using in_app_purchase_ios package #3870
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 tasks
cyanglaz
suggested changes
May 11, 2021
dependencies: | ||
flutter: | ||
sdk: flutter | ||
shared_preferences: ^2.0.0-nullsafety.1 |
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.
^2.0.0?
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.
Done
|
||
# TODO(mvanbeusekom): Replace with pub.dev version when in_app_purchase_platform_interface is published | ||
in_app_purchase_platform_interface: | ||
path: ../../in_app_purchase_platform_interface |
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.
replace with 1.0.0 as the platform interface has published
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.
Done
cyanglaz
approved these changes
May 12, 2021
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
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
May 12, 2021
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
May 12, 2021
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
May 19, 2021
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
May 19, 2021
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
May 19, 2021
fotiDim
pushed a commit
to fotiDim/plugins
that referenced
this pull request
Sep 13, 2021
…ter#3870) Adds the example app for the in_app_purchase_ios platform implementation. All files that are part of the in_app_purcase_ios/example/ios folder have been copied over from in_app_purchase/example/ios. From all these files I only had to update the following: Renamed in_app_purchase_ios/ios/in_app_purchase.podspec file to in_app_purchase_ios/ios/in_app_purchase_ios.podspec (to match the new package name); Update the @import in_app_purchase statement to @import in_app_purchase_ios in the following files: InAppPurchasePluginTest.m PaymentQueueTest.m ProductRequestHandlerTest.m Stubs.h TranslatorTest.m I have tested the example project on my iPhone 12 Mini and it works fine. Also the iOS specific unit-test run correctly. Adds the iOS implementation for issue flutter/flutter#81695
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds the example app for the
in_app_purchase_ios
platform implementation.All files that are part of the
in_app_purcase_ios/example/ios
folder have been copied over fromin_app_purchase/example/ios
. From all these files I only had to update the following:in_app_purchase_ios/ios/in_app_purchase.podspec
file toin_app_purchase_ios/ios/in_app_purchase_ios.podspec
(to match the new package name);@import in_app_purchase
statement to@import in_app_purchase_ios
in the following files:InAppPurchasePluginTest.m
PaymentQueueTest.m
ProductRequestHandlerTest.m
Stubs.h
TranslatorTest.m
I have tested the example project on my iPhone 12 Mini and it works fine. Also the iOS specific unit-test run correctly.
Adds the iOS implementation for issue flutter/flutter#81695
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist
dart format
. See plugin_tool format)[shared_preferences]
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.