An open API service indexing awesome lists of open source software.

https://github.com/kaixinfu/react-native-video

react-native-video
https://github.com/kaixinfu/react-native-video

react-native react-native-video

Last synced: about 1 year ago
JSON representation

react-native-video

Awesome Lists containing this project

README

          

# native-native-video

## Contains

- [x] [realm](https://realm.io)
- [x] [mobx](https://mobx.js.org/)
- [x] [Babel](https://babeljs.io/)
- [x] [react-native](http://reactnative.cn/)
- [x] [react-native-video](https://www.npmjs.com/package/react-native-video)
- [x] [native-base](http://nativebase.io/)

## Install

`git clone git@github.com:liukaixin01/native-native-video.git`

`npm install`

## realm

- 1.跨平台,Realm 支持 iOS & OS X (Objective‑C & Swift) & Android。我们可以在这些平台上共享Realm数据库文件,并且上层逻辑可以不用任何改动的情况下实现移植。

- 2.高级,Ream支持加密,格式化查询,易于移植,支持JSON,流式api,数据变更通知等高级特性

- 3.可视化,Realm 还提供了一个轻量级的数据库查看工具Mac版Realm Browser方便查看数据,Mac app store下载即可

## mobx

> `npm install mobx mobx-react --save`

> `npm install babel-plugin-transform-decorators-legacy babel-preset-react-native-stage-0 --save`

> `.babelrc文件 ---> {
> "presets": ["react-native"],
> "plugins": ["transform-decorators-legacy"]
> }`

## Dev

> ios: `react-native run-ios`

> android: `react-native run-android`