Comments (10)
You can try to accept manually the permissions in the phone parameters.
If it works with that, use simple_permissions_plugin in your projet to ask the user to accept the permissions.
from audio_recorder.
Having the Same Issue
from audio_recorder.
Bump? #Me2
I/flutter (21571): type 'Future<dynamic>' is not a subtype of type 'Future<bool>' where
I/flutter (21571): Future is from dart:async
I/flutter (21571): Future is from dart:async
I/flutter (21571): bool is from dart:core
D/AudioRecorder(21571): Get hasPermissions
from audio_recorder.
got over that with simple_permissions plugin.. now there is another thingy on stop of recording...
type '_InternalLinkedHashMap<dynamic, dynamic>' is not a subtype of type 'Map<String, Object>' where...
i think its this line here... since hashmap is not a map from dart:core :( :
from audio_recorder.
I got this when try to implement your example @ZaraclaJ
from audio_recorder.
@ZaraclaJ tried to implement this package https://pub.dev/packages/simple_permissions, it seems to be that he deleted it.
from audio_recorder.
I had the same issue, and simple_permissions is broken. But this one seems to work fine: https://github.com/baseflowit/flutter-permission-handler
from audio_recorder.
@ryanw Could you share how you fixed the problem? I tried putting await Permission.microphone.request().isGranted;
in front of the if (await AudioRecorder.hasPermissions)
line, but that did not fix the problem, the AudioRecorder still does not seem to have the correct permissions.
from audio_recorder.
@ryanw Could you share how you fixed the problem? I tried putting
await Permission.microphone.request().isGranted;
in front of theif (await AudioRecorder.hasPermissions)
line, but that did not fix the problem, the AudioRecorder still does not seem to have the correct permissions.
I used https://github.com/baseflowit/flutter-permission-handler
from audio_recorder.
I got the same issue and solved by requesting Permission.storage
. But this workaround should be removed because it doesn't make sense to ask for permission to access media files when we just need to record voice.
from audio_recorder.
Related Issues (20)
- Exception miss kotlin files HOT 11
- Can't play audio recorded on android, send to server , and received from on iOS HOT 1
- Build failed in example app HOT 3
- Audio quality
- Flutter1.12.13 build has problem HOT 1
- problem, pleasse solution
- compiler error: HOT 3
- doesn't return proper audio file on iOS HOT 3
- 1.7.3 Flutter run on IOS error HOT 13
- Size : Zero octets
- Missing License in Flutters showAboutDialog
- SwiftAudioRecorderPlugin.swift build issues HOT 2
- This package needs to be updated to file: ^6.0.0-nullsafety.2 HOT 4
- Is this project abandoned??
- audio_recorder: 1.0.2 ios build error HOT 3
- Getting error 'MediaRecorder: start called in an invalid state: 4' HOT 2
- Header 'audio_recorder-Swift.h' not found
- null safety HOT 2
- can i use this on WEB ? when i get error "No implementation found for method hasPermissions on channel audio_recorder"
- MissingPluginException(No implementation found for method start on channel audio_recorder) 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 audio_recorder.