登录 立即注册
金钱:

Code4App-iOS开发-iOS 开源代码库-iOS代码实例搜索-iOS特效示例-iOS代码例子下载-Code4App.com

react-native-nba-app

[复制链接]
来自: Torr 分类: iOS精品源码 上传时间: 2016-10-28 10:36:30
Tag:react react-native nba 完整项目 javascript

项目介绍:

react-native-nba-app

This is why we play

group

Info

Demonstration

Games

game
game_android

Players

player
player_android

Teams

team
team_android

Develop

iOS

  1. $ npm install

  2. $ npm run clean react-native unsupport for .babelrc since 0.16, so you have to remove all .babelrc in your project(includes packages)

  3. $ npm start

  4. Open your Xcode, select a simulator, click the play button or cmd + R

Android

  1. Same to official doc

  2. $ react-native run-android

  3. It's a bit complicated to those who are not familiar with Android development, like me

Design

The design is made by Sketch, you can find the original design file in Dropbox, it may help if someone wants to design new features.

Run in device

iOS:

  1. Check the official doc first, the following steps are based on official doc

  2. Comment console in lib/middleware/logger.js, because native environment doesn't support for console.group

  3. Generate js bundle: $ react-native bundle --entry-file index.ios.js --platform ios --bundle-output ./main.jsbundle

  4. Add js bundle into your project: open Xcode, select Files -> Add Files to... -> select the main.jsbundle file that just generated

  5. In Xcode, select your device, then click the play button or cmd + R

Android:

I never tried

code4app

相关源码推荐:

我来说两句
*滑动验证:
所有评论(69)
hellokenken 2016-10-28 14:41:16
支持,感谢,祝code4app越来越好~
回复
phoiu 2016-10-28 14:44:36
写的真的很不错
回复
kengsir 2016-10-28 14:47:22
内容很好,棒棒哒
回复
BlueManlove 2016-10-28 14:53:26
不错不错,楼主辛苦了。。。
回复
AlonMessi 2016-10-28 15:00:01
code4app好的代码demo真的很多,谢谢啦~
回复
littleRed 2016-10-28 15:09:48
不错不错,楼主辛苦了。。。
回复
code4app热心网友 2016-10-28 16:18:27
学习学习!
回复
mbmmhk 2016-10-28 16:58:11
感谢分享,Code4App有你更精彩:)
回复
code4app热心网友 2016-10-29 10:23:35
虽不明,但觉厉!
回复
提取码:  下载次数:134 状态:已购或VIP 售价:0(原价:10)金钱 下载权限:初级码农 
2889 0 134
联系我们
首页/微信公众账号投稿

帖子代码编辑/版权问题

QQ:435399051,742864542

如何获得代码达人称号?

代码贡献英雄榜
用户名 下载数
通过邮件订阅最新 Code4App 信息
上一条 /4 下一条
联系我们
关闭
合作电话:
13802416937
Email:
435399051@qq.com
商务市场合作/投稿
问题反馈及帮助
联系我们

广告投放| 广东互联网违法和不良信息举报中心|中国互联网举报中心|Github|申请友链|手机版|Code4App ( 粤ICP备15117877号-1 )

快速回复 返回顶部 返回列表