question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No apps can perform this action

See original GitHub issue

Reproduction steps If I press the file load button, it will show “No apps can perform this action” like the following screen shot image image

Platform specs

Please provide the following info if this is a Unity 3D repository.

  • Unity version: e.g. 2018.3.1f1
  • Platform: Android
  • Device: MI 9 SE, Android 9
  • How did you download the plugin: * Asset Store*

Additional info this is the button function. `using System.Collections; using System.Collections.Generic; using UnityEngine; using System.IO;

public class FilePickerSystem : MonoBehaviour { public string FinalPath;

public void LoadFile()
{
    string FileType = NativeFilePicker.ConvertExtensionToFileType("*");
    NativeFilePicker.Permission permission = NativeFilePicker.PickFile((path) => 
    {
        if (path == null)
            Debug.Log("Operation cancelled");
        else
        {
            FinalPath = path;
            Debug.Log("Picked file: " + FinalPath);
        }
    }, new string[] { FileType });
}

} `

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Isaac-dotcommented, Sep 1, 2022

thanks alot. it works really well. i will try iOS platform in the future

0reactions
yasirkulacommented, Sep 1, 2022

On iOS, I think you can try “public.data” or “public.content” as FileType. You can check Application.platform to switch its value depending on the platform.

To fetch image files only, I’d recommend using NativeGallery instead. If you’d still like to use NativeFilePicker, then:

NativeFilePicker.Permission permission = NativeFilePicker.PickFile((path) => 
{
	if (path == null)
		Debug.Log("Operation cancelled");
	else
	{
		FinalPath = path;
		Debug.Log("Picked file: " + FinalPath);
	}
}, new string[] { NativeFilePicker.ConvertExtensionToFileType("png"), NativeFilePicker.ConvertExtensionToFileType("jpg") });
Read more comments on GitHub >

github_iconTop Results From Across the Web

No apps can perform this action - XDA Forums
The error says "no apps can perform this action" And sometimes cannot upload file photos in some apps and websites.
Read more >
How to fix Reddit app error - No apps can perform this action.
Install an older version of Reddit using an APK file to fix No apps can perform this action. If you don't want to...
Read more >
Fix: No Apps Can Perform This Action Reddit 2023
The potential fix of “No Apps Can Perform This Action” is disable the “Open Supported Links” in option in the Reddit app which...
Read more >
Why do I get the error, 'No apps can perform this action' ...
When end users try to reply to a a calendar event in Splanner, they get the message “no apps can perform this action”....
Read more >
"No apps can perform this action". Can't open links ...
I can ooen links but I can't share any post Anytime i click the share button, "No apps can perform this action" show...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found