Skip to content

Commit f7293b8

Browse files
fix override addListener and removeListeners
1 parent 1019c90 commit f7293b8

File tree

6 files changed

+5
-7
lines changed

6 files changed

+5
-7
lines changed

android/src/newarch/com/rnbridge/shortcuts/RNShortcutsModule.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,10 @@ class RNShortcutsModule(reactContext: ReactApplicationContext) :
166166
super.invalidate()
167167
}
168168

169+
override fun addListener(eventType: String) {}
170+
171+
override fun removeListeners(count: Double) {}
172+
169173
companion object {
170174
const val NAME = "RNShortcuts"
171175
}

lib/typescript/commonjs/src/__tests__/index.test.d.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

lib/typescript/commonjs/src/__tests__/index.test.d.ts.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

lib/typescript/module/src/__tests__/index.test.d.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

lib/typescript/module/src/__tests__/index.test.d.ts.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rn-bridge/react-native-shortcuts",
3-
"version": "0.8.0",
3+
"version": "0.9.0",
44
"description": "React native library for android shortcuts and iOS quick actions which allow users to quickly access specific app functionalities directly from the home screen or app icon.",
55
"source": "./src/index.tsx",
66
"main": "./lib/commonjs/index.js",

0 commit comments

Comments
 (0)