Files
hipmi-mobile/screens
bagasbanuna 0cb734e790 Refactor: apply PhoneInputCustom to LoginView
Changes:
- Replace react-native-international-phone-number with PhoneInputCustom
- Remove dependency on ICountry, use CountryData from constants
- Add KeyboardAvoidingView for better iOS keyboard handling
- Improve validation with libphonenumber-js
- Add proper phone number formatting
- Update state management (inputValue → phoneNumber)

Features Applied:
 NO emoji flags - only calling codes (+62, +65, etc)
 Clean, professional UI
 Modal country picker with search
 Better keyboard handling on iOS
 Real-time validation with libphonenumber-js
 Auto-formatting for international numbers
 Reusable component

UI:
- Phone Input: [+62 ⌄ | 812-3456-7890]
- Country Picker: Modal with search
- Display: Country name + calling code only

Validation:
- Check phone number length
- Validate with libphonenumber-js
- Format to E.164 on login
- Error handling with Toast

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-26 11:33:18 +08:00
..
2026-03-13 16:41:34 +08:00
2025-12-09 17:36:36 +08:00
2026-03-13 16:41:34 +08:00
2026-02-05 15:06:14 +08:00
2026-03-13 16:41:34 +08:00
2026-02-05 15:06:14 +08:00
2026-03-02 16:34:24 +08:00
2026-03-13 16:41:34 +08:00
2026-01-29 11:36:24 +08:00
2026-02-05 15:06:14 +08:00