care for iOS 8 registration when running under that platform
fix warning from the compiler
Merge branch 'AGCORDOVA-25'