Skip to content

Not possible to determine if user has subscription or eligible for trial from local receipts on IOS #1620

Description

@DontGiveAFck

Observed behavior

We are using this plugin for a while and iaptic (former fovea) service for receipts validations. We updated our app to new version with latest version of IAP (v13.11.1). Our products are auto renewable subscriptions.

Currently we are facing 3 issues with it, these issues are only related to IOS:

  1. Sometimes a user that made purchase in v11 IAP plugin after app update doesn't have his subscriptions in the new app version - it happens because there are no locally stored receipts after app update, or plugin can't find them.

  2. It's not possible to know if user has active subsctiption on app start (Looks like issue already opened Load local receipt at startup to see my owned products are #1529)

  3. It's not possible to know if user eligible for trial - we should know if user can purchase a trial period to show it in offerings page on app start but currently it's not possible to know since there are no local receipts.

To solve these issues on IOS we call restorePurchases() method on app start but it leads to another issues since it shouldn't work this way. (restorePurchases should be invoked only when user clicks on 'Restore purchases' button).

Expected behavior

on IOS:

  1. After app update it's possible to get local receipts and determing if user has active subsciption
  2. Receipts exists locally and it's possible to check if user has active subscription on app start
  3. From locally stored receipts it's possible to determine trial eligibility

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions