Skip to content

Commit

Permalink
Remove the close method as it is not used anywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
waisingyiu committed Apr 16, 2024
1 parent 0b7dae1 commit 3a3d50a
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ class FcmClient (firebaseMessaging: FirebaseMessaging, firebaseApp: FirebaseApp,
ErrorCode.PERMISSION_DENIED
)

def close(): Unit = firebaseApp.delete()

private final val FCM_URL: String = s"https://fcm.googleapis.com/v1/projects/${projectId}/messages:send";

private val fcmTransport: FcmTransport = new FcmTransportJdkImpl(credential, FCM_URL, jsonFactory)
Expand Down

0 comments on commit 3a3d50a

Please sign in to comment.