react native app with zhihu, jandan,music,map
Switch branches/tags
Nothing to show
Clone or download
Latest commit 869e369 Feb 10, 2017
Permalink
Failed to load latest commit information.
__tests__ first commit Jan 25, 2017
android add screen shot Feb 8, 2017
ios add android Feb 8, 2017
screenShot add screen shot Feb 8, 2017
src add screen shot Feb 8, 2017
typings first commit Jan 25, 2017
.babelrc first commit Jan 25, 2017
.buckconfig first commit Jan 25, 2017
.flowconfig first commit Jan 25, 2017
.gitattributes first commit Jan 25, 2017
.gitignore gitignore Feb 2, 2017
.watchmanconfig first commit Jan 25, 2017
README.md Update README.md Feb 10, 2017
index.android.js add android Feb 8, 2017
index.ios.js first commit Jan 25, 2017
package.json update README Feb 9, 2017
tsconfig.json first commit Jan 25, 2017
yarn.lock first commit Jan 25, 2017

README.md

HelloRN

react native 入门demo,适配android ios, 网页 图片 音乐 地图。

Screen Shot

androidScreen iosScreen

RUN

cd HelloRN
npm install
react-native run-android or react-native run-ios

For iOS, you can open HelloRN.xcodeproj in Xcode, choose one simulator or you device, click run.

API

非官方公共api, 均来源于Github开源项目,感谢原作者!

  • 知乎日报

    热门列表  http://news-at.zhihu.com/api/4/news/latest
    
    文章内容  http://news-at.zhihu.com/api/4/news/${id}
    
  • 网易云歌单

    热歌榜 http://music.163.com/api/playlist/detail?id=${id}&updateTime=-1
    
  • 煎蛋网

    妹子图 http://i.jandan.net/?oxwlxojflwblxbsapi=jandan.get_ooxx_comments&page=${page}
    

TODOS

  • 文章内容左右滑动翻页
  • 文章 右上角 在浏览器中打开
  • 歌单滑动切换、随机播放
  • 妹图Image高度自适应
  • 数据缓存
  • redux管理数据流

Notes

  1. 国内android无法运行Google Maps。
  2. video组件在android下无法获取歌曲错误信息(如404),导致界面卡顿,原因不明。
  3. simulator iPhone 6 地图界面出现错误,’permission denied‘,原因不明,其他机型simulator 真机正常。
  4. android还没找到保存照片的方法。