When validating receipt, Apple's response can be nil, which causes the app to crash when it tries to convert nil to JSON via NSDictionary* rec = [IAPShare toJSON:response];
I propose a modification simply in the read-me doc's example code, to now be as follows:
When validating receipt, Apple's
response
can be nil, which causes the app to crash when it tries to convert nil to JSON viaNSDictionary* rec = [IAPShare toJSON:response];
I propose a modification simply in the read-me doc's example code, to now be as follows: