Flutter - PlatformException when using an ACTION_EDIT intent Flutter - PlatformException when using an ACTION_EDIT intent dart dart

Flutter - PlatformException when using an ACTION_EDIT intent


I sort of solved the problem, I changed the package of intents from android_intent to intent and then I somehow got to see the available apps for ACTION_EDIT which there are not on my emulator/phone.


this problem can be solved with android_intent package.

I somehow encountered this problem and after searching and trying, I solved it like this:

Instead of "action_edit", I have used "android.intent.action.EDIT" as the "action".

var intent = AndroidIntent(                 action: 'android.intent.action.EDIT',                  data: image.uri.toString(),             );