• Stars
    star
    1,725
  • Rank 27,045 (Top 0.6 %)
  • Language
    JavaScript
  • Created over 8 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Yet another Github client written with react-native.

Github Feed


Yet another Github client written in react-native.

Includes ?


  1. Feed like web github home.
  2. Watched repos' notification.
  3. Trends.
  4. Personal.

How to run iOS

rm -rf node_modules

npm install

if error about 'EACCS' try

sudo chown -R $(whoami) "$HOME/.npm"

run the project in ios dir

(注意 如果要contribute cocoapods 建议使用0.35.0版本!)

in iOS dir

pod install

###接入流程

  1. 在index.ios.js(index.android.js)里写入Production的 deploymentKey,通常在componentDidMount里写入如下:
const codePush = require('react-native-code-push');

codePush.sync({
  updateDialog: true,
  installMode: codePush.InstallMode.IMMEDIATE,
  deploymentKey: dpkey,
});
  1. 修改xcode的edit schema 使得build app是 release模式的,在appDelegate里写入:
NSURL *jsCodeLocation;

#ifdef DEBUG
jsCodeLocation = [NSURL URLWithString:@"http://30.10.111.158:8081/index.ios.bundle?platform=ios&dev=true"];

jsCodeLocation = [NSURL URLWithString:[NSString stringWithFormat:@"http://localhost:8081/index.ios.bundle?platform=ios&dev=true"]];

#else
jsCodeLocation = [CodePush bundleURL];
#endif
  1. 随意乱改js文件
  2. 打包 所有js文件在一个其他位置,可以使用打包需要更新的资源
  3. 用code-push发布。

CodePush

注意在打包的目标地址先建立对应的目录比如这里的~/Desktop/release,要现在Desktop建立好。

打包到桌面本地资源(包括图片): react-native bundle --platform ios --entry-file index.ios.js --bundle-output ./ios/main.jsbundle --dev false

查看更新状态: code-push deployment ls GitFeed-iOS

发布更新: code-push release GitFeed-iOS ~/Desktop/release 1.0.0 -d Production

More Repositories

1

DXPopover

A Popover mimic Facebook app popover using UIKit
Objective-C
727
star
2

DXAlertView

A path style alert view
Objective-C
144
star
3

DXTopBarMessageView

If you like to show a message on the top of your viewController
Objective-C
42
star
4

DXRefresh

Simple way to integrate pull down refresh and pull up fresh
Objective-C
28
star
5

DXSemiViewController

Aside from the MainViewController's side beatiful
Objective-C
23
star
6

DXImagePicker

Simple Imager picker which mimic Facebook's UI and UX
Objective-C
14
star
7

egg-typebox-validate

another json-schema validator plugin for eggjs project base on TypeBox and ajv
TypeScript
8
star
8

WeInstagram

Yet another Instagram browser and downloader written with React-Native
Objective-C
6
star
9

DXRoundProgressImageView

Show download progress imageview like instagram's loading imageView
Objective-C
6
star
10

SafariSceenShotExtension

iOS 8 Safari screen shot extension
Objective-C
5
star
11

DXFPSLabel

A label shows app's current FPS when needed(In UITrackingRunLoopMode)
Objective-C
4
star
12

DXMarqueeView

Support right and left direction marquee view
Objective-C
4
star
13

DXFileManager

A file manager wrapper the NSFileManager
Objective-C
2
star
14

async-ware

A class for easy writing js middlewares
JavaScript
2
star
15

DXPhotoBrowser

A photo browser for displaying a bunch of images one by one
Objective-C
2
star
16

xiekw2010.github.com

Ruby Jekyll Blog
HTML
1
star
17

ComponentKitPlay

Let's play with componentKit
Objective-C++
1
star
18

all_layouts

Examples of all ios layouts ways
Objective-C
1
star
19

Xcode-modern-template

Build the modern template for u if u hate the single ViewController template
Objective-C
1
star
20

KXTagsCloudView

give it a array of string, it will feed back a cloud of tags
1
star
21

DXWaterFlowLayout

subclass of UICollectionViewLayout to imp the waterFlow, used like the native flowLayout
Swift
1
star
22

DXPhotoBrowser-DXSimplePhoto

A photo instance using SDWebImage working on DXPhotoBrowser
Objective-C
1
star
23

ua-spy

user agent parser
JavaScript
1
star
24

DXProgressHUD

A UI improvement from SVProgressHUD
Objective-C
1
star