Skip to content

Commit

Permalink
[firebase-analytics] Fix setAnalyticsCollectionEnabled
Browse files Browse the repository at this point in the history
  • Loading branch information
IjzerenHein committed Apr 10, 2020
1 parent a9160d7 commit c4a8ef7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/expo-firebase-analytics/CHANGELOG.md
Expand Up @@ -9,3 +9,4 @@
### 🐛 Bug fixes

- Fix `expo-firebase-analytics` not recording events on the Expo client running on certain Android devices. ([#7192](https://github.com/expo/expo/pull/7679) by [@IjzerenHein](https://github.com/IjzerenHein))
- Fix `setAnalyticsCollectionEnabled` throwing an error.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -75,7 +75,7 @@ export default {
return callAnalyticsModule('logEvent', name, properties);
},
async setAnalyticsCollectionEnabled(isEnabled: boolean): Promise<void> {
return callAnalyticsModule('setAnalyticsEnabled', isEnabled);
return callAnalyticsModule('setAnalyticsCollectionEnabled', isEnabled);
},
async setCurrentScreen(screenName?: string, screenClassOverride?: string): Promise<void> {
return callAnalyticsModule('setCurrentScreen', screenName, screenClassOverride);
Expand Down

0 comments on commit c4a8ef7

Please sign in to comment.