Giter Site home page Giter Site logo

jibenziliao / react-native-app Goto Github PK

View Code? Open in Web Editor NEW
33.0 3.0 16.0 13.86 MB

使用React-Native+Redux开发的交友APP

Home Page: https://github.com/jibenziliao/react-native-app

JavaScript 95.88% Python 0.28% Java 0.39% Objective-C 1.40% Ruby 0.11% HTML 1.80% CSS 0.14%
react react-native react-native-maps react-native-app redux

react-native-app's Introduction

react-native-app

觅友 Meet U

git clone https://github.com/jibenziliao/react-native-app.git
npm install
react-native link

首页截图 寻TA截图 相册截图

下载地址

iOS版正在重构,即将上线。

App小范围试用,短信通道暂时关闭。

可使用测试账号登录:

账号:18988888888

密码:111111

Android版本已上线Google Play

Alt text

也可以从蒲公英下载测试版(两个签名不一样,不能共存)

觅友 Meet U

说明

  1. 插件react-native-swipe-cards0.0.9版本有bug(最新版已改名:react-native-tinder-swipe-cards)

    0.0.9版本第95行if判断条件替换为如下内容

    nextProps.cards && nextProps.cards.length > 0 && (nextProps.cards[0].UserId !== this.props.cards[0].UserId || nextProps.refresh !== this.props.refresh)
  2. react-native版本是0.38.0,不要轻易升级react-native版本。0.39.0、0.39.1、0.39.2在iOS平台跟cocoapods不太兼容,编译各种报错。本人对原生不是很熟悉,所以退而求其次,使用[email protected]

  3. 因集成极光推送插件,xCode需更新到8.2.1版本,以便支持iOS10,在iOS工程target的Build Phases->Link Binary with Libraries中加入如下库

    libz.tbd

    CoreTelephony.framework

    Security.framework

    CFNetwork.framework

    CoreFoundation.framework

    SystemConfiguration.framework

    Foundation.framework

    UIKit.framework

    UserNotifications.framework

    libresolv.tbd

    关于极光推送插件详细配置,请参考极光推送插件 jpush-react-native文档,及这篇博客 react native极光推送全程教程android和ios

Android

注意事项

  1. 如下图所示,如果你的SDK Tools中的Google Play Service版本比较新,你需要更改第三方插件( react-native-maps )中的一些参数:

Alt text

在node_modules/react-native-maps/Android目录下,修改build.gradle文件中的dependences为如下内容: Alt text

dependencies {
   compile 'com.facebook.react:react-native:+'
-  compile "com.google.android.gms:play-services-base:9.0.4"
-  compile 'com.google.android.gms:play-services-maps:9.0.4'
+  compile "com.google.android.gms:play-services-base:10.0.1"
+  compile 'com.google.android.gms:play-services-maps:10.0.1'
}
react-native run-android

iOS

注意事项

  1. iOS真机调试无法开启dev菜单,可能跟Libraries有关,在模拟器上可以使用开发者菜单进行调试。(对原生不太熟悉,暂时没有解决)
react-native run-ios

react-native-app's People

Contributors

jibenziliao 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

Watchers

 avatar  avatar  avatar

react-native-app's Issues

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.