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
- Host: GitHub
- URL: https://github.com/kaixinfu/react-native-video
- Owner: kaixinfu
- Created: 2017-09-22T11:16:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-01T12:57:51.000Z (over 8 years ago)
- Last Synced: 2025-02-16T00:47:26.573Z (about 1 year ago)
- Topics: react-native, react-native-video
- Language: JavaScript
- Size: 197 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`