Hi guys, I have a question that might not be a Gideros question, but I ask it anyway
My app uses the Microphone plugin and so uses the RECORD_AUDIO uses-permission tag in the Manifest. That's a "Dangerous" permission that needs to be granted at first app startup.
So there should be a permission pop-up at app-startup (it has been before) requesting permission to use the Microphone feature. But there is no request -> app can't use the Microphone methods and crashes at init.
To get the app to work I need to manually go to the app permissions settings on the device and turn on the mic permission there.
This goes for my test device with API 25. (Another with API 22 automatically sets the permission, as it should be.)
Is there something I have missed here? Can I somehow force the permission request to popup?
Comments
Likes: saeys
(22 worked with buildToolsVersion 26.0.2, no warnings. For the future I hope 22 will continue to work as tools get updated. I guess it eventually comes down to updating the plugins to work with the permissions 23 and beyond.)
EDIT: Anyway, I think the info on compatible APIs should be in the plugin docs.
Likes: Apollo14
Likes: saeys
https://deluxepixel.com
Now, as I just submit an update on Google Play Console I got a warning; from november 2018 all app updates must be at API 26 or later. (august 2018 for new apps)
Since the microphone plugin (and other plugins?) in its current state only works with API 22 or less I really hope there is a competent saint out there who can update the plugin(s) to work with a newer API with the newer permission schemes.
Likes: hgy29, Apollo14
Likes: saeys
Run log from Android Studio:
Likes: saeys
For those (noobs, me included) in need in this case, here's some info about pcall: https://wait4ideas.wordpress.com/2013/11/02/handling-run-time-errors-in-gideros/
Likes: Apollo14