Emulator vs testflight

Hey guys i am catching a hashtag from a react native textInput in order to change a state. It works on emulator but testflight not on testflight. I am passing a regex like this /#/ . Also escaping /\n#/ or comparing the text=="#".

Maybe swift way to handle the string literals is different. Any ideas?

Emulator vs testflight
 
 
Q