Skip to content

Commit

Permalink
fix: execute errorCallback
Browse files Browse the repository at this point in the history
  • Loading branch information
OS-ricardomoreirasilva committed Jul 19, 2024
1 parent 1661015 commit ed2e7b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ class OSFirebaseCloudMessaging : CordovaImplementation() {
pendingNotificationNullableList?.let { pendingNotificationList ->
gson.toJson(pendingNotificationList)?.let { jsonString ->
sendSuccess(callbackContext, jsonString)
} ?: errorCallback
} ?: errorCallback
} ?: errorCallback()
} ?: errorCallback()
}

override fun onRequestPermissionResult(requestCode: Int,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ apply plugin: 'kotlin-kapt'
dependencies {
implementation("com.github.outsystems:oscore-android:1.2.0@aar")
implementation("com.github.outsystems:oscordova-android:2.0.1@aar")
implementation("com.github.outsystems:osfirebasemessaging-android:1.2.0-dev2@aar")
implementation("com.github.outsystems:osfirebasemessaging-android:1.2.0-dev15@aar")
implementation("com.github.outsystems:oslocalnotifications-android:1.0.0@aar")

implementation("com.google.code.gson:gson:2.8.9")
Expand Down

0 comments on commit ed2e7b4

Please sign in to comment.