Add null check for PlatformViewsController in TextInputPlugin.
A change was made to TextInputPlugin that adds a dependency on PlatformViewsController. This dependency works fine in the old embedding, but the new embedding has not integrated PlatformViewsController yet. Therefore, this reference is producing NPEs in the new embedding.
This ticket is to add null checks for the new embedding to avoid the NPE.