I'm using @muzzkat2 solution and it works fine on iOS. However, the problem arises when I'm building for Android, as the Apple plugins are included in the build and there's no way to successfully apply changes (select/deselect target platforms) in the plugin inspector window.