Skip to content

Commit b4b2852

Browse files
committed
feat: use lib author's package name on android
1 parent 3e8f83f commit b4b2852

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

packages/create-react-native-library/templates/native-common/android/build.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,7 @@ def supportsNamespace() {
5252

5353
android {
5454
if (supportsNamespace()) {
55-
<% if (project.moduleConfig === 'nitro-modules') { -%>
56-
namespace "com.margelo.nitro.<%- project.package -%>"
57-
<% } else { -%>
5855
namespace "com.<%- project.package -%>"
59-
<% } -%>
6056

6157
sourceSets {
6258
main {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.margelo.nitro.<%- project.package %>
1+
package com.<%- project.package %>
22

33
class CrnlNitro : Hybrid<%- project.name %>Spec() {
44
override val memorySize: Long

0 commit comments

Comments
 (0)