-
Notifications
You must be signed in to change notification settings - Fork 186
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
[Question] Integration into existing app #23
Comments
This is because you're not comparing same package versions. Record latest version is 3. You're on 2.1.1 in your local project. |
@llfbandit thanks is my setup correct?
Didn't want to upgrade to 3 as a lot of the other packages are not yet null-safety, so this means until the others are migrated we wont be able to use 3? |
is this needed in pubspec.yaml?
updated to 3.0.0 but all the other firebase_auth: ^0.20.1 are breaking |
Please follow only this: https://pub.dev/packages/record/install. You can also stick in version 2.x if needed. |
flutter pub add record will also add record_platform_interface under the hood? I manually added lib/record.dart in local project:
was this needed? |
Yes. You can use version 3 if you want but you need to update your environment constraints |
@llfbandit Trying to find version record: ^2.1.1 |
Why in the example main.dart when right clicked inside VSCode and Goto Definition:
import 'package:record/record.dart'
it is directed to:
and clicked on
export 'package:record/src/record.dart';
takes us to:
But in my own local project doing the same clicking on
import 'package:record/record.dart';
$HOME/.pub-cache/hosted/pub.dartlang.org/record-2.1.1/lib/record.dart
Is this because my path_provider or something is not setup correctly as i expect both the example and in my local project to point to the same Record class. thanks.
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
just_audio:
path_provider:
record:
path: ../
The text was updated successfully, but these errors were encountered: