log motion

This commit is contained in:
Zakary Timson 2019-08-27 21:25:33 -04:00
parent 4547720f0e
commit 0c91ddee85

View File

@ -19,6 +19,7 @@ export class PhysicsService {
constructor(permissionsService: PermissionsService) {
navigator.geolocation.watchPosition(e => console.log(e), err => console.error(err));
window.addEventListener('devicemotion', e => console.log(e));
permissionsService.requestPermission('geolocation', 'gps_fixed', 'Can we use your location?').then(granted => {
if(granted) {