Skip to content

Commit

Permalink
actually fix the notificarion channel issue?
Browse files Browse the repository at this point in the history
  • Loading branch information
iqfareez committed Nov 29, 2020
1 parent 71f7289 commit 8bbc849
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/utils/notifications_helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Future<void> scheduleNotification(
String body,
DateTime scheduledTime}) async {
var androidSpecifics = notifs.AndroidNotificationDetails(
'$name-id', // This specifies the ID of the Notification
'$name id', // This specifies the ID of the Notification
'$name notification', // This specifies the name of the notification channel
'Scheduled daily prayer notification', //This specifies the description of the channel
priority: notifs.Priority.max,
Expand All @@ -92,9 +92,9 @@ Future<void> scheduleNotification(
Future<void> showDebugNotification() async {
//to test notifocation can show?
const notifs.AndroidNotificationDetails androidPlatformChannelSpecifics =
notifs.AndroidNotificationDetails('Debug id', 'Debug channel',
'Test notification can be shown in device',
importance: Importance.max,
notifs.AndroidNotificationDetails(
'Debug id', 'Debug channel', 'Notification debug test',
importance: Importance.defaultImportance,
priority: Priority.high,
ticker: 'ticker');
const NotificationDetails platformChannelSpecifics = NotificationDetails(
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: App waktu solat seluruh Malaysia

publish_to: "none" # Remove this line if you wish to publish to pub.dev

version: 1.11.53-hotfix+27
version: 1.11.53-hotfix.2+28

environment:
sdk: ">=2.7.0 <3.0.0"
Expand Down

0 comments on commit 8bbc849

Please sign in to comment.