send Platform.OS as operating system value for the install/new request #281
3 changed files with 2 additions and 3 deletions
|
@ -7,7 +7,6 @@ import {
|
|||
Text,
|
||||
View
|
||||
} from 'react-native';
|
||||
import { doInstallNew } from 'lbryinc';
|
||||
import Colors from '../../styles/colors';
|
||||
import Link from '../../component/link';
|
||||
import PhoneNumberRewardSubcard from '../../component/phoneNumberRewardSubcard';
|
||||
|
|
|
@ -17,7 +17,7 @@ const select = state => ({
|
|||
});
|
||||
|
||||
const perform = dispatch => ({
|
||||
authenticate: (appVersion, deviceId) => dispatch(doAuthenticate(appVersion, deviceId)),
|
||||
authenticate: (appVersion, os) => dispatch(doAuthenticate(appVersion, os)),
|
||||
deleteCompleteBlobs: () => dispatch(doDeleteCompleteBlobs()),
|
||||
balanceSubscribe: () => dispatch(doBalanceSubscribe()),
|
||||
notify: data => dispatch(doNotify(data)),
|
||||
|
|
|
@ -149,7 +149,7 @@ class SplashScreen extends React.PureComponent {
|
|||
balanceSubscribe();
|
||||
NativeModules.VersionInfo.getAppVersion().then(appVersion => {
|
||||
this.setState({ shouldAuthenticate: true });
|
||||
authenticate(`android-${appVersion}`);
|
||||
authenticate(appVersion, Platform.OS);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue