Skip to content

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

@esarbanis

Description

@esarbanis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions