Skip to content

[react-native-purchases] on RC test store if user cancelled purchase bool prop userCancelled is false, but should be true #1756

@psnet

Description

@psnet

STR

  • Use RC test store

  • Try to buy package using RC SDK Purchases.purchasePackage

  • User cancelled purchase:

    Image
  • Will be fired Error and in this error object:

    • bool prop userCancelled is false but should be true and
    • string message is empty string ""

so next code from RC docs examples doesnt work:

if (!e.userCancelled) {
  // show error
}

Full Error object is:

{
  "code": 1,
  "message": "",
  "info": {},
  "userCancelled": false
}
  1. Environment
    1. Platform: web RC test store
    2. SDK version: 10.0.1
    3. React Native version: 0.81.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions