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

warning: [deprecation] syncObserverModeAmazonPurchase #1122

Closed
10 of 11 tasks
Correct-Syntax opened this issue Jul 23, 2024 · 3 comments
Closed
10 of 11 tasks

warning: [deprecation] syncObserverModeAmazonPurchase #1122

Correct-Syntax opened this issue Jul 23, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Correct-Syntax
Copy link

‼️ Required data ‼️

Do not remove any of the steps from the template below. If a step is not applicable to your issue, please leave that step empty.

There are a lot of things that can contribute to things not working. Having a very basic understanding of your environment will help us understand your issue faster!

Environment

  • Output of flutter doctor
  • Version of purchases-flutter
  • Testing device version e.g.: iOS 15.5, Android API 30, etc.
  • How often the issue occurs- every one of your customers is impacted? Only in dev?
  • Debug logs that reproduce the issue
  • Steps to reproduce, with a description of expected vs. actual behavior
    Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)

Describe the bug

Android 10, purchases_flutter: ^6.30.0

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.2, on Zorin OS 17.1 6.5.0-44-generic, locale
    en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version
    35.0.0-rc3)
[✗] Chrome - develop for the web (Cannot find Chrome executable at
    google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2024.1)
[✓] Connected device (2 available)
[✓] Network resources

! Doctor found issues in 1 category.

I get the following when launching the app:

warning: [deprecation] syncObserverModeAmazonPurchase(String,String,String,String,Double) in Purchases has been deprecated
        Purchases.getSharedInstance().syncObserverModeAmazonPurchase(productID, receiptID,

Additional context

Add any other context about the problem here.

@Correct-Syntax Correct-Syntax added the bug Something isn't working label Jul 23, 2024
@RCGitBot
Copy link
Contributor

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

@Correct-Syntax
Copy link
Author

I should probably note that I'm not using the Amazon billing, just Google Play store billing.

@Jethro87
Copy link

Thanks @Correct-Syntax. We've merged a PR that fixes the warning, so this shouldn't appear in future versions of the SDK. Appreciate it! Related #1114.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants