[037] 플러터 (Flutter) 배우기 - 푸시 알림 보내기(local notification)
안녕하세요~ totally 개발자입니다. flutter_local_notifications 오늘은 앱에서 푸시 알림을 보내는 방법에 대해 살펴보겠습니다. 플러터 패키지인 flutter_local_notifications를 명시해서 설치한 후 사용하면 됩니다. Step 1: pubspec.yaml에 다음처럼 등록해줍니다. Step 2: 프로젝트경로/android/app/src/main/AndroidManifest.xml에 다음을 추가해줍니다. android:showWhenLocked="true" android:turnScreenOn="true" Step 3: 프로젝트경로/ios/Runner/AppDelegate.swift에 다음을 Bool { } 내에 추가해줍니다. if #available(iOS 10.0..
2023.02.21