Allows rebinding of the plugin - If the original FlutterActivity dies in the background or gets recreated, our BridgingCreator doesn't reattach properly to it since we block binding from happening more than once. This causes all bridge instances to be invalid, since we expect them to exist but the binding itself doesn't exist anymore.
Changes bridgeId's to be static instead of containing UUId's, since otherwise the bridge can get recreated during restart/reload and lose the connection due to mismatched identifiers.
Changes
FlutterActivity
dies in the background or gets recreated, ourBridgingCreator
doesn't reattach properly to it since we block binding from happening more than once. This causes all bridge instances to be invalid, since we expect them to exist but the binding itself doesn't exist anymore.bridgeId
's to be static instead of containing UUId's, since otherwise the bridge can get recreated during restart/reload and lose the connection due to mismatched identifiers.