Skip to content

Commit 2e96792

Browse files
authored
Merge branch 'master' into package-version-change
2 parents 6589b2a + b88da80 commit 2e96792

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
var exec = require("cordova/exec");
2-
var deviceVendor = window.clientInformation && window.clientInformation.vendor;
2+
var deviceVendor = (typeof window.clientInformation != 'undefined' && typeof window.clientInformation.vendor != 'undefined') ? window.clientInformation.vendor : "unknownVendor";
3+
34
// SDK Class
45
var API_CLASS = "BranchSDK";
56

0 commit comments

Comments
 (0)