Firebase에서 지정한 조건으로 푸시 알림을 보내는 일
하고 싶은 일
Firebase의 Notifications를 사용하여 조건을 충족하는 사용자에게 알림을 전송하고 싶습니다.조건의 예는'버튼을 다섯 번 이상 누른 사용자','특정 화면을 표시한 사용자'등이다.
Firebase가 iOS 터미널에 푸시 알림을 보낼 때까지
이 기사는 이해하기 쉽기 때문에 여기서 생략한다.
조건 푸시 알림 전송 프로세스
코드에 이러한 이벤트를 테스트 로그로 남깁니다.
viewController.swift
override func viewDidLoad() {
super.viewDidLoad()
FIRAnalytics.logEventWithName("sccontent", parameters: [
"name": "tap",
"full_text": "button"
])
}



4. 이렇게 되면 OK


낙점

Reference
이 문제에 관하여(Firebase에서 지정한 조건으로 푸시 알림을 보내는 일), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/funzin/items/db1fb52dc7a0a4ee58a9텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)