Bug Android - Ai opponent dies at upkeep and still continues

Having a repeating issue with games in Android where an opponent dies at upkeep from damage from an enchantment but that player still cycles through their turn steps getting stuck on the declare blockers step and waiting for opponent. I have to force quit the game. Might be an order of operations type of bug in code. Almost like the code doesn't realise the player is dead yet and continues on his phases. Has happened to me multiple times. Lately using my discard deck. I would attach screenshots but it wont let me upload larger than 2mb filesize. Php.ini settings need changed.