We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5e2d21 commit a17ddf6Copy full SHA for a17ddf6
browser/main/lib/AwsMobileAnalyticsConfig.js
@@ -7,7 +7,7 @@ const os = require('os')
7
let mobileAnalyticsClient
8
9
AWS.config.region = 'us-east-1'
10
-if (process.env.NODE_ENV === 'production' && ConfigManager.default.get().amaEnabled && window.navigator.onLine) {
+if (!getSendEventCond()) {
11
AWS.config.credentials = new AWS.CognitoIdentityCredentials({
12
IdentityPoolId: 'us-east-1:xxxxxxxxxxxxxxxxxxxxxxxxx'
13
})
0 commit comments