Stopped working on Unity 2018.3+

Welcome! Forums Unity Plugins Mobile Speech Recognizer Stopped working on Unity 2018.3+

This topic contains 4 replies, has 2 voices, and was last updated by Piotr Piotr 2 weeks, 4 days ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1400

    jphales
    Participant

    Upon upgrading to Unity 2018.3+, the plugin no longer functions. Although the android manifest is the same and the line:
    <uses-permission android:name=”android.permission.RECORD_AUDIO” />
    When installing the app on android, it no longer asks for “permission to record audio” and plugin doesn’t work.
    Haven’t checked iOS.
    Up to ~ 2018.2.6 it was fine.
    Does this have to do with Unity now packaging their own android sdk now?

    Stumped and really need help please.
    Thanks!
    Jon

    #1401
    Piotr
    Piotr
    Keymaster

    What do you mean by “own android sdk”?

    Are you using runtime permissions?
    https://docs.unity3d.com/Manual/android-RequestingPermissions.html

    #1403

    jphales
    Participant

    Thanks for the very quick response.
    Sorry, I meant the new “embedded JDK”

    I’m not using runtime permissions. Usually the app simply requests permission to use audio on install because of the permissions line in the android manifest – and it’s no longer doing so.

    I guess I can give the runtime permissions a try. I would just prefer the permissions popup on install.

    I’ll give it a try.

    #1404

    jphales
    Participant

    So, yes,

    Thanks for the response. I’m glad the plugin works, but for me was a pain to deal with permissions at runtime. Would much rather prefer on install. Don’t know why it changed.

    Thanks for your help!
    Jon

    #1405
    Piotr
    Piotr
    Keymaster

    Ask Google 🙂
    They changed it starting from Android 6.
    https://developer.android.com/guide/topics/permissions/overview

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.