Skip to content
This repository has been archived by the owner on Aug 10, 2020. It is now read-only.

Get Permission for Mic for audio record #1

Open
rockneverdies55 opened this issue Aug 26, 2015 · 14 comments
Open

Get Permission for Mic for audio record #1

rockneverdies55 opened this issue Aug 26, 2015 · 14 comments

Comments

@rockneverdies55
Copy link

rockneverdies55 commented Aug 26, 2015

Microphone button (one of the coolest things in rocket.chat besides other many) to record audio next to chat text box doesn't seem to be functioning in mobile version (on android in my case).

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@graywolf336
Copy link
Contributor

@rockneverdies55 can you confirm this is still an issue? I was able to test it out and it appears to be working.

@rockneverdies55
Copy link
Author

It still doesn't work. When I press on it, button icon takes square shape till I touch again where it goes back to microphone icon. But other than changing the icon displayed it doesn't seem to be doing anything else.

I tested it on my nexus 5.

@jots
Copy link

jots commented Mar 17, 2016

similar problem. it appears to record and brings up preview window with correct number of seconds, but audio is silent. posting it just posts silent audio (clicking on desktop version).

nexus 5. latest develop rocketchat version.

@mrplow
Copy link

mrplow commented Apr 2, 2016

This is still an issue. It works on the mobile site but not in the app.
Perhaps the record audio permission needs to be added?

@geekgonecrazy geekgonecrazy changed the title Microphone button doesn't work in mobile Get Permission for Mic for audio record Jun 4, 2016
@engelgabriel
Copy link
Member

@rodrigok has this been fixed?

@Micjoyce
Copy link

Micjoyce commented Jul 6, 2016

similar problem! has this been fixed?

@rodrigok
Copy link
Member

rodrigok commented Jul 6, 2016

I don't think so. May some one can open a new PR to fix this 😄 ?

@rockneverdies55
Copy link
Author

It's been more than a year since this was created... Nobody to take care of this?

@geekgonecrazy
Copy link
Contributor

I don't think its something that any of us use much :( I think we are missing Camera and Mic permissions

@mrplow
Copy link

mrplow commented Oct 18, 2016

You guys need to use the Android app more in testing 😜
I've looked through the code and I can't find where Android permissions are set. But I'm clearly not a programmer.

@geekgonecrazy
Copy link
Contributor

geekgonecrazy commented Oct 18, 2016

@mrplow I use it every single day. 😄 I just don't use that feature. 😁

I'm not sure either. 😦

@mrplow
Copy link

mrplow commented Oct 19, 2016

@geekgonecrazy looks like it's enabled in Rocket.Chat.Cordova/config.xml already.
And it is working. I just hadn't allowed the permission (the record option has been turned off for a while on my server so I didn't look)
screenshot_20161019-120842

@geekgonecrazy
Copy link
Contributor

@mrplow I think this is a thing that as of Android marshmallow pops up asking to deny or allow. So if it would have asked, then this probably would have worked

@mrplow
Copy link

mrplow commented Oct 19, 2016

@geekgonecrazy yup, you're correct.
RC android isn't requesting the permission on the fly in marshmallow. It may work fine in lesser android versions.

These may help
https://developer.android.com/training/permissions/requesting.html
https://github.com/dpa99c/cordova-diagnostic-plugin

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants