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,
|
Text,
|
||||||
View
|
View
|
||||||
} from 'react-native';
|
} from 'react-native';
|
||||||
import { doInstallNew } from 'lbryinc';
|
|
||||||
import Colors from '../../styles/colors';
|
import Colors from '../../styles/colors';
|
||||||
import Link from '../../component/link';
|
import Link from '../../component/link';
|
||||||
import PhoneNumberRewardSubcard from '../../component/phoneNumberRewardSubcard';
|
import PhoneNumberRewardSubcard from '../../component/phoneNumberRewardSubcard';
|
||||||
|
|
|
@ -17,7 +17,7 @@ const select = state => ({
|
||||||
});
|
});
|
||||||
|
|
||||||
const perform = dispatch => ({
|
const perform = dispatch => ({
|
||||||
authenticate: (appVersion, deviceId) => dispatch(doAuthenticate(appVersion, deviceId)),
|
authenticate: (appVersion, os) => dispatch(doAuthenticate(appVersion, os)),
|
||||||
deleteCompleteBlobs: () => dispatch(doDeleteCompleteBlobs()),
|
deleteCompleteBlobs: () => dispatch(doDeleteCompleteBlobs()),
|
||||||
balanceSubscribe: () => dispatch(doBalanceSubscribe()),
|
balanceSubscribe: () => dispatch(doBalanceSubscribe()),
|
||||||
notify: data => dispatch(doNotify(data)),
|
notify: data => dispatch(doNotify(data)),
|
||||||
|
|
|
@ -149,7 +149,7 @@ class SplashScreen extends React.PureComponent {
|
||||||
balanceSubscribe();
|
balanceSubscribe();
|
||||||
NativeModules.VersionInfo.getAppVersion().then(appVersion => {
|
NativeModules.VersionInfo.getAppVersion().then(appVersion => {
|
||||||
this.setState({ shouldAuthenticate: true });
|
this.setState({ shouldAuthenticate: true });
|
||||||
authenticate(`android-${appVersion}`);
|
authenticate(appVersion, Platform.OS);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue