Have you set the API key?
Yes, API key is set on server2 (and it works ok via web client) but not in Traccar Manager when is is connected to server2 (Traccar Manager shows Google Hybryd map not enabled)
Is very strange since the same Traccar Manager connected to server1 shows GHM enabled and as default
Please provide screenshots (blur the actual key) from the Traccar Manager that doesn't work:
You can see "Google hibrido" (spanish) is in red disabled. When you click on it, it asks for the API key.
I did a test on a Traccar Manager (TM) admin account connected to that server2, I copy and paste the API key and it works for that account only. Other users on that server using the same TM app still show GHM disabled
So, it works if you set the API key for the account? What is the problem then?
The problem is that I have to go to more than 500 user's phones and paste the API key manually one by one and that is not feasible.
Is there a way to do it all at once from the server side?
Where is that API key information stored? at the server or at the apps config files in the phone?
You can set it in the server attributes.
Could you give me a link that explains that operation?
You set it exactly the same way as user attribute.
Do you mean going to Settings > Users > Edit (button) > Attributes ?
at https://domain.com/settings/user/xxx
?
That's user attributes. You want to do the same thing in the server attributes, if you want to apply it to the whole server.
I see two possible options for this attributte's name: "googleKey" and "Google API Key"
Which one should I use?
Both should work I think.
ok, I'll try this
I have two traccar servers (server1 and server2) and one customized android TraccarManager (TM) app
I recently upgraded booth servers to 6.4 version
Web client shows Google hybrid maps (GHM) as available and selected by default on booth servers
TM shows GHM available and selected by default on server1
TM shows GHM NOT available (asks for a Google API key to enable it)
App version is 6.4 in server1 but stays 5.8 on server2
How to enable GHM for TM on server2? How to update app version to 6.4 on server2?