Skip to content

[RN-IAP] [getReceiptDataIOS] Failed: Error: Error Domain=com.margelo.nitro.rniap Code=-1Β #3131

@leineveber

Description

@leineveber

Hi!
Just migrated from version 12 to 14.7.3 version
Previously we've used on start our application function to get receipts like so:

const receipt = await getReceiptIOS({ forceRefresh: false }).catch(() => null);

after the migration, getReceiptIOS always prompts dialog "Sign in with apple account" when used
tried to use getReceiptDataIOS, it triggers an error shown in the title of issue. Error code is "receipt-failed"

what's interesting I get this error on install and open, but for some reason after some actions which i havent figured out yet the error is not triggering anymore. but on reinstall i get it again

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions