We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca43d6e + 55c09b6 commit b88da80Copy full SHA for b88da80
src/index.js
@@ -1,5 +1,6 @@
1
var exec = require("cordova/exec");
2
-var deviceVendor = window.clientInformation && window.clientInformation.vendor;
+var deviceVendor = (typeof window.clientInformation != 'undefined' && typeof window.clientInformation.vendor != 'undefined') ? window.clientInformation.vendor : "unknownVendor";
3
+
4
// SDK Class
5
var API_CLASS = "BranchSDK";
6
0 commit comments