From 6fb3b229c3ffb3c7281b0d27397a2851f0349313 Mon Sep 17 00:00:00 2001 From: bagasbanuna Date: Fri, 27 Mar 2026 17:59:13 +0800 Subject: [PATCH] Fix andorid --- .qwen/settings.json.orig | 7 ++ components/_ShareComponent/AppHeader.tsx | 2 +- components/_ShareComponent/NewWrapper.tsx | 2 +- .../project.pbxproj | 72 +++++++++++++++++++ screens/Admin/Event/EventDetailQRCode.tsx | 13 ++-- screens/Authentication/LoginView.tsx | 39 ++++++---- screens/Home/bottomFeatureSection.tsx | 30 +++++--- 7 files changed, 132 insertions(+), 33 deletions(-) create mode 100644 .qwen/settings.json.orig diff --git a/.qwen/settings.json.orig b/.qwen/settings.json.orig new file mode 100644 index 0000000..322d785 --- /dev/null +++ b/.qwen/settings.json.orig @@ -0,0 +1,7 @@ +{ + "permissions": { + "allow": [ + "Bash(git add *)" + ] + } +} \ No newline at end of file diff --git a/components/_ShareComponent/AppHeader.tsx b/components/_ShareComponent/AppHeader.tsx index 789b815..b066d3a 100644 --- a/components/_ShareComponent/AppHeader.tsx +++ b/components/_ShareComponent/AppHeader.tsx @@ -30,7 +30,7 @@ export default function AppHeader({ ? isIOS26Plus ? insets.top - 10 : insets.top - : 10; + : 40; const paddingBottom = Platform.OS === "ios" ? 8 : 13; diff --git a/components/_ShareComponent/NewWrapper.tsx b/components/_ShareComponent/NewWrapper.tsx index eb3862a..7addec8 100644 --- a/components/_ShareComponent/NewWrapper.tsx +++ b/components/_ShareComponent/NewWrapper.tsx @@ -133,7 +133,7 @@ const NewWrapper = (props: NewWrapperProps) => { style={{ backgroundColor: MainColor.darkblue }} > {footerComponent} - + )} diff --git a/ios/HIPMIBadungConnect.xcodeproj/project.pbxproj b/ios/HIPMIBadungConnect.xcodeproj/project.pbxproj index e781eaa..a5323e1 100644 --- a/ios/HIPMIBadungConnect.xcodeproj/project.pbxproj +++ b/ios/HIPMIBadungConnect.xcodeproj/project.pbxproj @@ -203,6 +203,10 @@ A6E85C04CEFE4EB1BEC42A8F /* Remove signature files (Xcode workaround) */, 90185735FF1241C998928089 /* Remove signature files (Xcode workaround) */, 7FC9CE1604F2440EBA9E61D6 /* Remove signature files (Xcode workaround) */, + 3D825348A9EE47AEB9FEB9FC /* Remove signature files (Xcode workaround) */, + F18AFF842FD14072824B885B /* Remove signature files (Xcode workaround) */, + CEB288FB251945499C04360F /* Remove signature files (Xcode workaround) */, + EE74CCF78BB449818616D056 /* Remove signature files (Xcode workaround) */, ); buildRules = ( ); @@ -1355,6 +1359,74 @@ rm -rf \"$CONFIGURATION_BUILD_DIR/MapLibre.xcframework-ios.signature\"; "; }; + 3D825348A9EE47AEB9FEB9FC /* Remove signature files (Xcode workaround) */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + name = "Remove signature files (Xcode workaround)"; + inputPaths = ( + ); + outputPaths = ( + ); + shellPath = /bin/sh; + shellScript = " + echo \"Remove signature files (Xcode workaround)\"; + rm -rf \"$CONFIGURATION_BUILD_DIR/MapLibre.xcframework-ios.signature\"; + "; + }; + F18AFF842FD14072824B885B /* Remove signature files (Xcode workaround) */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + name = "Remove signature files (Xcode workaround)"; + inputPaths = ( + ); + outputPaths = ( + ); + shellPath = /bin/sh; + shellScript = " + echo \"Remove signature files (Xcode workaround)\"; + rm -rf \"$CONFIGURATION_BUILD_DIR/MapLibre.xcframework-ios.signature\"; + "; + }; + CEB288FB251945499C04360F /* Remove signature files (Xcode workaround) */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + name = "Remove signature files (Xcode workaround)"; + inputPaths = ( + ); + outputPaths = ( + ); + shellPath = /bin/sh; + shellScript = " + echo \"Remove signature files (Xcode workaround)\"; + rm -rf \"$CONFIGURATION_BUILD_DIR/MapLibre.xcframework-ios.signature\"; + "; + }; + EE74CCF78BB449818616D056 /* Remove signature files (Xcode workaround) */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + name = "Remove signature files (Xcode workaround)"; + inputPaths = ( + ); + outputPaths = ( + ); + shellPath = /bin/sh; + shellScript = " + echo \"Remove signature files (Xcode workaround)\"; + rm -rf \"$CONFIGURATION_BUILD_DIR/MapLibre.xcframework-ios.signature\"; + "; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ diff --git a/screens/Admin/Event/EventDetailQRCode.tsx b/screens/Admin/Event/EventDetailQRCode.tsx index b7b5cef..c7e71b8 100644 --- a/screens/Admin/Event/EventDetailQRCode.tsx +++ b/screens/Admin/Event/EventDetailQRCode.tsx @@ -33,7 +33,10 @@ export function EventDetailQRCode({ const deepLinkURL = `${BASE_URL}/event/${id}/confirmation?userId=${userId}`; // Toggle antara HTTPS link dan custom scheme - const qrValue = useHttpsLink ? httpsLink : deepLinkURL; + // const qrValue = useHttpsLink ? httpsLink : deepLinkURL; + const qrValue = deepLinkURL; + + return ( @@ -46,7 +49,7 @@ export function EventDetailQRCode({ {qrValue} - + {/* setUseHttpsLink(true)} backgroundColor={useHttpsLink ? MainColor.yellow : "transparent"} @@ -69,13 +72,13 @@ export function EventDetailQRCode({ > Custom Scheme - - + */} + {/* {useHttpsLink ? "✅ Testing Universal Links/App Links (butuh .well-known config)" : "🔧 Testing langsung (tanpa domain verification)"} - + */} ); } diff --git a/screens/Authentication/LoginView.tsx b/screens/Authentication/LoginView.tsx index 681ee8a..fd39db5 100644 --- a/screens/Authentication/LoginView.tsx +++ b/screens/Authentication/LoginView.tsx @@ -11,7 +11,13 @@ import { openBrowser } from "@/utils/openBrower"; import versionBadge from "@/utils/viersionBadge"; import { Redirect } from "expo-router"; import { useEffect, useState } from "react"; -import { KeyboardAvoidingView, Platform, RefreshControl, Text, View } from "react-native"; +import { + KeyboardAvoidingView, + Platform, + RefreshControl, + Text, + View, +} from "react-native"; import { parsePhoneNumber } from "libphonenumber-js"; import Toast from "react-native-toast-message"; import EULASection from "./EULASection"; @@ -19,7 +25,8 @@ import EULASection from "./EULASection"; export default function LoginView() { const url = BASE_URL; const [version, setVersion] = useState(""); - const [selectedCountry, setSelectedCountry] = useState(DEFAULT_COUNTRY); + const [selectedCountry, setSelectedCountry] = + useState(DEFAULT_COUNTRY); const [phoneNumber, setPhoneNumber] = useState(""); const [loading, setLoading] = useState(false); const [refreshing, setRefreshing] = useState(false); @@ -160,19 +167,21 @@ export default function LoginView() { - - {version} | powered by muku.id - + {version && ( + + powered by muku.id + + )} diff --git a/screens/Home/bottomFeatureSection.tsx b/screens/Home/bottomFeatureSection.tsx index 2295263..0c2377d 100644 --- a/screens/Home/bottomFeatureSection.tsx +++ b/screens/Home/bottomFeatureSection.tsx @@ -1,15 +1,17 @@ -import { ClickableCustom, TextCustom } from "@/components"; +import { CenterCustom, ClickableCustom, TextCustom } from "@/components"; import Spacing from "@/components/_ShareComponent/Spacing"; import { router } from "expo-router"; import { View } from "react-native"; import Icon from "react-native-vector-icons/FontAwesome"; import { stylesHome } from "./homeViewStyle"; +import _ from "lodash"; export default function Home_BottomFeatureSection({ listData, }: { listData: any[] | null; }) { + console.log("listData", JSON.stringify(listData, null, 2)); return ( <> router.push("/job")}> @@ -24,17 +26,23 @@ export default function Home_BottomFeatureSection({ {/* Vacancy Item 1 */} - {listData?.map((item: any, index: number) => ( - - - - {item.title} - - - {item.deskripsi} + {_.isEmpty(listData) ? ( + + Lowongan pekerjaan belum tersedia + + ) : ( + listData?.map((item: any, index: number) => ( + + + + {item.title} + + + {item.deskripsi} + - - ))} + )) + )}