Validate package id in editor (Issue-4287) (WON'T FIX)

It would be nice to validate android package id and maybe bundle id before building.
For instance com.something.123 is not valid, Defold builds an APK, but it fails to install.

1 Like

Thanks, added Issue-4287. We will discuss it during our next planning session.

Update: We have decided that we do not wish to take on the responsibility of keeping this kind of validation code up to date with platform requirements. It is best left to the developer to make sure they follow the rules set by Google, Apple etc.

Also, this kind of validation could probably be added as a an editor extension script if someone really wants to have this. Some example regex that could be used as inspiration (and to also show the complexity of this kind of validation): https://gist.github.com/rishabhmhjn/8663966

2 Likes