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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name must consist of letters, digits or _ (underscores) #50

Open
esarbanis opened this issue Apr 12, 2020 · 0 comments
Open

Name must consist of letters, digits or _ (underscores) #50

esarbanis opened this issue Apr 12, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@esarbanis
Copy link

I had the following code running without error until I upgraded firebase_luberdash.

logMessage('${bloc.runtimeType}: $event');

Now I am getting the following error:

E/FA      ( 6479): Name must consist of letters, digits or _ (underscores). Type, name: event, QuizBloc: Instance of 'InitializeQuiz'
E/FA      ( 6479): Invalid public event name. Event will not be logged (FE): MyBloc: Instance of 'InitializeAction'

I have narrowed it down to this commit, in which I see that the message passed for logging is now bound to the name property of FirebaseAnalytics client. The problem is that name comes with restrictions both in length (40) and it the character type (it only allows letters, digits or _).

I think a good solution, for now, would be to re-instate the loggerName.

Leftwitch added a commit to Leftwitch/lumberdash that referenced this issue Sep 14, 2020
Leftwitch added a commit to Leftwitch/lumberdash that referenced this issue Sep 14, 2020
Leftwitch added a commit to Leftwitch/lumberdash that referenced this issue Sep 14, 2020
Leftwitch added a commit to Leftwitch/lumberdash that referenced this issue Sep 14, 2020
Leftwitch added a commit to Leftwitch/lumberdash that referenced this issue Sep 15, 2020
@fwagner fwagner added the bug Something isn't working label Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants