-
Notifications
You must be signed in to change notification settings - Fork 147
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
Dart Error: Dart_LookupLibrary: library 'package:telephony/telephony.dart' not found. #165
Comments
use flutter version 3.0.4 |
@mazharulsabbir I have the same problem what is the best solution ? |
I didn't get any. |
I have the same problem |
add |
not working problem is telephony |
Am also facing the same issue, please give some updates. Thank you. |
I have this issue too. any update? |
This will fix this issue #168. For the time waiting until it's merged you can use my clone directly.
|
You are a lifesaver bro👏 |
flutter run --release E/flutter (22741): [ERROR:flutter/shell/common/shell.cc(93)] Dart Error: Dart_LookupLibrary: library 'package:telephony/telephony.dart' not found. how can i solve this issue |
working on debug mode but not working on Relase mode in flutter |
I am having the same issue works on debug mode but not on the release mode |
@definev @ParhaMDeF
Note i have already a top level custom onBackgroundMessage as i am using the telephone example from the repo |
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(failed_to_fetch_sms, Flutter Telephony: Error getting SmsManager, null, null) how to solve this issue |
… On Thu, Feb 2, 2023 at 1:54 PM Aman Bansal ***@***.***> wrote:
@ParhaMDeF <https://github.com/ParhaMDeF>
I am getting this error now after adding @pragma('vm:entry-point') this
NoSuchMethodError: No top-level getter 'onBackgroundMessage' declared.
Receiver: top-level
Tried calling: onBackgroundMessage
Note i have already a top level custom onBackgroundMessage as i am using
the telephone example from the repo
—
Reply to this email directly, view it on GitHub
<#165 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APLA7YDRYTF7KIYN5YOWZ43WVNVNNANCNFSM6AAAAAARAMRWXU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hello, I am getting the below error when,
flutter run --release
Note: App is working fine on foreground. I have disabled battery optimization from my device
E/flutter ( 9686): [ERROR:flutter/shell/common/shell.cc(93)] Dart Error: Dart_LookupLibrary: library 'package:telephony/telephony.dart' not found.
E/flutter ( 9686): [ERROR:flutter/runtime/dart_isolate.cc(668)] Could not resolve main entrypoint function.
E/flutter ( 9686): [ERROR:flutter/runtime/dart_isolate.cc(167)] Could not run the run main Dart entrypoint.
E/flutter ( 9686): [ERROR:flutter/runtime/runtime_controller.cc(385)] Could not create root isolate.
E/flutter ( 9686): [ERROR:flutter/shell/common/shell.cc(604)] Could not launch engine with configuration.
The text was updated successfully, but these errors were encountered: