CCP secret police would like to know your location
they don't detain people solely for being taiwanese. plenty of taiwanese citizens travel to mainland china for business without being arrested, at least before the pandemic.
they might disappear you for saying anti-CCP stuff on the internet though, which genuinely scares me.