Closed sethvincent closed 6 years ago
I couldn't get release builds to work without including the mapbox access token as a string instead of an environment variable. That's something we could look into later.
I’m not sure whether it can be adapted to a React Native environment, but one clean approach in a pure Cocoa project is to have a Run Script build phase read the access token from a git ignore
d file.
@1ec5 thanks I'll check that out.
This uses latest changes from my fork of react-native-mapbox-gl.
This closes #254 which allows us to create non-dev-mode builds. Before, creating a build in release mode would mean that when the app hit the issue described in #254, the app would crash and quit without warning as it started up.
Fixing this bug means we can create release builds, which because they are not including development-related functionality, will have better performance.
I couldn't get release builds to work without including the mapbox access token as a string instead of an environment variable. That's something we could look into later.