-
What is this project about?
This project aims to transforms how you connect with the world’s most iconic landmarks. -
How do I get started with this project?
Refer to the README.md file for step-by-step instructions to set up the project.
- Error: Image does not load in some places of the app.
Solution: (temporary) use flutter run --web-renderer=html this is just a temporary fix if you want to quickly preview what the app looks like with the new changes in place in the web browser (the flag --web-renderer=html is now deprecated and may not be present in future versions of flutter)
-
Error: cocoapods and pod install issues.
Solution:- Ensure CocoaPods is installed:
sudo gem install cocoapods
. - Run
pod install
inside the iOS directory.
- Ensure CocoaPods is installed:
-
Error: App overlaps with the notification bar.
Solution:- Modify
SafeAreaView
or update the top margin in your app layout.
- Modify
-
Error: Gradle build fails due to incompatible Java version.
Solution:- Ensure Java 17 is installed.
- Update
build.gradle
to match the required Java version.
-
Error: Emulator not found.
Solution:- Check your Android SDK installation path.
- Verify that the
emulator
andadb
paths are added to yourPATH
variable.
-
Error:
Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies.To update the CocoaPods specs, run:pod repo update Error: Error running pod install
and running pod repo update does not fix it -
Solution:
- go to macos directory delete Pods folder and Podfile.lock
- run
pod install
on root of project - try to run the project using
flutter run
this should start building the macOS project
-
Error: An error occurred when accessing the keychain
-
Solution:
- you need to install xcode from apple app store
- you may need to register to apple developer account if you dont already have one
- follow the video guide
Timeline_2.mp4
- I would like to thank Andrea Bizzotto for his amazing blog on Flutter & Firebase Auth on macOS: Resolving Common Issues which helped me solve my own issue with the project
- If you encounter an issue and resolve it, consider adding it to this FAQ.
- To propose a change, edit this file and submit a pull request.
- Ensure you include:
- A clear problem description.
- Steps to reproduce the issue.
- Your solution or workaround.
If you encounter an issue not covered here:
- Check Existing Issues: Before opening a new issue, search the Issues page to avoid duplicates.
- Open a New Issue: If no existing issue matches:
- Provide a descriptive title.
- Include a detailed description, including steps to reproduce, expected behavior, and actual behavior.
- Specify the environment:
- Operating System (e.g., macOS, Windows, Linux)
- Platform (e.g., iOS, Android)
- Node.js and npm versions (if applicable).
- Use Labels: Add relevant labels like
bug
,enhancement
,question
, etc.