You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within our project we have several different builds Dev/UAT etc depending on which build is being worked on dictates several env vars. One of the challenges we have faced is how can we manipulate the mapbox specific references. For example if i switch to UAT the token/tileset/style should all be dynamically updated. I was thinking of something like the below in the mapboxaccess class is there a better way to achieve this? The unity menu will wipe the token clear if i do try this as the env var doesnt exist before run time
get
{
if (_configuration == null)
{
_configuration = new MapboxConfiguration
{
AccessToken = EnvironmentManager.MAPBOX_TOKEN
};
}
return _configuration;
Unity version: 2020.3.26f1
Models of phones tested: Pixel 6
Android Version 12
Scripting Backend: Mono
Api Compatibility Level: 33
Mapbox SDK version: Mapbox 2.1.1
The platform you're building to: Android
The text was updated successfully, but these errors were encountered:
Within our project we have several different builds Dev/UAT etc depending on which build is being worked on dictates several env vars. One of the challenges we have faced is how can we manipulate the mapbox specific references. For example if i switch to UAT the token/tileset/style should all be dynamically updated. I was thinking of something like the below in the mapboxaccess class is there a better way to achieve this? The unity menu will wipe the token clear if i do try this as the env var doesnt exist before run time
get
{
if (_configuration == null)
{
_configuration = new MapboxConfiguration
{
AccessToken = EnvironmentManager.MAPBOX_TOKEN
};
}
return _configuration;
Unity version: 2020.3.26f1
Models of phones tested: Pixel 6
Android Version 12
Scripting Backend: Mono
Api Compatibility Level: 33
Mapbox SDK version: Mapbox 2.1.1
The platform you're building to: Android
The text was updated successfully, but these errors were encountered: