Posts

Showing posts with the label permissions

RunTime Permission Not Granted When It Exists In Manifest(Android) [duplicate]

RunTime Permission Not Granted When It Exists In Manifest(Android) [duplicate] This question already has an answer here: I am trying to save a csv file to my phone and my target SDK level is 26 so I tried to check run time permissions while running my app. Even though I gave the necessary permissions in manifest file, in my activity checking this permissions return false. How can I fix this? Start of the manifest file <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.something"> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> Related part of activity is below public void saveToExcel() throws IOException { String baseDir = android.os.Environment.getExternalStorageDirectory().getAbsolut...

Need to localise IOS permission modals - how is this done?

Need to localise IOS permission modals - how is this done? I've got an application on Google Play and the Apple app stores and they've been accepted many times, in fact, they've been updated 5 times. But on the last check with Apple, they ran the app in Spanish, instead of English. They refused the app because they said the app needed to show the right permission request. They showed me a screenshot of their using the app in Spanish, then a screenshot of a permission request modal's appearing before attemping to take a photo. The message was in English, so I'm assuming that that's what they're talking about. They were not specific and said merely "it didn't have the right permission". I'm assuming they meant it wasn't in the right language. I'm not going to ask Apple, because I've asked them questions before and they take a year to get back to you. So, how do you put the IOS permissions in multiple languages? My app is in 7 lang...