diff --git a/javascript/mixpanel-main.js b/javascript/mixpanel-main.js index 134ef9c2..a2217c1c 100644 --- a/javascript/mixpanel-main.js +++ b/javascript/mixpanel-main.js @@ -41,7 +41,7 @@ export default class MixpanelMain { getMetaData() { const {OS, Version, constants} = Platform; - const {Brand, Manufacturer, Model} = constants; + const {Brand, Manufacturer, Model} = constants || {}; let metadata = { $os: OS,