mirror of
https://github.com/status-im/react-native.git
synced 2025-02-18 20:36:41 +00:00
Summary: Explain the **motivation** for making this change. What existing problem does the pull request solve? - Being able to call these from JS is really useful in envs where action sheets are not available (eg: App Extensions). I made the functions act as explicit toggles, this way it's easy to set the wanted behavior. **Test plan (required)** - I tested the functions manually.  Closes https://github.com/facebook/react-native/pull/9242 Differential Revision: D3749568 fbshipit-source-id: 2cea1d609dc792aec73d4bcf1eae07575725b4b7