Git Product home page Git Product logo

rnhbfav's Introduction

RNHBFav

HBFavのReactNative版です。iOSでのみテストしてます。

機能

基本は本家HBFavと同じです。

本家と違う点は下記です。

  • 人気/新着のエントリが無い
  • ブックマーク時のシェアはTwitterのみ
  • ブックマークコメントにフォロワーのコメントまとめが無い
  • クリップボードのURLからブックマークする機能が無い
  • 公開情報のみ扱う

オリジナルの機能は下記です。

  • URLを入力してブックマークする機能
  • 表記や色味や文字サイズなどのデザイン
  • ナイトモード
    • Twitterみたいなやつ。

Development

1) Download

git clone https://github.com/YuheiNakasaka/RNHBFav

2) 依存ライブラリ等インストール

cd RNHBFav
npm install

3) 環境変数設定

「Consumer key を取得して OAuth 開発をはじめよう」を読んでconsumer key を取得しておいてください。

src/constants/config.jsファイルを作成し、取得したCONSUMER_KEY, CONSUMER_SECRETを下記のように設定してください。

export const CONSUMER_KEY = 'YOUR_CONSUMER_KEY';
export const CONSUMER_SECRET = 'YOUR_CONSUMER_SECRET';

4) 起動

iOSのみ利用できます。

react-native run-ios

rnhbfav's People

Contributors

yuheinakasaka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

laiso

rnhbfav's Issues

Webview does not connect to some url

This is the bug of react-native.

To avoid this error, please add the patch code to node_modules/react-native/React/Views/RCTWebview.m,

- (BOOL)webView:(__unused UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request
 navigationType:(UIWebViewNavigationType)navigationType
{

  if (![request.URL.scheme isEqual:@"http"] &&
      ![request.URL.scheme isEqual:@"https"] &&
      ![request.URL.scheme isEqual:@"about:blank"]) {
         if ([[UIApplication sharedApplication]canOpenURL:request.URL]) {
             [[UIApplication sharedApplication]openURL:request.URL];
         }
      return NO;
  }

...

AppStoreリリース

もう少し使ってみて不具合が落ち着いてきたらリリースする。
最低限8月中に申請までやりたい。

Push通知

本家のほうでは使ってなかったけど要望多ければ追加する

ナイトモード

夜寝る前とかに開くと目が痛くなるのでほしい。
こういうやつ↓
21056886_1544994875567220_1459199304_o

ユーザーのブックマーク見たい

本家にもあるが、ユーザーをクリックするとそのユーザーのブックマーク一覧が表示できる機能がある。あれ見たいこと割とあったので検討。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.