Skip to content

Commit 14730be

Browse files
mrousavysatya164
andauthored
fix: fix …Package.kt being in wrong Java package for Nitro (#869)
<!-- Please provide enough information so that others can review your pull request. --> <!-- Keep pull requests small and focused on a single change. --> ### Summary Previously, CRNL moved the `...Package.kt` into the wrong Java `package`. The Java `package` from the `build.gradle` is expected. This PR fixes that. <!-- What existing problem does the pull request solve? Can you solve the issue with a different approach? --> ### Test plan Build a newly created Nitro library with CRNL. Do we have CI for that? We should definitely add one <!-- List the steps with which we can test this change. Provide screenshots if this changes anything visual. --> Co-authored-by: Satyajit Sahoo <[email protected]>
1 parent a933e02 commit 14730be

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import com.facebook.react.bridge.NativeModule
55
import com.facebook.react.bridge.ReactApplicationContext
66
import com.facebook.react.module.model.ReactModuleInfoProvider
77
import com.facebook.react.uimanager.ViewManager
8-
import com.margelo.nitro.<%- project.package_cpp -%>.views.Hybrid<%- project.name -%>Manager
8+
9+
import <%- project.package_cpp -%>.views.Hybrid<%- project.name -%>Manager
910

1011
class <%- project.name -%>Package : TurboReactPackage() {
1112
override fun getModule(name: String, reactContext: ReactApplicationContext): NativeModule? {

0 commit comments

Comments
 (0)