Hope this is helpful to the Duo engineers: the replicable problem is that if you are typing in portrait mode, where one screen is held above the other one and the onscreen keyboard is full-size on the bottom screen, if you try to use Swiftkey to swipe
on the keyboard from right to left (such as any words that start with the letter "p", as in "produce" or "push") the Duo thinks you are pulling the pill button to close the app. Argh!
The workaround for me has been to put the keyboard into "one-handed" mode so that it shifts a little to the left of the Duo screen. Now when I swipe left from the letter "p" Duo doesn't try to close the app.
There should be some sensitivity adjustment that disables the pill button when the edge of the keyboard is located close to it...?