Web/React-native 6

XCode because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

Error Could not launch "ProjectName" The operation couldn't be completed. Unable to lauch ... because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user. 해결 방법 iPhone 설정 - 일반 - VPN 및 기기 관리 - 개발자 앱 이후 XCode에서 앱을 다시 실행하면 됩니다.

Web/React-native 2022.10.10

Zustand 함수형, 클래스형 함수 실행 및 변수 출력

상태관리 라이브러리 Zustand // store.js import create from 'zustand' const useStore = create(set => ({ deviceId: "", // 변수 setDeviceId: (id) => set(() => ({deviceId: id})), // 함수 deviceName: "deviceNameExample", setDeviceName: (name) => set(() => ({deviceName: name})), init: false, bluetoothState: false, scanning: false, found: false, connecting: false, connected: false ... })) export default useStore 1...

Web/React-native 2022.10.06

React Native Ble Manager, [CoreBluetooth] API MISUSE: <CBCentralManager: 0x...> can only accept this command while in the powered on state

[CoreBluetooth] API MISUSE: has no restore identifier but the delegate implements the centralManager:willRestoreState: method. Restoring will not be supported [CoreBluetooth] XPC connection invalid [CoreBluetooth] API MISUSE: can only accept this command while in the powered on state 블루투스 주변 장치 정보를 얻고 싶어서 React Native Ble Manager 사용하다가 (버튼 눌렀을 때 스캔 X) 위와 같은 오류들이 났는데 아래 사이트의 how to I solve [CoreB..

Web/React-native 2022.07.13

네이티브 앱, 웹 앱, 하이브리드 앱

모바일 앱을 만드는 3가지 방법들이 있는데 1. Native App Swift 또는 objective-c 언어, Xcode로 iOS 앱을 만드는 것, Java 또는 코틀린 언어, Android studio로 Android 앱을 만드는 것으로 Native App을 코딩하는데 사용되는 자체 언어로 만든 애플리케이션을 네이티브 앱이라고 합니다. 2. Web App HTML, CSS, JS를 사용해 만들어진 애플리케이션으로 PC용 홈페이지를 모바일에 맞추어 만든 웹 앱을 의미합니다. 그냥 웹 사이트를 보는 것이기 때문에 따로 설치할 필요가 없지만 앱에서 실행할 수 있는 카메라 등을 사용할 수 없고 오로지 브라우저 API만을 사용할 수 있습니다. 3. Hybrid App Native + Web App의 기술을 함..

Web/React-native 2021.06.07

React-native, 개발환경 및 Expo로 프로젝트 생성/실행

1. React-native란 페이스북이 개발한 오픈 소스 모바일 애플리케이션 프레임워크로 React의 방식으로 native 앱을 개발할 수 있습니다. 2. React-native 개발환경 설치 1) nodejs 10.0 이상 설치 Node.js Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. nodejs.org 2) expo 설치 만든 결과물을 스마트폰으로 확인하기 위해서는 Xcode(mac용)나 Android Studio(window, linux용)가 필요하지만 expo 오픈 소스 플랫폼을 설치하면 아주 간단하게 Application 테스트 해볼 수가 있습니다. 먼저 App store 또는 playstore에서 Expo..

Web/React-native 2021.06.06