ACRA / acra-storage

GNU General Public License v3.0
49 stars 32 forks source link

Incorrect field name used to generate device name when BUILD field not included #15

Open andymstone opened 6 years ago

andymstone commented 6 years ago

If the BUILD field is not included in the crash report then acra-storage builds the device name from BRAND, PRODUCT and PHONE_MODEL.

The problem is that on line 42 of vendor/acra-storage/utils.js it refers to doc.MODEL when it should be doc.PHONE_MODEL (as in the if statement on the line before).