Commit 6fb1cd27 authored by Trisno's avatar Trisno

benerin app_version

parent 9851e392
...@@ -51,12 +51,7 @@ class Login extends React.Component { ...@@ -51,12 +51,7 @@ class Login extends React.Component {
let device_id = Constants.deviceId let device_id = Constants.deviceId
let os_name = Device.osName let os_name = Device.osName
let os_version = Device.osVersion let os_version = Device.osVersion
let app_version let app_version = Constants.manifest.version
if (os_name == 'Android') {
app_version = Constants.platform.android.versionCode
} else {
app_version = Constants.platform.ios.buildNumber
}
let deviceInfoProps = { let deviceInfoProps = {
device_id: device_id, device_id: device_id,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment