Midimaster Active Member Licensed User Sep 14, 2020 #1 As I use the library "Audio" the app askes the user during installation to allow the access to MICROPHONE. But my app does not record anything and it does not need the microphone. So this security question is not necessary, but make a bad impression to the user, or? I respect privacy of the user and I do not want to make the impression the app "listens" to anything. Is there a chance to prevent android from asking this question?
As I use the library "Audio" the app askes the user during installation to allow the access to MICROPHONE. But my app does not record anything and it does not need the microphone. So this security question is not necessary, but make a bad impression to the user, or? I respect privacy of the user and I do not want to make the impression the app "listens" to anything. Is there a chance to prevent android from asking this question?
Erel B4X founder Staff member Licensed User Longtime User Sep 14, 2020 #2 Only your code can "ask" for a permission, with RuntimePermissions.CheckAndRequest. You can remove any permission from the manifest with RemovePermission. Click on Logs - List Permissions to see the list of permissions added to the manifest. Upvote 0
Only your code can "ask" for a permission, with RuntimePermissions.CheckAndRequest. You can remove any permission from the manifest with RemovePermission. Click on Logs - List Permissions to see the list of permissions added to the manifest.
Midimaster Active Member Licensed User Sep 14, 2020 #3 Sorry for a wrong description of my problem. The place with the to many "permission needed" is inside the Google PlayStore": here is a screenshot of my app's playstore entry to specify the problem: adress: https://play.google.com/store/apps/details?id=midimaster.twentytrackd and here are the logs: FileDirRoot OkkHttpClient are really used by the code BridgeLogger is only caused by the test-Version Service/Receiver: I dont know whether they are important by default Audio_Streamer is wrong! I only use it to playback audio but in my Manifest-Editor I cannot see any entry belonging to this permissions Last edited: Sep 14, 2020 Upvote 0
Sorry for a wrong description of my problem. The place with the to many "permission needed" is inside the Google PlayStore": here is a screenshot of my app's playstore entry to specify the problem: adress: https://play.google.com/store/apps/details?id=midimaster.twentytrackd and here are the logs: FileDirRoot OkkHttpClient are really used by the code BridgeLogger is only caused by the test-Version Service/Receiver: I dont know whether they are important by default Audio_Streamer is wrong! I only use it to playback audio but in my Manifest-Editor I cannot see any entry belonging to this permissions
DonManfred Expert Licensed User Longtime User Sep 14, 2020 #4 if you remove a permission as described then the list will be shorter on google side Upvote 0
Midimaster Active Member Licensed User Sep 14, 2020 #5 DonManfred said: if you remove a permission as described then the list will be shorter on google side Click to expand... Thanks a lot. I did not know anything about this! "Again what learned!" Does this mean, what I see in the MANIFEST editor is not the final MANIFEST? In my editor I can see only one entry, which looks like beeing related to one of the permissions: B4X: Copy SetApplicationAttribute(android:requestLegacyExternalStorage, true) I must have wriitten it at the beginning of my project, but now i'm not sure, if it is really necessary for File.DirRoot- permission? As I understand you, now I can add lines to the MANIFEST, that will cancel additional permissions. B4X: Copy RemovePermission(android.permission.WAKE_LOCK) RemovePermission(android.permission.RECORD_AUDIO) RemovePermission(android.permission.FOREGROUND_SERVICE) But how can I know which is important and which not? Will the Audio-Library still run (only playback) without the permission? Upvote 0
DonManfred said: if you remove a permission as described then the list will be shorter on google side Click to expand... Thanks a lot. I did not know anything about this! "Again what learned!" Does this mean, what I see in the MANIFEST editor is not the final MANIFEST? In my editor I can see only one entry, which looks like beeing related to one of the permissions: B4X: Copy SetApplicationAttribute(android:requestLegacyExternalStorage, true) I must have wriitten it at the beginning of my project, but now i'm not sure, if it is really necessary for File.DirRoot- permission? As I understand you, now I can add lines to the MANIFEST, that will cancel additional permissions. B4X: Copy RemovePermission(android.permission.WAKE_LOCK) RemovePermission(android.permission.RECORD_AUDIO) RemovePermission(android.permission.FOREGROUND_SERVICE) But how can I know which is important and which not? Will the Audio-Library still run (only playback) without the permission?
Erel B4X founder Staff member Licensed User Longtime User Sep 14, 2020 #6 1. You can only remove RECORD_AUDIO. 2. Forget from File.DirRootExternal / DirDefaultExternal. Don't use them. Upvote 0
1. You can only remove RECORD_AUDIO. 2. Forget from File.DirRootExternal / DirDefaultExternal. Don't use them.
Midimaster Active Member Licensed User Sep 14, 2020 #7 Erel said: ....2. Forget from File.DirRootExternal / DirDefaultExternal. Don't use them. Click to expand... Yes, this will be replaced, as soon as I found a practical solution for my users. As my app needs to import local files with a new file format and extension "MPX" I'm not sure how to offer the users an easy way to "transport" this files to the app. But this will be theme in a new thread in some days.... Upvote 0
Erel said: ....2. Forget from File.DirRootExternal / DirDefaultExternal. Don't use them. Click to expand... Yes, this will be replaced, as soon as I found a practical solution for my users. As my app needs to import local files with a new file format and extension "MPX" I'm not sure how to offer the users an easy way to "transport" this files to the app. But this will be theme in a new thread in some days....