payload: {"action":"opened","issue":{"url":"https://api.github.com/repos/g123k/flutter_plugin_device_apps/issues/14","repository_url":"https://api.github.com/repos/g123k/flutter_plugin_device_apps","labels_url":"https://api.github.com/repos/g123k/flutter_plugin_device_apps/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/g123k/flutter_plugin_device_apps/issues/14/comments","events_url":"https://api.github.com/repos/g123k/flutter_plugin_device_apps/issues/14/events","html_url":"https://github.com/g123k/flutter_plugin_device_apps/issues/14","id":475056938,"node_id":"MDU6SXNzdWU0NzUwNTY5Mzg=","number":14,"title":"Missing Plugin Exception on iOS","user":{"login":"Skullper","id":3677314,"node_id":"MDQ6VXNlcjM2NzczMTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3677314?v=4","gravatar_id":"","url":"https://api.github.com/users/Skullper","html_url":"https://github.com/Skullper","followers_url":"https://api.github.com/users/Skullper/followers","following_url":"https://api.github.com/users/Skullper/following{/other_user}","gists_url":"https://api.github.com/users/Skullper/gists{/gist_id}","starred_url":"https://api.github.com/users/Skullper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skullper/subscriptions","organizations_url":"https://api.github.com/users/Skullper/orgs","repos_url":"https://api.github.com/users/Skullper/repos","events_url":"https://api.github.com/users/Skullper/events{/privacy}","received_events_url":"https://api.github.com/users/Skullper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-07-31T10:14:07Z","updated_at":"2019-07-31T10:14:07Z","closed_at":null,"author_association":"NONE","body":"Hi!\r\nGot an exception on iOS when trying to get all installed apps in the simulator:\r\n\r\n`\r\nflutter: MissingPluginException(No implementation found for method getInstalledApps on channel g123k/device_apps)\r\n[VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: type 'List<dynamic>' is not a subtype of type 'FutureOr<List<Application>>'\r\n#0      _FutureListener.handleError (dart:async/future_impl.dart:144:7)\r\n#1      Future._propagateToListeners.handleError (dart:async/future_impl.dart:651:47)\r\n#2      Future._propagateToListeners (dart:async/future_impl.dart:672:24)\r\n#3      Future._completeError (dart:async/future_impl.dart:491:5)\r\n#4      _SyncCompleter._completeError (dart:async/future_impl.dart:55:12)\r\n#5      _Completer.completeError (dart:async/future_impl.dart:27:5)\r\n#6      _AsyncAwaitCompleter.completeError (dart:async-patch/async_patch.dart:40:18)\r\n#7      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart)\r\n<asynchronous suspension>\r\n#8      DeviceApps.getInstalledApplications (package:device_apps/device_apps.dart:14:21)\r\n<asynchronous suspension>\r\n#9      _MyHomePageState._launchSignNow (package:another_app_opener/main.dart:63:47)\r\n<asynchronous suspension>\r\n#10     _InkRespons<…>\r\n`\r\n\r\nCode which should get app names:\r\n\r\n`\r\n_launchSignNow() async {\r\n    List<Application> apps = await DeviceApps.getInstalledApplications(\r\n        onlyAppsWithLaunchIntent: true, includeSystemApps: true);\r\n    for (var app in apps) {\r\n      print(app.appName);\r\n    }\r\n  }\r\n`\r\n\r\nHow can I fix this?"}}
other: {"actor":{"display_login":"Skullper"}}