Comments (7)
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.
from record.
@llfbandit thanks is my setup correct?
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
algolia: ^0.1.4+3
assets_audio_player:
auto_size_text:
built_collection: ^5.0.0
built_value: ^8.0.6
cached_network_image:
cloud_firestore:
equatable: ^1.2.5
firebase_auth:
firebase_core:
font_awesome_flutter:
geolocator:
google_fonts: ^1.1.2
google_sign_in: ^4.0.16
intl:
json_path: ^0.2.1
json_serializable: ^3.5.1
page_transition:
rxdart:
sign_in_with_apple: ^2.5.4
timeago:
url_launcher:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.0
flutter_native_splash:
just_audio:
path_provider:
record_platform_interface:
record:
path: ../
dev_dependencies:
build_runner: ^1.11.5
built_value_generator: ^8.0.4
flutter_test:
sdk: flutter
flutter_native_splash:
color: "#b496d6"
image: assets/images/snippets_800.png
android: true
ios: true
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true
# To add assets to your application, add an assets section, like this:
assets:
- assets/images/
- assets/videos/
- assets/audios/
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/assets-and-images/#from-packages
# To add custom fonts to your application, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages
plugin:
platforms:
android:
package: com.llfbandit.record
pluginClass: RecordPlugin
ios:
pluginClass: RecordPlugin
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?
from record.
is this needed in pubspec.yaml?
record:
path: ../
updated to 3.0.0 but all the other
firebase_auth: ^0.20.1
firebase_core: ^0.7.0
cloud_firestore
are breaking
from record.
Please follow only this: https://pub.dev/packages/record/install. You can also stick in version 2.x if needed.
If other dependencies are breaking, this is not related to this package.
from record.
flutter pub add record will also add record_platform_interface under the hood?
I manually added lib/record.dart in local project:
export 'package:record/src/record.dart';
export 'package:record_platform_interface/record_platform_interface.dart';
was this needed?
from record.
Yes. You can use version 3 if you want but you need to update your environment constraints
from record.
@llfbandit Trying to find version record: ^2.1.1
from record.
Related Issues (20)
- uploading audio web by MultipartFile HOT 6
- Expose AVAudioSession interface HOT 1
- Recording .wav to file creating bloated file with invalid header data HOT 5
- Recording [0,0,0,0,0,...] on iOS Simulator HOT 4
- record.cancel() method isn't available HOT 6
- In browser, is that only use stream ? beacuse i can't create file on web. HOT 4
- is there any way to restrict max duration of recorded audio? and fire a function on a callback when it reaches the max duration? How to get duration of the audio recording? HOT 1
- Trying to stream PCM16 over websockets to Google's Speech-to-Text API results in a jumbled mess. HOT 2
- Doesn't see Sampling frequency change when analyze with MKVToolNix
- Android recordings are unplayable on iOS [aacLc/.m4a] HOT 1
- Unexpected stereo output on Android devices when configuring mono audio recording HOT 2
- WEB: Exception on starting recording in chrome HOT 3
- Darwin installation HOT 2
- Record failed on macos. HOT 2
- define AudioRecorder in initstate without arguments HOT 1
- The app also picks up speaker sound
- Cannot choose a device to record HOT 6
- When will the new changes be published to pub.dev HOT 1
- No encoder found for {aac-profile=2, bitrate=128000, mime=audio/mp4a-latm, channel-count=1, sample-rate=44100}
- Safari on MacOS and iOS is very slow to start recording HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from record.