Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update docs
  • Loading branch information
Chris Yang committed May 3, 2021
commit 0f3d0b9728c1220370e3b50c70ac619fbd836dd3
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ import 'package:plugin_platform_interface/plugin_platform_interface.dart';
/// a class that either extend or implements [InAppPurchasePlatformAddition]. Then replace
Copy link
Contributor

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)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

/// 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
Copy link
Contributor

Choose a reason for hiding this comment

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

s/implementers/implementations/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

/// [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
Expand Down