Wildcard App ID passes in iOS but fails in Android

In Apple Developer Portal, when you choose an asterix containing App ID, e.g. com.company.* this fails for android builds.

    ✖ Running command - failed!
27
    [ERROR] Cordova encountered an error.
28
            You may get more insight by running the Cordova command above directly.
29
    
30
    [ERROR] An error occurred while running cordova platform add <PLATFORM redacted>@6.2.1
31
            --save (exit code 1):
32
    
33
    
34
            You have been opted out of telemetry. To change this, run: cordova
35
            telemetry on.
36
            Adding <PLATFORM redacted> project...
37
            Error: Error validating package name. Package name must look like:
38
            com.company.Name
39
    

Any idea how to work around this?

The regarding files are:

ionic.config.json:

 {
   "name": "name",
   "app_id": "com.company.*",
   "type": "ionic-angular"
 }

ionic.project:

 {
   "name": "name",
   "app_id": "com.company.*"
 }

config.xml:

{
       <widget xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
        android-versionCode="24" id="com.company.*"
}

You can’t use * in the package name of an Android project.