Most of the code is inside Unity, which is harder to access, but they ended up putting more code in the Android part (for the Pokémon Go Plus for example), and probably forgot about it.
They can still obfuscate later releases, but the lack of certificate pinning is going to be harder to fix.
But this was intended more on an Android perspective (taking Pokémon Go as an example), than on a game perspective.