You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit efa82f5
Browse filesBrowse the repository at this point in the historyBrowse files
Fix plugin scaffolding for names like `my-plugin`: the default Android package ID now uses a snake_case segment (`com.plugin.my_plugin`) and user-provided IDs are validated, iOS Xcode folders use the same kebab-case name as the project file, and the `plugin ios init`/`plugin android init` code snippets now match the generated bindings and the `setup(|app, api| ..)` API. `plugin init` into a non-empty directory no longer creates a `permissions` folder after skipping the template.
.is_some_and(|c| c.is_ascii_alphabetic() || c == '_')
361
+
&& chars.all(|c| c.is_ascii_alphanumeric() || c == '_')
362
+
&& !JAVA_KEYWORDS.contains(&segment);
363
+
if !valid {
364
+
crate::error::bail!(
365
+
"invalid Android package ID `{package_id}`: `{segment}` is not a valid Java identifier; each dot-separated segment must start with a letter or `_` and contain only letters, digits and `_`"
0 commit comments