I currently use Gboard and unexpected keyboard

It’s hard to switch always, I expecting a external app like Samsung have to trigger the modifier like ctrl, alt , win , meta , fn

Also I using text expanders like textexpand, typing hero

Any work around solution is also useful for me