Skip to content
Browse files

Log the device name for better Android troubleshooting.

  • Loading branch information...
1 parent 0d2ee98 commit 74490961d53007d4117bf6db1d929e7f9b3d1eb6 @cpojer cpojer committed Nov 18, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 JavaScript/App.js
View
1 JavaScript/App.js
@@ -492,6 +492,7 @@ API.setLogHandler(function(data) {
var device = window.device;
data.platform = ((device && device.platform) || (Browser.name + '; ' + (Browser.Device.name != 'other' ? Browser.Device.name : Browser.Platform.name))).toLowerCase();
data.os_version = (device && device.version) || Browser.version;
+ data.device = ((device && device.name) || '').toLowerCase();
data.version = Auphonic.Version;
return data;
});

0 comments on commit 7449096

Please sign in to comment.
Something went wrong with that request. Please try again.