[📚] [firebase_messaging] Add "Application.kt" for Kotlin support. #3454
Labels
good first issue
Good for newcomers
plugin: messaging
type: documentation
Improvements or additions to documentation
For new projects with Kotlin support, the project only contains

MainActivity.kt
and notJava
, and as for now, docs doesn't support it.I suggest adding the following to GettingStarted.
Kotlin's support.
2. Add an
Application.kt
class to your app in the same directory as yourMainActivity.kt
. This is typically found in<app-name>/android/app/src/main/kotlin/<app-organization-path>/
.io.flutter.plugins.firebasemessagingexample
to your package's identifier. Your package's identifier should be something likecom.domain.myapplication
.package com.domain.myapplication;
The text was updated successfully, but these errors were encountered: