From 1d03d09119cc0769be92fc65f549ede0691f874f Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Mon, 3 Sep 2018 20:19:12 +0100 Subject: [PATCH] send Platform.OS as operating system value for the install/new request --- app/src/page/rewards/view.js | 1 - app/src/page/splash/index.js | 2 +- app/src/page/splash/view.js | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/page/rewards/view.js b/app/src/page/rewards/view.js index b498403..341f452 100644 --- a/app/src/page/rewards/view.js +++ b/app/src/page/rewards/view.js @@ -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'; diff --git a/app/src/page/splash/index.js b/app/src/page/splash/index.js index 940e9de..d9ac7ed 100644 --- a/app/src/page/splash/index.js +++ b/app/src/page/splash/index.js @@ -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)), diff --git a/app/src/page/splash/view.js b/app/src/page/splash/view.js index dcd619b..debde4b 100644 --- a/app/src/page/splash/view.js +++ b/app/src/page/splash/view.js @@ -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); }); });