Futter :- Start vibrating or ringing phone continuously after sending specific notification

64 views Asked by At

When I triggered specific type of notification to the specific group of user then their phone will start vibrating or ringing phone continuously until user not stop from the App. Can anyone suggest how can I make possible? or Any packages which useful in terminate state and start vibrating in all state? Thank You.

1

There are 1 answers

0
vmvyas1989 On

Please provide snippets code over here. Might be possible you have initialise your notification class in build method instead of initState method.

  @override
  void initState() {
    super.initState();
    NotificationHandler().initializeFcmNotification();
  }