x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Android runtime permissions and game restart.

Hello :)

I'm developing an Android app (yes, it's not a game) and already soft-launched it in two countries. It's 100% blueprint based and utilizes local save file, which is more than critical for the tool's proper operation. And of course, I ran into a problem with Android permissions. Manifest is not enough for the newest versions of Android, so I have to make runtime permission request. Obviously, checking the "Use ExternalFilesDir for UE4Game files" is not an option in my case, because the vital save file will be deleted with the app on uninstall or after an update on Google Play. I cannot warn each user to backup save file because I'm going to apply an update soon.

I have to leave "Use ExternalFilesDir for UE4Game files" unchecked, and make runtime permission request on the app's first start. But here I ran into another problem - granted permission will only work after the app restart, but it requires save file in order to work properly. So now I have a temporary solution - on the first start the app asks for permission, then pop-up appears with explanation that manual restart is required. User presses "Close" button and app closes. But then user will have to run the app again. The problem is that not all users read pop-up texts, and some will think the app have just crashed.

So my questions are - did I miss something? Is there a better solution for my case? Is there a way to make fully automatic restart of the app?

Product Version: UE 4.19
Tags:
more ▼

asked Aug 17 '18 at 01:43 PM in Blueprint Scripting

avatar image

RedSpotSylphina
47 4 5 9

avatar image FollowMyStaR Mar 07 '19 at 03:08 AM

I have the same problem. Can you share with me if you could solve the problem ? Please.

avatar image RedSpotSylphina Mar 07 '19 at 01:12 PM

Hello!

Nope, I'm still using the temporary solution I described above.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question