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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user