getLatestTransaction

Get the latest transaction from the purchaseResults flow.

Return

StoreTransaction if the purchase was finished by Superwall, null otherwise

Parameters

factory

StoreTransactionFactory to create the StoreTransaction