prepare for release

This commit is contained in:
Kyle Fang
2019-12-03 12:00:16 +08:00
parent b5ab54ce65
commit 12959cd720
5 changed files with 22 additions and 14 deletions

View File

@@ -10,7 +10,7 @@
import React, { Component } from 'react';
import { Platform, StyleSheet, Text, View } from 'react-native';
import VideoCache from 'react-native-video-cache';
import convertToCache from 'react-native-video-cache';
export default class App extends Component<{}> {
state = {
@@ -18,7 +18,7 @@ export default class App extends Component<{}> {
message: '--'
};
componentDidMount() {
VideoCache.convert('https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-720p.mp4').then((message) => {
convertToCache('https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-720p.mp4').then((message) => {
this.setState({
status: 'native callback received',
message