Skip to content

[Android] [CLI] Unable to use CLI to generate android package with dashes in the name. #4216

@geof90

Description

@geof90

The android project generator from the CLI, e.g react-native android, fails if the name specified in package.json contains dashes, eg "my-react-app". Instead of rejecting names with dashes, can we strip out the dashes in dash-cased names, e.g. "my-react-app" -> "com.myreactapp" when generating the java package? This is really helpful because NPM modules are generally dash-cased, while Java packages are usually all lower cased.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueInterested in collaborating? Take a stab at fixing one of these issues.Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions