Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Package conflict #11

Open
swapnens opened this issue Nov 19, 2020 · 1 comment
Open

Package conflict #11

swapnens opened this issue Nov 19, 2020 · 1 comment

Comments

@swapnens
Copy link

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)

@benyamin218118
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants