1
Answered

App Factory 6.2.22 MANAGE_EXTERNAL_STORAGE disappeared

Hello after upgrading from 6.1.32 to 6.2.22 the MANAGE_EXTERNAL_STORAGE permission has disappeared from the permission list of the app created with AppFactory. The kid App doesn't works anymore in any Android 11-12 testing phone (Oppo Xiaomi Samsung). So I've downgraded from 6.2.22 to 6.1.32 and I've created the same App again with App Factory 6.1.32. The MANAGE_EXTERNAL_STORAGE permission is back and the App works again in all the phones. Same tasks, same Android target version, same App name/release, same certificate, same testing phones, same antiviruses, same Android versions. Nothing changed. All exactly the same except for Tasker and App Factory releases (upgraded from 6.1.32 to 6.2.22 then back to 6.1.32). Is there a fix for that? Thanks so much. Mauro.

7 replies

Sorry for the delay. I think I fixed it now.

Can you please try this version? https://drive.google.com/file/d/1YGuMAWRfyYlUKMdgb4xyVEUfddWz_zzI/view

T

Thanks so much for this! 

I've updated Tasker but the App Factory on GPlay still shows as previous version and I can't see a link to the updated one... 

Have you published it yet? 

Cheers! 

Awesome, glad it's fixed :)

T

Thanks again, Joao and Mauro. 

I have now have both Tasker and App Factory 6.3.12 running. 

While the Accessibility problem is mostly resolved (need to re-allow it after every update on my Z-Fold3 with Android 14), my app, which is using a Near WiFi (by MAC Address) trigger in its profile, is only working on a phone that has Tasker installed and enabled.

If Tasker is not installed on the phone, or installed but disabled the profile will not fire.

Any advise about this? 

Thanks again 

Tai

T

I see there's still no news about this, but I have the same exact problem, when the test project (called "file writer") runs as a tasker task, there's no problem.
if exported as an app, it fires the Missing Permission alert:
"filewriter needs thefollowing permission(s) for the functionality you have configured: Access storage"

Setting the All File Access in Android settings manualy does not make a difference.

Here is my URI for this:

taskerproject://H4sIAAAAAAAAANVYbY+bOBD+vPsrcpzuWxrwC28ngrTdbKuoldprUvXjCgVv4i6QCJzd0/768xhCIDEk2arXuygSZsYezzzz4jHBPCoeWT6JRDQo8rFhDOInPjaQMRBPY8MZ4RHGRnh9FcQpEzlfhMh1vJE1xJaHR1Zg7shyxud8/cATpsRs5JhYxuCJjQ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OCdHc926Z2ZyftY5f6xGl20nCxQ/XFDjrid3Cv/La7FO3uRDkPEcQODIBwsxB8nZV2LEQV+27zbkeR1bzdaTPlJovzNY/NlMU8MvtuOCYMR4uH5am8GvXnUF8zVQdqaZzGTqSx06buSTuPslurekcdPEd1XVYcNeoNnl3x+vIdnYQD69zunESjkUM9wolO+GmoWwmqqRG2rn70FZe6+lpnNuIXukC3p9PDc3t4Xg/P73SrrMxlb3hQYDQfUhzH8xzidRWYmt0uMLguMGUdwf+DOjKH69nzwXVOFxans/LCguJ53uUFRRPpfcF8XOq6goBogsDzLQyfDDuCYMduBwFpBYF7UQj4r6wpXUZRjVE+otglnUbt2G2jaG3Uv2BF+Sw/IIfX/wA/aklzThYAAA==

Thank you so much for having a look!

Tai

Did you try with the latest beta? Thanks!

M

Hello Tai, yes I still have the same problem. With Tasker & AppFactory 6.1.32 everything OK. With 6.2.22 I didn't find any way to grant all file access permission to the kid App. Any manual setting does not change anything.

M

Hello Joao, where to download the latest beta with the relevant AppFactory? Thanks so much.

Check here: https://tasker.joaoapps.com/beta.html

T

Thank you for your reply, Joao. 

I just tried it with the latest Beta and the behaviour is exactly the same as before.

Same error about missing the "Access storage" permission. 

I have manually enabled "access all files" and "allow restricted settings", but the accessibility option keeps turning itself off, or showing "not working".

Let me know if you need more information about this. 

Cheers! 

Tai 

M

Hello Joao, tried Tasker+AppFactory 6.3.10-rc but the behaviour is the same. 

gpw accfile.jpg

Sorry for the delay. I think I fixed it now.

Can you please try this version? https://drive.google.com/file/d/1YGuMAWRfyYlUKMdgb4xyVEUfddWz_zzI/view

M

Hello Joao, with Tasker 6.3.12 downloaded from Google Drive and App Factory 6.13.12 downloaded from Dropbox everything OK. The access file permission is back and works fine. Problem solved. Good job thanks so much. 

G

Hi, I comfirm that in order to get it work we MUST MANUALLY do in the kids app setting the following:

Android Settings > Apps > Special App Access > All Files Access

But, the next question is:

How to set it automatically done?

I try adding the following task (and set it as launch task at the kids app creation) in the Tasker :

System -> Ask Permission ->  MANAGE_EXTERNAL_STORAGE

BUT unfortunately when kid app runs, it opens wrong Android settings (it opens the kid app settings), instead of the correct settings which is the following:

Android Settings > Apps > Special App Access > All Files Access.

Please, is this a bur error need fix, or i do something wrong?

M

Hello, the special permission 'All File Access' is ticked for the kid app. But when the kid app try to write the file, the missing permission warning appears anyway. The kid app created with Tasker 6.2.22 seems to ignore that 'All File Access' is ticked and looks for the old permission 'File e contenuti multimediali' (not listed in the App settings so impossible to grant).

missingperm.jpg

M

Please consider that I also tried to manually add READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE to the permission lists of Tasker 6.2.22. But nothing changes.

M

Hello, a simple test run on Android 12 Xiaomi Note 9 MIUI 13.0.3.

Task (URI) on Tasker 6.2.22:

taskertask://H4sIAAAAAAAAAGVSy27DIBA8J19h8QFeg5umkTBSpVyi3NrcI4Spg+LgyBCrn192cd1WvbDD7Ozu8JAnHa523OuoizA2jBXt5BrGWRGnhj2XohSCqfVKoo4UMQGiVtK0OlrFt9WuqmvOtxu+kZBJTNvf6STYVS8S7JJ2rRIS0oobf7PqZEOUgAiZ++gUryoJCJA4upYMpEjjV7LXD28uhz32WTBl7tdOdaGM1BE3xE4nPXZK7CRklEkcyMs0aJpHI/e4YVOKOBuOs89XE93gyYc2sWLFZBu2nf2YobXqiadWhIgLVn3oPlgJYWbe45jrx26ur5l6c76Lg7cB0HMZP5PvJPxXwZeKfFuL5uDjt0Ykje7xEeFfrv6bk5APRPhw60jmjM9TxHwuvJdLf9Zan83gp7P+eSVIRfg9AP+HWueY/5NafwEnw1zxXQIAAA==

Task (XML) on Tasker 6.2.22:

<TaskerData sr="" dvi="1" tv="6.2.22">
        <Task sr="task2">
                <cdate>1709033117515</cdate>
                <edate>1709033331908</edate>
                <id>2</id>
                <nme>Test</nme>
                <pri>100</pri>
                <Kid sr="Kid">
                        <launchID>2</launchID>
                        <pkg>gs.test</pkg>
                        <vTarg>29</vTarg>
                        <vnme>1.0</vnme>
                        <vnum>2</vnum>
                </Kid>
                <Action sr="act0" ve="7">
                        <code>410</code>
                        <se>false</se>
                        <Str sr="arg0" ve="3">Ringtones/test.txt</Str>
                        <Str sr="arg1" ve="3">Test</Str>
                        <Int sr="arg2" val="1"/>
                        <Int sr="arg3" val="1"/>
                </Action>
                <Img sr="icn" ve="2">
                        <nme>hl_aaa_conv_a</nme>
                </Img>
        </Task>
</TaskerData>

While creating the kid app for the task above with Tasker 6.2.22, MANAGE_EXTERNAL_STORAGE is shown. Seems to be all OK. But the kid app generated and installed don't have MANAGE_EXTERNAL_STORAGE in its permission list (ref. "File e contenuti multimediali") and can't works.

Tasker Test6.2.22.jpg

KidAppPermissionTasker6.2.22.jpg

Nothing in the permission list of the Kid App generated with Tasker 6.2.22. Also the special menù "all files access" of Xiaomi do not allow this permission for the kid app.

-----------------------------------------------------------------

But everything changes if I roll back to Tasker 6.1.32. Same task, same phone, same certicate, same min/target Android version. Everything the same as it was few minutes before. The only changes are Tasker and App Factory (rolled back 6.2.22 > 6.1.32).

Tasker Test6.1.32.jpg

KidAppPermissionTasker6.1.32.jpg

With Tasker and App Factory 6.1.32 the kid app is OK.

It seems to be a Tasker version issue or something related to? Any help would be appreciated. Thanks so much.

Hi. The permission in question doesn't appear on that screen. It appears under Android Settings > Apps > Special App Access > All Files Access.

Can you please check there?

Hi! Can you please export a minimal example of that as an URI (not a link, but a direct URI) and paste it here so I can then import it and test it myself?

Thanks in advance!