Flutter
-
[Flutter] local push notification 되게 하기Flutter 2024. 9. 24. 04:06
IOS에서는 로컬 푸쉬 알람이 뜨는데 안드로이드에서 안 되어서 한참 헤맸다. 결국 되게 했는데, chatgpt를 믿기보다는 google 검색을 통한 것이 훨씬 도움이 된다. 레거시 소스가 많으면 chatgpt가 도움이 되지만 flutter에 대한 최신 자료 및 오류들은 chatgpt가 처음엔 효율이 좋으나 기능이 막히면 결코 효과적이지 못하다는 것을 다시 한 번 깨닫는다. 이건 버전때문에 오류가 나는 것이라고 생각되면 chatgpt 보다는 google 검색을 하도록 하자. 한참을 고생했다. await _flutterLocalNotificationsPlugin.zonedSchedule( 0, 'TEST', 'TEST MESSAGE', tz.TZDateTime.now(tz.local..
-
Your project requires a newer version of the Kotlin Gradle plugin.Flutter/Error 2024. 8. 31. 01:19
Your project requires a newer version of the Kotlin Gradle plugin. │ │ Find the latest version on https://kotlinlang.org/docs/releases.html#release-details, then update the │ │ version number of the plugin with id "org.jetbrains.kotlin.android" in the plugins block of https://kotlinlang.org/docs/releases.html#release-details위의 사이트에 들어가서 kotlin 최신 버전을 알아본다. 이럴때 android/settings.gradle에 plugins..
-
[Error] Error (Xcode): redefinition of module 'Firebase'Flutter/Error 2024. 8. 30. 23:18
Error (Xcode): redefinition of module 'Firebase'밑엔 디렉토리가 뜬다. 이 경우 ios 디렉토리를 Xcode로 들어간다. 그리고 Runner을 선택하고 Package Dependencies가 아무것도 없이 설정해주면 된다. 참고자료https://stackoverflow.com/questions/70760326/flutter-on-ios-redefinition-of-module-firebase
-
[Error/Flutter]CocoaPods did not set the base configuration of your project because your project already has a custom config set.Flutter/Error 2024. 8. 30. 23:15
CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `Runner` to `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` or include the `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` in your build configu..