react native
文章平均质量分 64
Konmer
码到深处费烟~~
展开
-
高德地图定位(react-native-amap-geolocation)
高德地图定位(react-native-amap-geolocation)定位地址: react-native-amap-geolocation安装npm install --save react-native-amap-geolocationandroidreact-native link react-native-amap-geolocationios在ios目录下新建Podfileplatform :ios, '8.0'# The target name is most lik原创 2020-12-11 11:53:34 · 1282 阅读 · 0 评论 -
React Native 高德地图组件的使用(react-native-amap3d)
React Native 高德地图组件的使用(react-native-amap3d)高德地图组件 react-native-amap3d基本使用import {MapView} from 'react-native-amap3d'render() { return <MapView style={StyleSheet.absoluteFill}/>}设置地图状态所谓的地图状态包括:中心坐标(coordinate)、缩放级别(zoomLevel)、倾斜度(titl)、旋转原创 2020-12-11 11:49:57 · 2837 阅读 · 7 评论 -
最快速搭建 react-native-webview 及vue页面传输数据( Vue项目 )
React Native 内嵌webview ( Vue项目 )ReactNative webview属性automaticallyAdjustContentInsets控制是否调整放置在导航条、标签栏或工具栏后面的web视图的内容。默认值为truecontentInset {top: number, left: number, bottom: number, right: number}设置网页内嵌边距injectedJavaScript设置在网页加载之前注入一段js代码mediaPl原创 2020-08-28 09:23:07 · 2501 阅读 · 0 评论 -
React native 依赖
导航跳转ReactNavigation yarn add react-navigation or npm install react-navigationyarn add react-native-reanimated react-native-gesture-handler react-native-screens@^1.0.0-alpha.23页面路由yarn add rea...原创 2019-11-25 10:10:06 · 497 阅读 · 0 评论 -
Github下载React-native 项目,运行SDK报错
* What went wrong: A problem occurred configuring project ‘:app’. > SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your proj...原创 2019-11-03 09:55:13 · 407 阅读 · 0 评论 -
React native 开发报错
1. 使用 react-native-swiper 报错react-native-swiper 地址这是react-native-swiper 版本 错误使用这个 npm i --save react-native-swiper@nightly原创 2019-11-01 19:15:10 · 442 阅读 · 0 评论 -
React 入门实例教程
React 入门实例教程作者: 阮一峰库 React Demos一、HTML 模板二、ReactDOM.render()三、JSX 语法四、组件五、this.props.children六、PropTypes七、获取真实的DOM节点八、this.state九、表单十、组件的生命周期十一、Ajax...转载 2019-10-25 16:01:08 · 172 阅读 · 0 评论 -
React-Native ERROR: JAVA_HOME is not set and no ‘java’ command could be found in your PATH.
ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.Please set the JAVA_HOME variable in your environment to match thelocation of your Java installation.error Could not i...转载 2019-10-25 15:19:29 · 10977 阅读 · 0 评论