Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[expo-firebase-analytics] logEvent without properties param not working on Android standalone app #8873

Closed
erickleal94 opened this issue Jun 18, 2020 · 2 comments

Comments

@erickleal94
Copy link

馃悰 Bug Report

Calling Analytics.logEvent('event_name') without params throws an error on Android standalone app

I added an alert to show error in standalone app and it shows "java.util.set java.util.hashmap.keyset()' on a null object reference". When an empty object is added to the logEvent call, like Analytics.logEvent('event_name', {}) it works.

In Expo documentation the properties param is optional.

Running on iOS standalone app or Expo Client everything works fine.

@byCedric
Copy link
Member

Hi @erickleal94! Thanks for the issue report. Could you share a bit more context about your project? E.g. SDK version or even better, a repro :) I tried reproducing this, but I couldn't. We had a known issue related to this, but it was fixed in #7897. If you are running an older version, I highly recommend upgrading it.

Hope it helps!

@IjzerenHein
Copy link
Contributor

Closing, this issue was fixed by #7897

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants