Skip to content

Commit

Permalink
fix: android warn
Browse files Browse the repository at this point in the history
  • Loading branch information
gronxb committed Mar 7, 2025
1 parent 64dc01b commit d119024
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/react-native/android/src/oldarch/HotUpdaterModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,17 @@ class HotUpdaterModule internal constructor(
}
}

override fun getTypedExportedConstants(): Map<String, Any?> {
@ReactMethod
fun addListener(eventName: String?) {
// No-op
}

@ReactMethod
fun removeListeners(count: Double) {
// No-op
}

override fun getConstants(): Map<String, Any?> {
val constants: MutableMap<String, Any?> = HashMap()
constants["BUNDLE_ID_BUILD_TIME"] = HotUpdater.buildUUIDV7()
return constants
Expand Down

0 comments on commit d119024

Please sign in to comment.