This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ios,macos] add Info.plist key guides
- Loading branch information
Showing
4 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Info.plist Keys | ||
|
||
The SDK supports several custom `Info.plist` keys in your application in order to configure various settings. | ||
|
||
## MGLMapboxAccessToken | ||
|
||
Use this key to set your Mapbox API [access token](https://www.mapbox.com/help/define-access-token/). This key is required for all map use. | ||
|
||
## MGLMapboxAPIBaseURL | ||
|
||
Use this key if you need to customize the API base URL used throughout the SDK. If unset, the default Mapbox API is used. | ||
|
||
## MGLMapboxMetricsEnabledSettingShownInApp | ||
|
||
If you have implemented custom opt-out of Mapbox Telemetry within the user interface of your app, use this key to disable the built-in check for opt-out support. See [this guide](https://www.mapbox.com/ios-sdk/#telemetry_opt_out) for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Info.plist Keys | ||
|
||
The Mapbox macOS SDK supports custom `Info.plist` keys in your application in order to configure various settings. | ||
|
||
## MGLMapboxAccessToken | ||
|
||
Use this key to set your Mapbox API [access token](https://www.mapbox.com/help/define-access-token/). This key is required for all map use. | ||
|
||
## MGLMapboxAPIBaseURL | ||
|
||
Use this key if you need to customize the API base URL used throughout the SDK. If unset, the default Mapbox API is used. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters