Skip to content

Awaiting some calls does not timeout if there are network issues  #282

@PAFriedrichMueller

Description

@PAFriedrichMueller

Calling getCustomerInfo like this
will not fulfill or reject the promise if there are network problems on android

try {
    await Purchases.getCustomerInfo()
    //never reached
} catch (e) {
    //never reached 
}

usually this will just return the cached version afaik but if you start the app for the first time on android and all network traffic
is blocked (not disconnected)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions