-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Firebase Analytics: setUserID does not show in DebugView #4313
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I did try the newest Firebase SDK 6.12.0, and pod update; but the issue still persists. |
Hi @professorbk, It make some time after setting the user ID before the data gets uploaded to the dashboard. How long did you wait after setting the user ID before you checked the dashboard? Also could you provide us with device logs while using debug mode? |
@allenktv thank you so much for your support. Yesterday, after setting the user ID, I waited about 4~5 hours, and the user ID was not available on Dashboard yet. About device log, in xcode, I open Window -> Devices and Simulators -> Devices -> View Device Logs, and I saw some log files of type Crash and Unknown. Could you please tell me which log file I need to provide? |
Hi @professorbk, I am glad you are seeing the user ID as being set correctly. The user ID not showing up in debug view is indeed a bug and I have filed an internal tracker at b/144576881 for it. Thank you. |
I'm having the same problem, coming from react-native-firebase. Will this be fixed on web or do we need to update the iOS plugin? |
@amorino afaik Analytics on RN uses the native SDK, so you'll need to update your iOS plugin version. |
Same for me, FirebaseAnalytics 6.2.1 |
Problem seems to persist with "@react-native-firebase/analytics": "^6.7.1". My setUserId call is not being displayed in debug view. |
there seems to be a reference error (undefined is not an object) with 'this.native', and the error exists for setUserId, setSessionTimeoutDuration, and setMinimumSessionDuration. Anyone find a fix? perhaps rolling back to a particular version? |
Im still having this issue on firebase Analytics 8.5.0 for iOS.. is there any fix? |
I have the same problem with Firebase Analytics on Android. I turned on verbose logging and according to LogCat, the user_property user_id is sent to firebase. So maybe/hopefully this is just a bug in DebugView. I will see tomorrow or so, when the data is available in the events view... |
I'm having the same issue, user_id is set on the front end but not showing in DebugView. Any clues? |
[REQUIRED] Describe your environment
Xcode version: 10.1
Firebase SDK version: 6.11.0
Firebase Component:
[REQUIRED] Describe the problem
Analytics.setUserID does not work.
Steps to reproduce:
I added these code inside a function to log some properties:
DebugView only shows "888"; which mean Analytics.setUserID did not work, and only Analytics.setUserProperty worked.
Dashboard's filter by User property user_id does not include expected result "999"
The text was updated successfully, but these errors were encountered: