What length is iOS and Androids device token
As others have mentioned, I wouldn't rely on the length of the token to differentiate the two. Just a quick look in a large database showed me that there are iOS and Android devices that can have tokens of 152 or 174 characters.
You will want to rely on something else to differentiate them.