Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0.8版本 使用了 ViewPropTypes, 在 0.43 版本及以下会导致 crash #18

Open
onreadystatechange opened this issue Jan 8, 2018 · 2 comments

Comments

@onreadystatechange
Copy link

查阅了官方源码,ViewPropTypes 这个东西是在 0.44 版本中添加的

兼容方案

import { View, ViewPropTypes as RNViewPropTypes } from 'react-native';

const ViewPropTypes = RNViewPropTypes || View.propTypes;

export default ViewPropTypes;

@xiewang
Copy link
Owner

xiewang commented Jan 8, 2018

@onreadystatechange 感谢,我修改下

@HouLinguo
Copy link

@xiewang 现在还有这个问题,是不是还没有进行修改?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants