Skip to content

Alert.alert without message kills apps even after refreshing #18439

@thijssmudde

Description

@thijssmudde

Unrecognized selector sent to instance was thrown while invoking alertWithArgs on target AlertManager

image

Environment

Environment:
OS: macOS High Sierra 10.13.3
Node: 9.2.0
Yarn: 1.3.2
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.52.0 => 0.52.0

Steps to Reproduce

https://snack.expo.io/SJG9v82Kz

See: https://stackoverflow.com/questions/41942681/alert-alert-alertmanager-with-params-exception

Expected Behavior

No crash

Actual Behavior

Crash

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugGood first issueInterested in collaborating? Take a stab at fixing one of these issues.Issue: Author Provided ReproThis issue can be reproduced in Snack or an attached project.Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions