-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Beacon Scanning not working when app is in background or terminated #129
Comments
@PriyankaInoid did you find a solution to this? |
@PriyankaInoid @Kreshnik find any solution? |
I have same issue 10-18 20:47:06.517 16843 16870 E flutter : [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method isBroadcasting on channel flutter_beacon)
10-18 20:47:06.517 16843 16870 E flutter : #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332)
10-18 20:47:06.517 16843 16870 E flutter : <asynchronous suspension>
10-18 20:47:06.517 16843 16870 E flutter : #1 FlutterBeacon.isBroadcasting (package:flutter_beacon/flutter_beacon.dart:259)
10-18 20:47:06.517 16843 16870 E flutter : <asynchronous suspension>
10-18 20:47:06.517 16843 16870 E flutter : #2 BeaconFunc.stopBeacon (package:sysdev_suretti/utils/beacon.dart:182)
10-18 20:47:06.517 16843 16870 E flutter : <asynchronous suspension>
10-18 20:47:06.517 16843 16870 E flutter : |
yes, I have found the solution. You have to use this library 'https://github.com/alann-maulana/flutter_beacon' and handle all calculation related to becaon when app is in backeground in Android Native and IOS native using Platform Channel. |
ah…well…, Is that mean I need to learn kotlin and swift? |
Not able to scan beacon when my app is in background as well as terminated. I am trying to call beacon scanning functionality in flutter using Background Service but beacon scanning is not working in service and getting Error.
======== Exception caught by services library ======================================================
The following MissingPluginException was thrown while activating platform stream on channel flutter_beacon_event:
MissingPluginException(No implementation found for method listen on channel flutter_beacon_event)
The text was updated successfully, but these errors were encountered: