This repository was 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.7k
[in_app_purchase] platform interface improvement #3821
Merged
Merged
Changes from 1 commit
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
674bddd
platform interface improvement
875d3f1
format
06daea2
review
7f1653f
review
0f3d0b9
update docs
899bafb
asert and test
8a7341d
tupo
a697f09
fix analyzer errors
b8774b6
review
2d9c2ae
Merge branch 'master' into iap_platform_interface
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
update docs
- Loading branch information
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,9 @@ import 'package:plugin_platform_interface/plugin_platform_interface.dart'; | |
| /// a class that either extend or implements [InAppPurchasePlatformAddition]. Then replace | ||
| /// the [InAppPurchasePlatformAddition.instance] with an instance of that class. | ||
| /// | ||
| /// We highly recommand against to have [InAppPurchasePlatformAddition] and [InAppPurchasePlatform] | ||
| /// All the APIs added by [InAppPurchasePlatformAddition] implementers will be accessed from | ||
|
||
| /// [InAppPurchasePlatformAdditionProvider.getPlatformAddition] by the client APPs. | ||
| /// To avoid client APPs to directly call the [InAppPurchasePlatform] APIs, we highly recommand to not have [InAppPurchasePlatformAddition] and [InAppPurchasePlatform] | ||
| /// being the same class. | ||
| abstract class InAppPurchasePlatformAddition { | ||
| /// The instance containing the platform-specific in_app_purchase | ||
|
|
||
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.
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.
s/replace ... with/set ... to/ (by default there's no instance, so there's nothing to replace)
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