3D WebView includes on-screen Keyboard and CanvasKeyboard prefabs that automatically work for typing in webviews. The keyboard prefabs don't automatically work for typing in Unity UI Input Fields or TextMesh Pro Input Fields, but an application can implement support for that via a script. A script can use the Keyboard.KeyPressed event to detect when a key is pressed and then update the input field's text using the InputField.text property, like demonstrated in this example:
using UnityEngine;
using UnityEngine.UI;
using Vuplex.WebView;
class KeyboardInputFieldSupport : MonoBehaviour {
// TODO: Set these fields via the Editor's inspector tab.
public Keyboard keyboard;
public InputField inputField;
void Start() {
keyboard.KeyPressed += (sender, eventArgs) => {
var key = eventArgs.Value;
if (key == "Backspace") {
inputField.text = inputField.text.Substring(0, inputField.text.Length - 1);
} else if (key.Length == 1) {
inputField.text += key;
}
};
}
}