Remove underscores from Android identifier during flutter create (#10506)

Fixes #10077
This commit is contained in:
Todd Volkert
2017-06-05 11:25:46 -07:00
committed by GitHub
parent dd6aab2e07
commit 078b380d51

View File

@@ -275,7 +275,7 @@ To edit platform code in an IDE see https://flutter.io/platform-plugins/#edit-co
}
String _createAndroidIdentifier(String organization, String name) {
return '$organization.$name';
return '$organization.$name'.replaceAll('_', '');
}
String _createPluginClassName(String name) {