在共享扩展中不可用的React Native API

时间:2018-08-28 00:23:17

标签: react-native

某些API尝试在共享扩展中使用它们时(警报,ActionSheet,NetInfo等)不可用。是否有解决方案?或者在当前版本的React Native中根本不可用?

Environment:
  OS: macOS High Sierra 10.13.4
  Node: 9.5.0
  Yarn: 0.24.4
  npm: 6.3.0
  Watchman: 4.7.0
  Xcode: Xcode 9.4.1 Build version 9F2000
  Android Studio: 3.1 AI-173.4720617

Packages: (wanted => installed)
  react: 16.3.1 => 16.3.1
  react-native: 0.55.3 => 0.55.3

GitHub问题:https://github.com/alinz/react-native-share-extension/issues/99

0 个答案:

没有答案