5분 안에 Nativify 시작하기
1. Nativify Console에 로그인하거나 계정을 만듭니다.
2. 웹앱 URL과 앱 이름을 입력합니다.
3. Android 실배포 또는 iOS 초기 검증 흐름을 선택합니다.
1. 콘솔에서 Android 또는 iOS 빌드를 시작합니다.
2. 빌드 기록에서 상태와 실패 원인을 확인합니다.
3. Signing, OTA, 스토어 준비는 앱 상세 탭에서 이어서 진행합니다.
- 필요한 네이티브 기능만 선택합니다.
- Android/iOS 권한 항목을 함께 검토합니다.
- 첫 iOS 빌드는 초기 검증용이며, 실배포는 서명 연결 후 별도 빌드합니다.
- Android keystore, iOS certificate/profile을 연결합니다.
- 스토어 메타데이터와 자산을 준비합니다.
- 최신 성공 빌드를 기준으로 제출 흐름을 진행합니다.
# JavaScript 라이브러리
cp lib/web-bridge.js your-project/src/utils/
# TypeScript 사용 시
cp lib/web-bridge.d.ts your-project/src/utils/
<script src="./web-bridge.js"></script>
<script>
const bridge = new WebBridge({ debug: true });
async function getLocation() {
const location = await bridge.getLocation();
console.log('위치:', location);
}
</script>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
const location = await bridge.getLocation();
// { lat: 37.123, lng: 127.456, accuracy: 10 }
const photo = await bridge.takePhoto();
// Base64 인코딩된 이미지
await bridge.showNotification('제목', '내용');
await bridge.saveData('user', { name: 'John' });
const user = await bridge.loadData('user');
const info = await bridge.getDeviceInfo();
// { platform: 'android', model: 'SM-G991N', version: '13' }
if (bridge.isAvailable()) {
console.log('네이티브 브릿지 연결됨');
} else {
console.log('브라우저 모드');
}
const bridge = new WebBridge({
debug: true,
timeout: 20000 // 20초
});
🎉 완료!
이제 데모 체험 뒤 실제 Nativify Console 흐름으로 이어갈 준비가 되었습니다.