나의 재물운? 연애운은?
AI가 봐주는 내 사주팔자 - 운세박사
expo start 시 다음과 같은 에러 발생
expo upgrade 46 으로 업그레이드 해줌
그러나 아래와 같은 에러 발생
yarnpkg exited with signal: SIGABRT
다음과 같은 방법으로 패키지 제거 후 재설치 후 업그레이드 해주자
현재 최신버전은 expo 46인데 에러 나서 45로 다운그레이드하여 진행함.
tscofig 에러가 있으면,
expo start 하면 tsconfig가 자동으로 설정됨.
그러나 Expo start하여 엑스포 서버에서 앱을 실행시키면
null is not an object (evaluating 'RNPurchases.setupPurchases')
위와 같은 에러가 뜨는데 위는 레비뉴캣이 엑스포의 bare 프로젝트에서만 돌아가서 그렇다
expo run:android --device
로 다시 빌드해서 디바이스에서 실행을 해봅시다.
[Unhandled promise rejection: Error: Encountered an exception while calling native method: Exception occurred while executing exported method setNotificationChannelAsync on module ExpoNotificationChannelManager: Unknown color]
at node_modules/react-native/Libraries/BatchedBridge/NativeModules.js:106:50 in promiseMethodWrapper
at node_modules/expo-modules-core/build/NativeModulesProxy.native.js:15:23 in moduleName.methodInfo.name
at node_modules/expo-notifications/build/setNotificationChannelAsync.android.js:7:17 in setNotificationChannelAsync
at node_modules/expo-notifications/build/setNotificationChannelAsync.android.js:3:15 in setNotificationChannelAsync
at src/Webview.js:357:4 in registerForPushNotificationsAsync
[Unhandled promise rejection: Error: Encountered an exception while calling native method: Exception occurred while executing exported method setNotificationChannelAsync on module ExpoNotificationChannelManager: Unknown color]
at node_modules/react-native/Libraries/BatchedBridge/NativeModules.js:106:50 in promiseMethodWrapper
at node_modules/expo-modules-core/build/NativeModulesProxy.native.js:15:23 in moduleName.methodInfo.name
at node_modules/expo-notifications/build/setNotificationChannelAsync.android.js:7:17 in setNotificationChannelAsync
at node_modules/expo-notifications/build/setNotificationChannelAsync.android.js:3:15 in setNotificationChannelAsync
at src/Webview.js:357:4 in registerForPushNotificationsAsync
실행 시 다음과 같은 경고문이 뜨면
google-services.json
file into the android/app
directory. If that file already exists, you should overwrite it.위의 방법으로 해결해준다.
위에는 FCM 관련 이슈이다.
https://docs.expo.dev/push-notifications/using-fcm/
아직도 해결안됨. 롤백하고 다시 개발해야할 수도 있을 것 같다.
회원가입 해보니 FCM도 제대로 들어옴.
경고문은 뜨지만 문제 없이 토큰도 들어오므로 그냥 무시하고 진행하자
나의 재물운? 연애운은?
AI가 봐주는 내 사주팔자 - 운세박사