Duolith docs

Errors E0400 to E0499

E0472 App id the stores do not accept

Message setting "id" is not an app id platform accepts

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

The id is the app's bundle id on iOS and its application id on Android, a reverse-domain name of two or more parts. iOS takes only letters, digits, - and . in a bundle id (CFBundleIdentifier), so no . Android takes only letters, digits and , with each part starting with a letter, so no - and no part starting with a digit. The shared app.id is used by every platform without an id of its own, so it must satisfy each of them, and the message names the one it fails. An id cannot change once the app is published, so it is checked before anything is built.

How to fix it

Write a reverse-domain name you own that both stores take, such as com.example.fieldnotes. When the two must differ, give ios.id and android.id, each in its own platform's form.

In a terminal

duolith explain E0472

Mentioned in