Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 [firebase_in_app_messaging] Import says "Target of URI doesn't exist: 'package:firebase_in_app_messaging/firebase_in_app_messaging.dart'." #12483

Closed
danielgomezrico opened this issue Mar 13, 2024 · 2 comments
Labels
Needs Attention This issue needs maintainer attention. resolution: user This was a user issue, e.g. invalid configuration or code. type: bug Something isn't working

Comments

@danielgomezrico
Copy link

Bug report

Describe the bug
The documentation says that I must import this:
image

But after importing the linter says:

Target of URI doesn't exist: 'package:firebase_in_app_messaging/firebase_in_app_messaging.dart'. (
Documentation)

Steps to reproduce

Steps to reproduce the behavior:

  1. Create an empty project
    Include this:
  firebase_core: 2.27.1
  firebase_crashlytics: 3.4.19
  firebase_performance: 0.9.3+18
  firebase_remote_config: 4.3.18
  firebase_in_app_messaging: 0.7.4+18
  1. Follow documentation steps:
    image

Expected behavior

The linter should not appear or the documentation should be updated, the import is not required to make it work.


Flutter doctor

Run flutter doctor and paste the output below:

Click To Expand
[鉁揮 Flutter (Channel stable, 3.16.4, on macOS 14.2.1 23C71 darwin-arm64, locale en-MX)
[鉁揮 Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[鉁揮 Xcode - develop for iOS and macOS (Xcode 15.2)
[鉁揮 Chrome - develop for the web
[鉁揮 Android Studio (version 2023.2)
[鉁揮 IntelliJ IDEA Community Edition (version 2023.3.4)
[鉁揮 VS Code (version 1.87.2)
[鉁揮 Connected device (3 available)
[鉁揮 Network resources

@danielgomezrico danielgomezrico added Needs Attention This issue needs maintainer attention. type: bug Something isn't working labels Mar 13, 2024
@Lyokone
Copy link
Contributor

Lyokone commented Mar 14, 2024

Hello, I've checked and the documentation is correct, it just looks like an issue with the Dart Analyzer Server in your VSCode or Android Studio instance. You can try to restart your IDE and make sure that you ran flutter pub get before.

@Lyokone Lyokone closed this as completed Mar 14, 2024
@danielgomezrico
Copy link
Author

Oh, I checked and it's true, now it does not show the error, thanks for checking

@firebase firebase locked and limited conversation to collaborators Apr 14, 2024
@TarekkMA TarekkMA added the resolution: user This was a user issue, e.g. invalid configuration or code. label Apr 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs Attention This issue needs maintainer attention. resolution: user This was a user issue, e.g. invalid configuration or code. type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants