Description
New Issue Checklist
- [ !] I am not disclosing a vulnerability.
- [! ] I am not just asking a question.
- [ !] I have searched through existing issues.
- [! ] I can reproduce the issue with the latest version of Parse Server and the Parse Flutter SDK.
Issue Description
I am using parse_server_sdk_flutter: ^3.1.0 in flutter but I am getting error as below:
[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: MissingPluginException(No implementation found for method getAll on channel dev.fluttercommunity.plus/package_info)
#0 MethodChannel._invokeMethod
#1 MethodChannel.invokeMapMethod
#2 MethodChannelPackageInfo.getAll
#3 PackageInfo.fromPlatform
#4 main
Restarted application in 441ms.
It is throwing error at this function:
void main() async {
WidgetsFlutterBinding.ensureInitialized();
PackageInfo packageInfo = await PackageInfo.fromPlatform();
late final keyApplicationId = 'myappID';
late final keyClientKey = 'clientkey';
late final keyParseServerUrl = 'http://localhost:1337/parse';
await Parse().initialize(keyApplicationId, keyParseServerUrl,
clientKey: keyClientKey, debug: true);
runApp(MaterialApp(
home: Home(),
));
}
Steps to reproduce
Follow the current parse_server_sdk_flutter: ^3.1.0 docs and run app in windows.
Actual Outcome
I have tried everything that I found in google trying to troubleshoot but nothing working.
Expected Outcome
Environment
Flutter for windows app
Parse Flutter SDK
- SDK version:
arse_server_sdk_flutter: ^3.1.0
- Operating system version:
windows 10
Server
- Parse Server version:
[5.2.0]
Logs
if (result == null) {
if (missingOk) {
return null;
}
throw MissingPluginException('No implementation found for method $method on channel $name');
Exception has occurred.
MissingPluginException (MissingPluginException(No implementation found for method getAll on channel dev.fluttercommunity.plus/package_info))