I have created a pub package. Inside that package I have used some native libraries and wrote some native code. The package worked perfectly fine before publishing on pub. After publishing package on pub.dev the package throws error where I called the native library. The package I created is here. and I am using the same code as given in example.
Asked
Active
Viewed 54 times
0
-
https://stackoverflow.com/questions/50459272/missingpluginexception-while-using-plugin-for-flutter – Anmol Mishra Jan 18 '22 at 06:27
-
@AnmolMishra I have tried these solutions but nothing is working for me. – Mahin Munir Jan 18 '22 at 06:39
-
https://dart.dev/tools/pub/publishing re read this maybe you are doing some mistake if your pkg working fine before published – Awais Rehman Jan 18 '22 at 07:07