小编IPS*_*IPS的帖子

找不到'jsireact/JSIExecutor.h'文件

我正在研究没有世博会的原生应用.我正在尝试使用react-native-video包.此外,我正在使用cocoapods在Xcode中运行项目.

这是我的pod文件:

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'


target 'myprj' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  use_frameworks!
 # Pods for myprj
  # Your 'node_modules' directory is probably in the root of your project,
  # but if not, adjust the `:path` accordingly

 pod 'React', :path => '../node_modules/react-native', :subspecs => [
 'Core',
 'CxxBridge',
 'DevSupport'
 ]
 # Explicitly include …
Run Code Online (Sandbox Code Playgroud)

xcode cocoapods react-native

9
推荐指数
1
解决办法
2610
查看次数

从另一个屏幕导航时 didFocus 不起作用

我正在将“react-navigation 3.11.0”与我的react native expo应用程序一起使用,并且我有以下导航结构。

const orderStackNavigator = createStackNavigator(
  {
    orders: {
      screen: Orders
    },
    orderdetail: {
      screen: OrderDetail
    },
    ordermoredetails: {
      screen: OrderMoreDetails
    },
    ordernotes: {
      screen: OrderNotes
    },
    orderbillingdetails: {
      screen: OrderBillingDetails
    },
    orderdeliverydetails: {
      screen: OrderDeliveryDetails
    }
  },
  {
    //headerMode: 'none'
    defaultNavigationOptions: {
      headerStyle: [styles.headerStyle]
    }
  }
);

const inventoryManagerStackNavigator = createStackNavigator(
  {
    categories: {
      screen: Categories
    },
    products: {
      screen: Products
    },
    editProduct: {
      screen: EditProduct
    }
  },
  {
    //headerMode: 'none'
    defaultNavigationOptions: {
      headerStyle: [styles.headerStyle]
    }
  } …
Run Code Online (Sandbox Code Playgroud)

react-native react-navigation

3
推荐指数
1
解决办法
3506
查看次数

标签 统计

react-native ×2

cocoapods ×1

react-navigation ×1

xcode ×1