Merge branch 'master' of https://github.com/reactnativecn/react-native-pushy
This commit is contained in:
commit
b733bed803
@ -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}>
|
||||||
|
Loading…
Reference in New Issue
Block a user