Renaming Firebase notification channel to "Mobile App"

Kaldek last year

We've just tested and submitted our custom mobile app to the App Store and Play store. Firebase notifications are working perfectly, and as part of branding and ease of use, we'd like to have the Notification Channel of "Firebase" able to be renamed to something like "Mobile App" or just "Push".

I'm not yet aware of whether we can do that in any Server attributes or in the Configuration File, or whether we need to alter the source code.

Anton Tananaev last year

You would have to alter the code. Specifically localization strings.

Kaldek last year

Thanks Anton.

I figured we'd be a year or more out from needing source code changes, but I guess not!

Track-trace last year

@kaldek

Do you just mean the name firebase in traccar server for notifications? If so whats the point of changing it.

Besides, interested to know what your app looks like, what is it called on playstore or playstore link.

Kaldek last year

Yes, that is what I mean. Customers have no idea what "Firebase" means and it will just cause confusion and support tickets.

Track-trace last year

I think then Push will raise even more questions.. Would be better if you had an option to hide those function for your customers.

Kaldek last year

Agreed, hiding the option is the better solution.

Anton Tananaev last year

You can already hide it by disabling it.

Kaldek last year

That's helpful - but is that a server attribute or an XML file setting? I can't see anything in server attributes for "UI: Disable Channels".

Kaldek last year

Bear in mind the goal here is that any time a user adds a Notification it will default to using Firebase. It's fine to hide it but it needs to still be the default. I'm worried that your statement of "disabling it" means that there will be no notifications generated.

Anton Tananaev last year

Yes, hiding it obviously won't make it a default.

Kaldek last year

OK we're making this change in the code. It's just some JSON changes in traccar-web.

grant last year

The other thought I had was if there is only one notification channel configured in the server, hide it in the UI or similar (but leave it enabled, if the user account has it enabled).

That's something we could potentially feed back upstream, too.

I do suspect most users are familiar with "Notification" or "Push Notification", it's certainly not mysterious to the end user like "Firebase" is.