We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
index.js needs to be modified because of packages changes:
var React = require('react'); var { PropTypes, } = React; var ReactNative = require('react-native'); var { EdgeInsetsPropType, Image, NativeMethodsMixin, Platform, requireNativeComponent, StyleSheet, View, UIManager, processColor, ColorPropType, } = ReactNative;
test success on android
The text was updated successfully, but these errors were encountered:
这个应该是从0.25版本就开始有这个兼容性问题了。开发这个库的时候react-native版本还是0.20,从0.25以后,引用react从原来的require('react-native')里改为require('react').
Sorry, something went wrong.
我在调试的时候也是出现这个问题,除了要改index.js外,KKLocation.js中也要作相应的修改。
刚刚试用了一下,觉得还是挺好用的,感谢作者的劳动。 也希望作者可以抽点时间,兼容到现在的0.28版本,造福新手,哈哈。
No branches or pull requests
index.js needs to be modified because of packages changes:
var React = require('react');
var {
PropTypes,
} = React;
var ReactNative = require('react-native');
var {
EdgeInsetsPropType,
Image,
NativeMethodsMixin,
Platform,
requireNativeComponent,
StyleSheet,
View,
UIManager,
processColor,
ColorPropType,
} = ReactNative;
test success on android
The text was updated successfully, but these errors were encountered: