1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-10-08 08:45:14 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
lvbingru
2016-04-06 09:42:55 +08:00

View File

@@ -9,7 +9,7 @@ import React, {
Platform, Platform,
} from 'react-native'; } from 'react-native';
import _updateConfig from '../update.json'; import _updateConfig from './update.json';
const {appKey} = _updateConfig[Platform.OS]; const {appKey} = _updateConfig[Platform.OS];
``` ```
@@ -122,7 +122,7 @@ class MyProject extends Component {
}).catch(err => { }).catch(err => {
Alert.alert('提示', '更新失败.'); Alert.alert('提示', '更新失败.');
}); });
} };
render() { render() {
return ( return (
<View style={styles.container}> <View style={styles.container}>