open_file
open_file copied to clipboard
Fix for null plugin binding error.
Fixes problems in an Add-to-App scenario when FlutterActivity will be opened, then closed and re-opened again. This causes an exception in onAttachedToActivity during plugin initialization. The problem is creating the MethodChannel here is the wrong place as the global variable flutterPluginBinding is still null (the order of calling onAttachToEngine and onAttachedToActivity seams to change after launching FlutterActivity a second time).
original issue: #163
I have the same problem
any plan to merge? I got the error on version 3.2.1