wangdicoder / juejinclient Goto Github PK
View Code? Open in Web Editor NEWA react-native app simulating JueJin App running on both Android and iOS
License: MIT License
A react-native app simulating JueJin App running on both Android and iOS
License: MIT License
新创建一个项目,用fetch
发起请求的时候出现network request failed
。查询说是iOS9引入了新特性App Transport Security (ATS)
。默认是HTTPS
请求,屏蔽了HTTP
请求。按照google到的解决办法,修改Info.plist
文件,但还是没有成功。请问有什么解决办法吗?
HomeTab.js 中 var url = 'http://gold.xitu.io/api/v1/timeline/57fa525a0e3dd90057c1e04d/' + this._getCurrentTime(); 已失效
报这个解析异常
谢谢
项目初始化运行总是报错如下,
Cannot read property 'number' of undefined
react 中的 PropTypes 用第三方 插件代替
import PropTypes from 'prop-types';
删除 nodemodules 文件后再初始化,依然报错 Cannot read property 'number' of undefined
请问这是什么原因
说错了 是在mac上用命令行运行这个语句出错,直接打开ios中的工程也提示 #import "RCTBundleURLProvider.h" 没有这个文件
代码如果能用一些 像 Redux 等的结构,会对后期的开发产生很大的好处......
页面写的非常棒,本来想帮你一起 完善项目,但因为没有一个清晰的架构体系,
可能会导致后期开发无法进行下去,或者遇到一些难以逾越的鸿沟导致代码越来越重.
可以看看我的这个项目,希望对你有帮助
(本来打算和你一起维护,后来想到如果用 Redux 重构一下的话,代价可能偏大...)
写ReactNative项目有一段时间了,在此期间调试都是用console.log来调试的,出现bug的时候,需要一点一点的输出log,效率特别低,请问有没有更高效的debug方法?
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment
how to solve it ?
undefined is not an object (evaluating 'ViewPropTypes.style')
DefaultTabBar.js:20 loadModuleImplementation require.js:122 index.js:20 loadModuleImplementation require.js:122 HomeFragment.js:10 loadModuleImplementation require.js:122 TabBar.js:10 loadModuleImplementation require.js:122 MainPage.js:8 loadModuleImplementation require.js:122 entry.js:8 loadModuleImplementation require.js:122 index.ios.js:9 loadModuleImplementation require.js:122 guardedLoadModule require.js:58 global code require-0.js:1android每次打包 BUILD SUCCESSFUL 却看到还是最老的样子 apk生成时间是最新的,请教下这是什么问题。
成功跑起来了,感谢分享!从首页特别展示新增内容项再回到主页后指示器跟标题颜色不对称,比如指示器在首,而字体颜色却没有显示为对应的白色,Android字体颜色却是白色的
登录的用户名和密码是什么?我未登录 首页请求数据, 提示 Json parse erro:"Unrecogined token '<',
FAILURE: Build failed with an exception.
Where:
Build file 'D:\JueJinClient\android\app\build.gradle' line: 1
What went wrong:
A problem occurred evaluating project ':app'.
Failed to apply plugin [id 'com.android.application']
Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move your project to a different directory. See http://b.android.com/95744 for details. This warning can be disabled by adding the line 'android.overridePathCheck=true' to gradle.properties file in the project directory.
BUILD FAILED
Total time: 3 mins 24.66 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
Recently, I'm coding for another new project. Sometimes I realised there are some written styles which can make the code better, so I will keep refactoring the code.
PID PR CPU% S #THR VSS RSS PCY UID Name
23667 3 0% S 76 3338088K 1554992K fg u0_a242 com.juejinclient
25510 2 0% S 61 1817628K 85020K bg u0_a236 com.qiyi.video:plugin
140 4 0% S 1 0K 0K fg root kswapd0
276 3 0% S 1 0K 0K fg root mmcqd/0
561 2 0% S 18 165480K 7016K fg system /system/bin/surfaceflinger
我的node版本是v.5.11.0
ExceptionsManager.js:62 Cannot read property 'navigator' of undefined
跳转不过去详情页面
请问一下这个项目没有上架么
Error occurred configuring project ':app'.
Could not resolve all dependencies for configuration ':app:_debugApk'.
A problem occurred configuring project ':react-native-vector-icons'.
> The SDK Build Tools revision (23.0.1) is too low for project ':react-native-vector-icons'. Minimum required is 25.0.0
但是,gradle里边 buildToolsVersion '25.0.0'
,没错啊!
不知道怎么回事?!
请问这个项目包括后端吗?一般RN的项目后端都用什么写?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.