Skip to content

Refresh completion handler is not called if refreshSession is exist #93

Closed
@Keane81

Description

@Keane81

There is the method:

static func refresh(completion: @escaping IAPRefreshRequestResult)
    {
        if refreshSession != nil { return }
        
        refreshSession = RefreshSession()
        refreshSession!.refresh { (error) in
            completion(error)
            InAppReceipt.destroyRefreshSession()
        }
    }

It will just silently return if refreshSession is already exists without completion handler calling.
Can you please check it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions