
File name
Commit message
Commit date
File name
Commit message
Commit date
/**
* @format
*/
import {AppRegistry} from 'react-native';
import App from './App';
import {name as appName} from './app.json';
// //가속도
// import {accelerometer} from 'react-native-sensors';
// import {useEffect} from 'react';
// useEffect(() => {
// // 가속도계 센서 구독
// const subscription = accelerometer.subscribe(({x, y, z, timestamp}) => {
// console.log('x, y, z, timestamp: ', x, y, z, timestamp);
// });
// // 구독 해제
// return () => subscription.unsubscribe();
// }, []);
// //
AppRegistry.registerComponent(appName, () => App);