# Automatic Build Hints Configuration

DevFeed: [Automatic Build Hints Configuration](<https://devfeed.tech/articles/automatic-build-hints-configuration-19205.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/automatic-build-hints-configuration/>)

Author: Shai Almog

Published: 2017-01-17T00:00:00Z

Content type: tutorial

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [configuration](<https://devfeed.tech/topics/configuration.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Android](<https://devfeed.tech/topics/android.md>), [Google Maps](<https://devfeed.tech/topics/google-maps.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [api](<https://devfeed.tech/tags/api.md>), [apple](<https://devfeed.tech/tags/apple.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [google-maps](<https://devfeed.tech/tags/google-maps.md>), [ios](<https://devfeed.tech/tags/ios.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [mobile](<https://devfeed.tech/tags/mobile.md>)

## AI overview

Codename One introduces APIs that can detect whether build hints are set and assign values when they are missing or incorrect. The feature helps handle platform requirements such as iOS location usage descriptions and lets third-party libraries detect misconfiguration or provide setup interfaces.

## Source excerpt

We try to make Codename One "seamless", this expresses itself in many small details such as the automatic detection of permissions on Android etc. The build servers go a long way in setting up the environment as intuitive. But it's not enough, build hints are often confusing and obscure. It's just hard to abstract the mess that is native mobile OS's and the odd policies from Apple/Google... E.g. a common problem developers face is location code that doesn't work in iOS. This is due to the ios.locationUsageDescription build hint that's required. The reason we added that build hint was a requirement by Apple to provide a description for every app that uses the location service.