Different Android package name on debug

The current setup of my game means I am unable to just install a shipping build over a dev build and keep all progress in my game (they talk to different server stacks) as such I would like to have the development build have a different package name to the shipping one (com.foo.bar vs com.foo.bar.dev), but the only variable you seem to be able to put into the package config is PROJECT_NAME, are there any other ways to do this other than modifying the build scripts to substitute the AndroidManifest when doing a debug build?