Skip to content

Commit e5f0200

Browse files
committed
fix: remove old methods from android
1 parent b1fd686 commit e5f0200

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ runs:
77
- name: Setup Node.js
88
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
99
with:
10-
node-version-file: .nvmrc
10+
node-version: '22'
1111

1212
- name: Restore dependencies
1313
id: yarn-cache

android/src/main/java/com/margelo/nitro/nitronotification/HybridNitroNotification.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,5 @@ class HybridNitroNotification : HybridNitroNotificationSpec() {
2525

2626
override fun setOnTokenRefreshed(callback: ((token: String) -> Unit)?) = Unit
2727

28-
override fun setOnNotificationReceived(callback: ((notification: NotificationPayload) -> Unit)?) = Unit
29-
3028
override fun setOnNotificationTapped(callback: ((response: NotificationResponse) -> Unit)?) = Unit
31-
32-
override fun setForegroundPresentationOptions(options: ForegroundPresentationOptions) = Unit
3329
}

0 commit comments

Comments
 (0)