Skip to content

Crash when no internet connection on 8.0.4 #1648

@big-toni

Description

@big-toni

App crashes if no internet on when calling RNIap.requestPurchase function,
after upgrade from 7.5.6 (no crash)

Version of react-native-iap

8.0.4

Version of react-native

0.64.2

Platforms you faced the error (IOS or Android or both?)

iOS

Expected behavior

non crash

Actual behavior

crash

Tested environment (Emulator? Real Device?)

both

Steps to reproduce the behavior

Disable internet connection or use airplane mode
call RNIap.requestPurchase(sku, false);

Metadata

Metadata

Assignees

No one assigned

    Labels

    ❓ questionFurther information is requested📱 iOSRelated to iOS

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions