From ca33dd83bb3b898a5c9c7be82a133f40fc59c5e4 Mon Sep 17 00:00:00 2001 From: bagasbanuna Date: Mon, 12 Jan 2026 17:40:15 +0800 Subject: [PATCH] Perbaikan untuk apple store dan push notifikasi ke preview Fix: - app.config.js - app/(application)/(user)/_layout.tsx - app/(application)/admin/notification/index.tsx - eas.json - ios/HIPMIBadungConnect.xcodeproj/project.pbxproj - ios/HIPMIBadungConnect/Info.plist ### No Issue --- app.config.js | 4 ++-- app/(application)/(user)/_layout.tsx | 12 ++++++------ app/(application)/admin/notification/index.tsx | 12 ++++++------ eas.json | 2 +- ios/HIPMIBadungConnect.xcodeproj/project.pbxproj | 4 ++-- ios/HIPMIBadungConnect/Info.plist | 2 +- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/app.config.js b/app.config.js index e8ccb96..d0e38ae 100644 --- a/app.config.js +++ b/app.config.js @@ -21,7 +21,7 @@ export default { "Aplikasi membutuhkan akses lokasi untuk menampilkan peta.", }, associatedDomains: ["applinks:cld-dkr-staging-hipmi.wibudev.com"], - buildNumber: "17", + buildNumber: "18", }, android: { @@ -32,7 +32,7 @@ export default { }, edgeToEdgeEnabled: true, package: "com.bip.hipmimobileapp", - versionCode: 3, + versionCode: 4, // softwareKeyboardLayoutMode: 'resize', // option: untuk mengatur keyboard pada room chst collaboration intentFilters: [ { diff --git a/app/(application)/(user)/_layout.tsx b/app/(application)/(user)/_layout.tsx index 73acf8c..1aca1e3 100644 --- a/app/(application)/(user)/_layout.tsx +++ b/app/(application)/(user)/_layout.tsx @@ -58,12 +58,12 @@ export default function UserLayout() { options={{ title: "Notifikasi", headerLeft: () => , - headerRight: () => ( - router.push("/test-notifications")} - /> - ), + // headerRight: () => ( + // router.push("/test-notifications")} + // /> + // ), }} /> diff --git a/app/(application)/admin/notification/index.tsx b/app/(application)/admin/notification/index.tsx index 9dc0a75..6b36a62 100644 --- a/app/(application)/admin/notification/index.tsx +++ b/app/(application)/admin/notification/index.tsx @@ -114,12 +114,12 @@ export default function AdminNotification() { options={{ title: "Admin Notifikasi", headerLeft: () => , - headerRight: () => ( - router.push("/test-notifications")} - /> - ), + // headerRight: () => ( + // router.push("/test-notifications")} + // /> + // ), }} /> diff --git a/eas.json b/eas.json index 6cfc479..b193b58 100644 --- a/eas.json +++ b/eas.json @@ -11,7 +11,7 @@ "preview": { "distribution": "internal", "android": { - "buildType": "app-bundle" + "buildType": "apk" }, "ios": { "simulator": false diff --git a/ios/HIPMIBadungConnect.xcodeproj/project.pbxproj b/ios/HIPMIBadungConnect.xcodeproj/project.pbxproj index fb1ba31..09b1789 100644 --- a/ios/HIPMIBadungConnect.xcodeproj/project.pbxproj +++ b/ios/HIPMIBadungConnect.xcodeproj/project.pbxproj @@ -458,7 +458,7 @@ ); OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_DEBUG"; PRODUCT_BUNDLE_IDENTIFIER = "com.anonymous.hipmi-mobile"; - PRODUCT_NAME = HIPMIBadungConnect; + PRODUCT_NAME = "HIPMIBadungConnect"; SWIFT_OBJC_BRIDGING_HEADER = "HIPMIBadungConnect/HIPMIBadungConnect-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; @@ -490,7 +490,7 @@ ); OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE"; PRODUCT_BUNDLE_IDENTIFIER = "com.anonymous.hipmi-mobile"; - PRODUCT_NAME = HIPMIBadungConnect; + PRODUCT_NAME = "HIPMIBadungConnect"; SWIFT_OBJC_BRIDGING_HEADER = "HIPMIBadungConnect/HIPMIBadungConnect-Bridging-Header.h"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; diff --git a/ios/HIPMIBadungConnect/Info.plist b/ios/HIPMIBadungConnect/Info.plist index ea70298..3677b82 100644 --- a/ios/HIPMIBadungConnect/Info.plist +++ b/ios/HIPMIBadungConnect/Info.plist @@ -39,7 +39,7 @@ CFBundleVersion - 17 + 18 ITSAppUsesNonExemptEncryption LSMinimumSystemVersion