Last active
August 25, 2020 04:30
-
-
Save vreamer/40b5be341d9b0e53dd478bb4da091373 to your computer and use it in GitHub Desktop.
Create channel on create
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.direct_reply_notification | |
| import android.os.Bundle | |
| import io.flutter.embedding.android.FlutterActivity | |
| class MainActivity: FlutterActivity() { | |
| override fun onCreate(savedInstanceState: Bundle?) { | |
| super.onCreate(savedInstanceState) | |
| NotificationHelper.createChannel(this) // call create channel from onCreate | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment