Open TasnimAnas opened 2 weeks ago
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!
@TasnimAnas Thanks for reporting this. Can you try the following?
flutter clean
and reinstall pluginsminifyEnabled false
‼️ 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
flutter doctor
• No issues found!
I/flutter (12957): CONFIGURED I/flutter (12957): ------------------ D/[Purchases] - DEBUG(12957): ℹ️ Vending Offerings from cache D/[Purchases] - DEBUG(12957): ℹ️ Checking if cache is stale AppInBackground false I/flutter (12957): Offerings(all: {default: Offering(identifier: default, serverDescription: Default Focus Package, metadata: {}, availablePackages: [Package(identifier: $rc_monthly, packageType: PackageType.monthly, storeProduct: StoreProduct(identifier: add_free:focus-mode, description: , title: Focus Mode (APP NAME), price: 2.4, priceString: $2.40, currencyCode: USD, introductoryPrice: null, discounts: null, productCategory: ProductCategory.subscription, defaultOption: SubscriptionOption(id: focus-mode, storeProductId: add_free:focus-mode, productId: add_free, pricingPhases: [PricingPhase(billingPeriod: Period(unit: PeriodUnit.month, value: 1, iso8601: P1M), recurrenceMode: RecurrenceMode.infiniteRecurring, billingCycleCount: 0, price: Price(formatted: $2.40, amountMicros: 2400000, currencyCode: USD), offerPaymentMode: null)], tags: [ad-free, focus], isBasePlan: true, billingPeriod: Period(unit: PeriodUnit.month, value: 1, iso8601: P1M), isPrepaid: false, fullPricePhase: PricingPhase(billingPeriod: Period(uni I/flutter (12957): MissingPluginException(No implementation found for method r on channel purchases_flutter)
try { print('------------------'); final offers = await Purchases.getOfferings(); print(offers); CustomerInfo cINFO = await Purchases.getCustomerInfo(); print(cINFO); } catch (e) { print(e); return; }
I/flutter (11533): ------------------ I/flutter (11533): Offerings(all: {default: Offering(identifier: default, serverDescription: Default Focus Package, metadata: {}, availablePackages: [Package(identifier: $rc_monthly, packageType: PackageType.monthly, storeProduct: StoreProduct(identifier: add_free:focus-mode, description: , title: Focus Mode (APP NAME), price: 2.4, priceString: $2.40, currencyCode: USD, introductoryPrice: null, discounts: null, productCategory: ProductCategory.subscription, defaultOption: SubscriptionOption(id: focus-mode, storeProductId: add_free:focus-mode, productId: add_free, pricingPhases: [PricingPhase(billingPeriod: Period(unit: PeriodUnit.month, value: 1, iso8601: P1M), recurrenceMode: RecurrenceMode.infiniteRecurring, billingCycleCount: 0, price: Price(formatted: $2.40, amountMicros: 2400000, currencyCode: USD), offerPaymentMode: null)], tags: [ad-free, focus], isBasePlan: true, billingPeriod: Period(unit: PeriodUnit.month, value: 1, iso8601: P1M), isPrepaid: false, fullPricePhase: PricingPhase(billingPeriod: Period(uni I/flutter (11533): MissingPluginException(No implementation found for method r on channel purchases_flutter)