Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash when localizedDescription is nil #112

Merged
merged 1 commit into from
Apr 11, 2018
Merged

Fix crash when localizedDescription is nil #112

merged 1 commit into from
Apr 11, 2018

Conversation

vshab
Copy link
Contributor

@vshab vshab commented Apr 10, 2018

Currently app crashes with error iOS Fatal Error - [__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[5]' when localizedDescription is not set in itunesconnect.

#17 (comment) can be related.

The same approach is used in another StoreKit React Native package:
https://github.com/chirag04/react-native-in-app-utils/blob/master/InAppUtils/InAppUtils.m#L220

@hyochan
Copy link
Owner

hyochan commented Apr 11, 2018

Thank you for your work.

@hyochan hyochan closed this Apr 11, 2018
@hyochan hyochan reopened this Apr 11, 2018
@hyochan hyochan merged commit 2a805ca into hyochan:dev Apr 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants