Renaming Firebase notification channel to "Mobile App"

Kaldek a year ago

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 a year ago

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

Kaldek a year ago

Thanks Anton.

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

Track-trace a year ago

@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 a year ago

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

Track-trace a year ago

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 a year ago

Agreed, hiding the option is the better solution.

Anton Tananaev a year ago

You can already hide it by disabling it.

Kaldek a year ago

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 a year ago

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 a year ago

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

Kaldek a year ago

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

grant a year ago

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.