This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[In_app_purchase]fix requesthandler crash (#1199)
The FIAPRequestHandler is destroyed when exiting the function. Since FIAPRequestHandler is the delegate, when SKProductRequest tries to execute the delegate method, it will not be able to find the delegate. Hence the crash. Adding a set to hold strong reference of the FIAPRequestHandler until it is complete fix the crash.
- Loading branch information