1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Merge pull request #634 from asmsuechan/enable-analytics-on-develop

Disable awsAnalytics on develop
This commit is contained in:
SuenagaRyota
2017-06-12 19:07:32 +09:00
committed by GitHub
2 changed files with 9 additions and 6 deletions

View File

@@ -23,7 +23,9 @@ class Main extends React.Component {
constructor (props) {
super(props)
mobileAnalytics.initAwsMobileAnalytics()
if (process.env.NODE_ENV === 'production') {
mobileAnalytics.initAwsMobileAnalytics()
}
let { config } = props