mapzen / ios

Where you can find everything iOS from Mapzen
https://mapzen.com/projects/mobile/
Apache License 2.0
40 stars 24 forks source link

Update the Sample App to correctly handle empty string API keys #353

Closed msmollin closed 6 years ago

msmollin commented 6 years ago

Overview

The info dictionary returns an empty string (rather than nil) for our API key by default in the objective-c sample. This causes an issue when trying to set environment variables for the API key to be injected. This PR fixes that by adding additional checks for that case.

Proposed Changes