cengiz-pz / godot-android-notification-scheduler-plugin

Notification Scheduler Plugin allows scheduling of local notifications on the Android platform.
MIT License
23 stars 4 forks source link

Minor README question #5

Closed zaddok closed 4 months ago

zaddok commented 4 months ago

The readme says to create a channel like this:

$NotificationScheduler.create_notification_channel("my_channel_id", "My Channel Name", "My channel description")

But it looks like its changed so that an object is needed like this, is that correct?

var channel = NotificationChannel.new()
channel.set_id("hello")
channel.set_name("Reminders")
channel.set_description("Reminders")
self.notifications.create_notification_channel(channel)
cengiz-pz commented 4 months ago

Hi @zaddok. Yes, you're right; it looks like the README needs to be updated. Thanks for the heads up. Yes, you're right; it looks like the README needs to be updated.