care for iOS8 registration API
Merge branch 'AGIOS-215'