JHubi1 / ollama-app

A modern and easy-to-use client for Ollama
Apache License 2.0
597 stars 45 forks source link

Question on permissions #23

Closed IzzySoft closed 5 months ago

IzzySoft commented 5 months ago

I just wonder why Ollama requests the permission to access the microphone – as neither description nor screenshots give a clue:

! repo/com.freakurl.apps.ollama_8.apk declares sensitive permission(s):
  android.permission.RECORD_AUDIO

Could you please clarify? Thanks in advance!

JHubi1 commented 5 months ago

Hi there 👋🏻 Thank you for asking, I was already wondering what was going to happen. The microphone permission is required for the new Voice Mode. It's not fully working yet and has a few flaws, so I'm not advertising it, but it's working and in production as a beta feature. You just have to enable it in settings, then the icon appears in the spot the attachment button would be while chatting with a multimodal model. The app only asks for the permission when you want to enable Voice Mode. If you don't want to, it won't be displayed.

IzzySoft commented 5 months ago

so I'm not advertising it

How unfortunate the IzzyOnDroid scanners then catch those things, and show them as a warning when not added to the app's "green list" :rofl:

OK, so I'll add that explanation to the green list:

    android.permission.READ_EXTERNAL_STORAGE: needed for import/export of the chat history
    android.permission.RECORD_AUDIO: required for the optional Voice Mode which can be enabled in settings

Issue solved within less than half an hour, congrats! :smile: