Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in app messages support #1290

Merged
merged 7 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
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
Improve docs
  • Loading branch information
tonidero committed Sep 26, 2023
commit a4eca20e949d4f9cf3e49e2c43c67ed7e3da5ee0
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,10 @@ class Purchases internal constructor(
* Google Play only, no-op for Amazon.
* If the user has had a payment declined, this will show a toast notification notifying them and
* providing instructions for recovery of the subscription.
* If [PurchasesConfiguration.showDeclinedPaymentMessagesAutomatically] is enabled, this will be done
* automatically on each Activity's onStart.
*
* https://developer.android.com/google/play/billing/subscriptions#in-app-messaging
* For more info: https://rev.cat/googleplayinappmessaging
*/
fun showDeclinedPaymentMessageIfNeeded(activity: Activity) {
purchasesOrchestrator.showDeclinedPaymentMessageIfNeeded(activity)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ class Purchases internal constructor(
* If [PurchasesConfiguration.showDeclinedPaymentMessagesAutomatically] is enabled, this will be done
* automatically on each Activity's onStart.
*
* For more info: https://developer.android.com/google/play/billing/subscriptions#in-app-messaging
* For more info: https://rev.cat/googleplayinappmessaging
*/
fun showDeclinedPaymentMessageIfNeeded(activity: Activity) {
purchasesOrchestrator.showDeclinedPaymentMessageIfNeeded(activity)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ open class PurchasesConfiguration(builder: Builder) {
/**
* Enable this setting to show a toast with recovery options for users who have had a declined payment
* automatically. Default is disabled.
* For more info: https://developer.android.com/google/play/billing/subscriptions#in-app-messaging
* For more info: https://rev.cat/googleplayinappmessaging
*
* If this setting is disabled, you can show the toast by calling
* [Purchases.showDeclinedPaymentMessageIfNeeded]
Expand Down