Check at runtime whether to use iOS8 or iOS7 style push registration method.