Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

MissingPluginException #36

Closed
Rakshak1344 opened this issue Jun 1, 2020 · 3 comments
Closed

MissingPluginException #36

Rakshak1344 opened this issue Jun 1, 2020 · 3 comments

Comments

@Rakshak1344
Copy link

$ flutter test
00:11 +1 -1: Unlock FundRaiser Identity [E]                                                                                         
  MissingPluginException(No implementation found for method crypto_sign_seed_keypair on channel flutter_sodium)
  package:flutter/src/services/platform_channel.dart 154:7  MethodChannel._invokeMethod
  
00:12 +1 -1: Some tests failed.     

I have no Issues implementing the package, But when I test it. I get this issue.

@kozw
Copy link
Contributor

kozw commented Jun 2, 2020

The flutter_sodium test cases do not exist due to the nature of platform channels, this will change with the ffi implementation.

@Rakshak1344
Copy link
Author

Will I be able to test my function? If so how to do it with ffi implementation?

@kozw
Copy link
Contributor

kozw commented Jun 4, 2020

Yes, you should be able to implement your own tests with flutter_sodium in the ffi scenario. The test runs in the scope of your host os (mac, win, linux), so you need to have libsodium installed on your os. See also the libsodium installation instructions at https://doc.libsodium.org/

@kozw kozw closed this as completed Jul 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants