Move from UIAccelerometer to CMMotionManager
Clean up bridge warnings
Bug fix
More compile time warnings
Remove deprecated constants
Only resume if allowed
Bug Fix
Merge pull request #6226 from vishalduggal/cleanup

[TIMOB-17806] Cleanup