Add: - app/(application)/(user)/event/[id]/confirmation.tsx - screens/Admin/Event/ - service/api-admin/api-admin-event.ts Fix: - app.config.js : penambahan DEEP_LINK_URL untuk url QR Code - app/(application)/(user)/event/create.tsx - app/(application)/admin/event/[id]/[status]/index.tsx - app/(application)/admin/event/[id]/reject-input.tsx - app/(application)/admin/event/[status]/status.tsx - app/(application)/admin/event/index.tsx - app/(application)/admin/job/[id]/[status]/index.tsx - screens/Admin/listPageAdmin.tsx - service/api-config.ts - ### No Issue
75 lines
1.7 KiB
JavaScript
75 lines
1.7 KiB
JavaScript
// app.config.js
|
|
require('dotenv').config();
|
|
|
|
export default {
|
|
name: 'HIPMI BADUNG',
|
|
slug: 'hipmi-mobile',
|
|
version: '1.0.0',
|
|
orientation: 'portrait',
|
|
icon: './assets/images/icon.png',
|
|
scheme: 'hipmimobile',
|
|
userInterfaceStyle: 'automatic',
|
|
newArchEnabled: true,
|
|
|
|
ios: {
|
|
supportsTablet: true,
|
|
bundleIdentifier: 'com.anonymous.hipmi-mobile',
|
|
infoPlist: {
|
|
ITSAppUsesNonExemptEncryption: false,
|
|
},
|
|
},
|
|
|
|
android: {
|
|
adaptiveIcon: {
|
|
foregroundImage: './assets/images/splash-icon.png',
|
|
backgroundColor: '#ffffff',
|
|
},
|
|
edgeToEdgeEnabled: true,
|
|
package: 'com.bip.hipmimobileapp',
|
|
// softwareKeyboardLayoutMode: 'resize', // option: untuk mengatur keyboard pada room chst collaboration
|
|
},
|
|
|
|
web: {
|
|
bundler: 'metro',
|
|
output: 'static',
|
|
favicon: './assets/images/favicon.png',
|
|
},
|
|
|
|
plugins: [
|
|
'expo-router',
|
|
'expo-web-browser',
|
|
[
|
|
'expo-splash-screen',
|
|
{
|
|
image: './assets/images/splash-icon.png',
|
|
imageWidth: 200,
|
|
resizeMode: 'contain',
|
|
backgroundColor: '#ffffff',
|
|
},
|
|
],
|
|
[
|
|
'expo-camera',
|
|
{
|
|
cameraPermission: 'Allow $(PRODUCT_NAME) to access your camera',
|
|
microphonePermission: 'Allow $(PRODUCT_NAME) to access your microphone',
|
|
recordAudioAndroid: true,
|
|
},
|
|
],
|
|
'expo-font',
|
|
],
|
|
|
|
experiments: {
|
|
typedRoutes: true,
|
|
},
|
|
|
|
extra: {
|
|
router: {},
|
|
eas: {
|
|
projectId: '5cf15964-4889-4755-b8ed-b99c61d614d1',
|
|
},
|
|
// Tambahkan environment variables ke sini
|
|
API_BASE_URL: process.env.API_BASE_URL,
|
|
BASE_URL: process.env.BASE_URL,
|
|
DEEP_LINK_URL: process.env.DEEP_LINK_URL,
|
|
},
|
|
}; |