当前位置: 首页 > 软件库 > 手机/移动开发 > >

firebase-react-native-redux-starter

授权协议 Readme
开发语言 Java
所属分类 手机/移动开发
软件类型 开源软件
地区 不详
投 递 者 关正雅
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

DEPRECATED. This project is not maintained anymore.

Starter For Firebase, React Native, Redux Applications With 100% Of Code In Common Between IOS And Android, with built In Authentication, Crud Example And Form Validation.

Features

  • Authentication
  • CRUD ( Create, Read, Update, Delete )
  • Form validation
  • Redux form library configuration
  • Redux configuration
  • React Native Router Flux configuration
  • Linting with Airbnb eslint configuration

Preview

Getting started

Clone Repo

git clone https://github.com/DimiMikadze/firebase-react-native-redux-starter

npm install dependencies

npm install

Firebase

Create firebase app

  • You'll need a JavaScript (web or Node.js) app to create at Firebase.
  • Find firebase.example.json file in src directory, rename it to firebase.json and edit it with your firebase app configuration.

Add rules to firebase database

In firebase console navigate to, Database -> Rules and add following code snippet.

{
  "rules": {
    "users": {
      "$uid": {
        ".read": "$uid === auth.uid",
        ".write": "$uid === auth.uid"
      }
    }
  }
}

Application

IOS

react-native run-ios

Android

react-native run-android

Testing

npm run test

Linting

npm run lint
 相关资料
  • React Native Firebase React Native Firebase is a collection of official React Native modules connecting you to Firebase services; each module is a light-weight JavaScript layer connecting you to the n

  • Demo This project was bootstrapped with Create React Native App. Below you'll find information about performing common tasks. The most recent version of this guide is available here. Table of Contents

  • Firebase 3.0 Starter using React Redux This is a Firebase 3.0 start using React and Redux. It uses the latest version of libraries, including the brand new React Hot Loader (still beta) Stack React Re

  • 我正在尝试将redux实现到一个相对简单的应用程序中,但是我的操作似乎没有正确地触发reducer。通过控制台日志记录,操作似乎正在启动,但相应的reducer没有被执行。 app.js: reducers/index.js: riskreducer.js js(RootStack中使用redux的子组件): 编辑:我已经将reducer中的初始值更改为一个适当的对象,但是在调用该操作之后,我的r

  • 嗨,我想问一个关于React native notifications的问题。我有一个可以显示许多youtube播放列表的应用程序,我想在播放列表中添加新视频时启用推送通知。如果我使用OneSignal或Firebase作为通知是否更好?谢谢

  • 今天,我使用“React-Native-Firebase”和“Native-Base”包创建了一个(空的)Android应用程序。它在调试模式下工作,但在释放模式下发生崩溃。 重现问题的步骤: > 创建新应用程序