Skip to content

[Issue]: Missing Plugin exception when the app is in background. Using home screen widget to start the scan #861

Closed
@rohanots

Description

@rohanots

Requirements

  • I've looked at the README 'Common Problems' section

Have you checked this problem on the example app?

Yes

FlutterBluePlus Version

1.32.4

Flutter Version

3.19.1

What OS?

iOS

OS Version

17.3.1

Bluetooth Module

Esp -32

What is your problem?

I am using the Home screen widget to start the scan for nearby BLE. Working fine on android but giving error on iOS devices. Checked on multiple devices. The problem occurs when we put the application in background.

Logs

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method flutterHotRestart on channel flutter_blue_plus/methods)
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7)
<asynchronous suspension>
#1      FlutterBluePlus._initFlutterBluePlus (package:flutter_blue_plus/src/flutter_blue_plus.dart:416:10)
<asynchronous suspension>

Metadata

Metadata

Assignees

No one assigned

    Labels

    helpQuestions, help, observations, or possible bugs

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions