Skip to content

Commit

Permalink
fix(Android): correct abstract for old arch
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 committed Dec 30, 2024
1 parent f81aae1 commit 3a8b25a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions android/src/oldarch/TscBlueSpec.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ abstract class TscBlueSpec internal constructor(context: ReactApplicationContext
abstract fun disconnect(deviceId: Double, promise: Promise)
abstract fun read(deviceId: Double, promise: Promise)
abstract fun send(deviceId: Double, data: String, promise: Promise)

abstract fun addListener(eventName: String)
abstract fun removeListeners(count: Double)
}
3 changes: 3 additions & 0 deletions android/src/oldarch/TscUsbSpec.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ abstract class TscUsbSpec internal constructor(context: ReactApplicationContext)
abstract fun disconnect(deviceId: Double, promise: Promise)
abstract fun read(deviceId: Double, promise: Promise)
abstract fun send(deviceId: Double, data: String, promise: Promise)

abstract fun addListener(eventName: String)
abstract fun removeListeners(count: Double)
}

0 comments on commit 3a8b25a

Please sign in to comment.