1.0.6
This commit is contained in:
parent
12ba9f3faa
commit
83bbb3b9e9
|
|
@ -1,29 +0,0 @@
|
||||||
//
|
|
||||||
// tcmpush.swift
|
|
||||||
// tcmpush
|
|
||||||
//
|
|
||||||
// Created by TA9 on 11/26/25.
|
|
||||||
//
|
|
||||||
|
|
||||||
import UIKit
|
|
||||||
|
|
||||||
public class TCMPush: NSObject {
|
|
||||||
|
|
||||||
public static let shared = TCMPush()
|
|
||||||
private override init() {}
|
|
||||||
|
|
||||||
public static var isDebugMode: Bool = false
|
|
||||||
|
|
||||||
public func configure() {
|
|
||||||
FCMManager.shared.configure()
|
|
||||||
}
|
|
||||||
|
|
||||||
public func setAPNSToken(_ deviceToken: Data) {
|
|
||||||
FCMManager.shared.setAPNSToken(deviceToken)
|
|
||||||
}
|
|
||||||
|
|
||||||
// 고객에게 결과를 돌려주기 위해 completion을 인자로 받습니다.
|
|
||||||
public func getFCMToken(completion: @escaping (String?, Error?) -> Void) {
|
|
||||||
FCMManager.shared.getFCMToken(completion: completion)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user