device_unlock icon indicating copy to clipboard operation
device_unlock copied to clipboard

Package conflict

Open swapnens opened this issue 5 years ago • 1 comments

This package does not work with flutter_local_notification package.

If we use this package and then use any function from flutter_local_notification, I get the following error. I/flutter ( 6490): MissingPluginException(No implementation found for method show on channel dexterous.com/flutter/local_notifications)

swapnens avatar Nov 19 '20 06:11 swapnens

import com.dexterous.flutterlocalnotifications.FlutterLocalNotificationsPlugin;

and add this line in your Application class in MainActivity.java or your Application.java in your project java side registerwith method body:

flutterLocalNotificationsPlugin.registerWith(registry.registrarFor("com.dexterous.flutterlocalnotifications.FlutterLocalNotificationsPlugin"));

then it is ok.

benyamin218118 avatar Mar 03 '21 11:03 benyamin218118