@zezosoft/zezo-ott-react-native-ui-kit 1.0.7 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/README.md +1 -1
  2. package/lib/module/components/Account/Account.js +1 -1
  3. package/lib/module/components/Account/Account.js.map +1 -1
  4. package/lib/module/components/Auth/AuthProvider/AuthProvider.js +48 -19
  5. package/lib/module/components/Auth/AuthProvider/AuthProvider.js.map +1 -1
  6. package/lib/module/components/Auth/Login/LoginWithEmail.js +4 -2
  7. package/lib/module/components/Auth/Login/LoginWithEmail.js.map +1 -1
  8. package/lib/module/components/Auth/OTP/OTP.js +15 -1
  9. package/lib/module/components/Auth/OTP/OTP.js.map +1 -1
  10. package/lib/module/components/Auth/SignUp/SignUp.js +4 -2
  11. package/lib/module/components/Auth/SignUp/SignUp.js.map +1 -1
  12. package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js +6 -32
  13. package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -1
  14. package/lib/module/components/BlurView/BlurView.js +171 -0
  15. package/lib/module/components/BlurView/BlurView.js.map +1 -0
  16. package/lib/module/components/BlurView/index.js +9 -0
  17. package/lib/module/components/BlurView/index.js.map +1 -0
  18. package/lib/module/components/Content/Card/Styles/Four.js +1 -1
  19. package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
  20. package/lib/module/components/Content/Content.js +4 -2
  21. package/lib/module/components/Content/Content.js.map +1 -1
  22. package/lib/module/components/ContentView/ContentView.js +4 -2
  23. package/lib/module/components/ContentView/ContentView.js.map +1 -1
  24. package/lib/module/components/ContentView/components/MiniInfo.js +64 -19
  25. package/lib/module/components/ContentView/components/MiniInfo.js.map +1 -1
  26. package/lib/module/components/Settings/AppSettings.js +1 -1
  27. package/lib/module/components/Settings/AppSettings.js.map +1 -1
  28. package/lib/module/components/Subscription/SubOne.js +353 -19
  29. package/lib/module/components/Subscription/SubOne.js.map +1 -1
  30. package/lib/module/components/TabBar/One.js +71 -108
  31. package/lib/module/components/TabBar/One.js.map +1 -1
  32. package/lib/module/components/TabBar/Three.js +63 -78
  33. package/lib/module/components/TabBar/Three.js.map +1 -1
  34. package/lib/module/components/TabBar/Two.js +110 -106
  35. package/lib/module/components/TabBar/Two.js.map +1 -1
  36. package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js +324 -0
  37. package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js.map +1 -0
  38. package/lib/module/components/User/index.js +2 -1
  39. package/lib/module/components/User/index.js.map +1 -1
  40. package/lib/module/components/index.js +1 -0
  41. package/lib/module/components/index.js.map +1 -1
  42. package/lib/module/hooks/useNavigationMode.js +34 -0
  43. package/lib/module/hooks/useNavigationMode.js.map +1 -0
  44. package/lib/module/utils/Spacing.js +26 -0
  45. package/lib/module/utils/Spacing.js.map +1 -0
  46. package/lib/typescript/src/components/Auth/AuthProvider/AuthProvider.d.ts +1 -0
  47. package/lib/typescript/src/components/Auth/AuthProvider/AuthProvider.d.ts.map +1 -1
  48. package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +1 -1
  49. package/lib/typescript/src/components/Auth/OTP/OTP.d.ts +2 -0
  50. package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +1 -1
  51. package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +1 -1
  52. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -1
  53. package/lib/typescript/src/components/Auth/index.d.ts +2 -0
  54. package/lib/typescript/src/components/Auth/index.d.ts.map +1 -1
  55. package/lib/typescript/src/components/BlurView/BlurView.d.ts +48 -0
  56. package/lib/typescript/src/components/BlurView/BlurView.d.ts.map +1 -0
  57. package/lib/typescript/src/components/BlurView/index.d.ts +7 -0
  58. package/lib/typescript/src/components/BlurView/index.d.ts.map +1 -0
  59. package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
  60. package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
  61. package/lib/typescript/src/components/ContentView/ContentView.d.ts +1 -1
  62. package/lib/typescript/src/components/ContentView/ContentView.d.ts.map +1 -1
  63. package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts +17 -1
  64. package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts.map +1 -1
  65. package/lib/typescript/src/components/Subscription/SubOne.d.ts +6 -0
  66. package/lib/typescript/src/components/Subscription/SubOne.d.ts.map +1 -1
  67. package/lib/typescript/src/components/Subscription/index.d.ts.map +1 -1
  68. package/lib/typescript/src/components/TabBar/One.d.ts +2 -2
  69. package/lib/typescript/src/components/TabBar/One.d.ts.map +1 -1
  70. package/lib/typescript/src/components/TabBar/Three.d.ts +3 -2
  71. package/lib/typescript/src/components/TabBar/Three.d.ts.map +1 -1
  72. package/lib/typescript/src/components/TabBar/Two.d.ts +13 -4
  73. package/lib/typescript/src/components/TabBar/Two.d.ts.map +1 -1
  74. package/lib/typescript/src/components/TabBar/index.d.ts +1 -1
  75. package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts +50 -0
  76. package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts.map +1 -0
  77. package/lib/typescript/src/components/User/index.d.ts +2 -1
  78. package/lib/typescript/src/components/User/index.d.ts.map +1 -1
  79. package/lib/typescript/src/components/index.d.ts +1 -0
  80. package/lib/typescript/src/components/index.d.ts.map +1 -1
  81. package/lib/typescript/src/hooks/useNavigationMode.d.ts +14 -0
  82. package/lib/typescript/src/hooks/useNavigationMode.d.ts.map +1 -0
  83. package/lib/typescript/src/types/content/content-view.types.d.ts +2 -0
  84. package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
  85. package/lib/typescript/src/types/content/index.d.ts +1 -1
  86. package/lib/typescript/src/types/content/index.d.ts.map +1 -1
  87. package/lib/typescript/src/utils/Spacing.d.ts +16 -0
  88. package/lib/typescript/src/utils/Spacing.d.ts.map +1 -0
  89. package/package.json +9 -5
  90. package/src/components/Account/Account.tsx +1 -1
  91. package/src/components/Auth/AuthProvider/AuthProvider.tsx +82 -37
  92. package/src/components/Auth/Login/LoginWithEmail.tsx +9 -2
  93. package/src/components/Auth/OTP/OTP.tsx +37 -1
  94. package/src/components/Auth/SignUp/SignUp.tsx +9 -2
  95. package/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.tsx +2 -33
  96. package/src/components/BlurView/BlurView.tsx +199 -0
  97. package/src/components/BlurView/index.ts +7 -0
  98. package/src/components/Content/Card/Styles/Four.tsx +3 -1
  99. package/src/components/Content/Content.tsx +5 -4
  100. package/src/components/ContentView/ContentView.tsx +8 -1
  101. package/src/components/ContentView/components/MiniInfo.tsx +99 -22
  102. package/src/components/Settings/AppSettings.tsx +1 -1
  103. package/src/components/Subscription/SubOne.tsx +431 -16
  104. package/src/components/TabBar/One.tsx +79 -141
  105. package/src/components/TabBar/Three.tsx +84 -99
  106. package/src/components/TabBar/Two.tsx +139 -110
  107. package/src/components/User/PurchaseHistory/PurchaseHistory.tsx +439 -0
  108. package/src/components/User/index.ts +8 -1
  109. package/src/components/index.ts +1 -0
  110. package/src/hooks/useNavigationMode.ts +35 -0
  111. package/src/types/content/content-view.types.ts +5 -0
  112. package/src/types/content/index.ts +1 -5
  113. package/src/utils/Spacing.ts +27 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/content/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MA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C;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;IACtD,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAGD,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB,IAAI,EAAE,YAAY,CAAC;CACpB"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @author Naresh Dhamu
3
+ * @lastModified Mon 16 Jun 2025 at 03:05 PM
4
+ */
5
+ /**
6
+ * Get responsive bottom spacing that accounts for platform differences
7
+ * Automatically adds extra spacing for Android navigation bar
8
+ * @param baseSpacing - Base spacing value (default: 35)
9
+ * @returns Platform-specific responsive bottom spacing
10
+ * @example
11
+ * // Usage in any component
12
+ * bottom: getResponsiveBottomSpacing(35) // iOS: 35, Android: 45
13
+ */
14
+ export declare const getResponsiveBottomSpacing: (baseSpacing?: number) => number;
15
+ export declare const getAuthBottomSpacing: (baseSpacing?: number) => number;
16
+ //# sourceMappingURL=Spacing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Spacing.d.ts","sourceRoot":"","sources":["../../../../src/utils/Spacing.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH;;;;;;;;GAQG;AACH,eAAO,MAAM,0BAA0B,GACrC,cAAa,MAAW,KACvB,MAIF,CAAC;AAGF,eAAO,MAAM,oBAAoB,iBARlB,MAAM,KAClB,MAO2D,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zezosoft/zezo-ott-react-native-ui-kit",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "A professional React Native UI component library built for OTT applications.",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "lib/typescript/src/index.d.ts",
@@ -85,6 +85,7 @@
85
85
  "eslint-plugin-prettier": "^5.2.3",
86
86
  "jest": "^29.7.0",
87
87
  "lottie-react-native": "^7.3.4",
88
+ "moment": "^2.30.1",
88
89
  "prettier": "^3.0.3",
89
90
  "react": "19.0.0",
90
91
  "react-native": "0.79.6",
@@ -97,6 +98,7 @@
97
98
  "react-native-markdown-display": "^7.0.2",
98
99
  "react-native-mmkv": "^3.3.0",
99
100
  "react-native-modal": "^14.0.0-rc.1",
101
+ "react-native-navigation-mode": "^1.2.3",
100
102
  "react-native-reanimated": "^4.1.0",
101
103
  "react-native-safe-area-context": "^5.6.1",
102
104
  "react-native-super-grid": "^6.0.2",
@@ -110,9 +112,10 @@
110
112
  "peerDependencies": {
111
113
  "@react-native-community/blur": "^4.4.0",
112
114
  "@react-native-masked-view/masked-view": "^0.3.0",
113
- "@react-navigation/bottom-tabs": "^7.4.0",
114
- "@react-navigation/native": "^7.1.0",
115
- "lottie-react-native": "^7.0.0",
115
+ "@react-navigation/bottom-tabs": "*",
116
+ "@react-navigation/native": "*",
117
+ "lottie-react-native": "*",
118
+ "moment": "*",
116
119
  "react": "*",
117
120
  "react-native": "*",
118
121
  "react-native-device-info": "^14.0.0",
@@ -121,6 +124,7 @@
121
124
  "react-native-gesture-handler": "^2.0.0",
122
125
  "react-native-linear-gradient": "^2.8.0",
123
126
  "react-native-mmkv": "*",
127
+ "react-native-navigation-mode": "*",
124
128
  "react-native-nitro-modules": "^0.29.0",
125
129
  "react-native-reanimated": "*",
126
130
  "react-native-safe-area-context": "*",
@@ -129,7 +133,7 @@
129
133
  "react-native-svg": "*",
130
134
  "react-native-video": "*",
131
135
  "react-native-vision-camera": "*",
132
- "react-native-worklets": "^0.5.0"
136
+ "react-native-worklets": "*"
133
137
  },
134
138
  "dependencies": {
135
139
  "color": "^5.0.0",
@@ -133,7 +133,7 @@ export const Account: React.FC<AccountProps> = ({
133
133
  <ScrollView
134
134
  contentContainerStyle={[
135
135
  styles.content,
136
- { paddingBottom: insets.bottom + verticalScale(40) },
136
+ { paddingBottom: verticalScale(100) + insets.bottom },
137
137
  ]}
138
138
  showsVerticalScrollIndicator={false}
139
139
  keyboardShouldPersistTaps="handled"
@@ -2,14 +2,13 @@
2
2
  * @author Naresh Dhamu
3
3
  * @lastModified Tue 22 Oct 2025
4
4
  */
5
- import React, { useEffect, useRef, useState } from 'react';
5
+ import React, { useEffect, useMemo, useRef, useState } from 'react';
6
6
  import {
7
7
  View,
8
8
  StyleSheet,
9
9
  SafeAreaView,
10
10
  TouchableOpacity,
11
11
  Animated,
12
- Platform,
13
12
  } from 'react-native';
14
13
  import { moderateScale, scale, verticalScale } from 'react-native-size-matters';
15
14
  import { useInternalTheme } from '../../../theme/hook/useInternalTheme';
@@ -19,6 +18,7 @@ import { Text } from '../../Text';
19
18
  import { BackgroundLayout } from '../../BackgroundLayout/BackgroundLayout';
20
19
  import { Phone, Mail } from 'lucide-react-native';
21
20
  import { Button } from '../../Button';
21
+ import { default as SkeletonPlaceholder } from 'react-native-skeleton-placeholder';
22
22
 
23
23
  export interface AuthProviderProps {
24
24
  logoUri: string;
@@ -35,6 +35,7 @@ export interface AuthProviderProps {
35
35
  };
36
36
  variant?: 'one' | 'two';
37
37
  theme?: ThemeOverride;
38
+ isLoading?: boolean;
38
39
  authProvider?: {
39
40
  phone?: {
40
41
  enabled?: boolean;
@@ -55,6 +56,7 @@ const AuthProvider: React.FC<AuthProviderProps> = ({
55
56
  text,
56
57
  variant = 'one',
57
58
  theme: overrideTheme,
59
+ isLoading = false,
58
60
  authProvider = {
59
61
  phone: { enabled: true },
60
62
  email: { enabled: true },
@@ -105,46 +107,70 @@ const AuthProvider: React.FC<AuthProviderProps> = ({
105
107
  label: string;
106
108
  icon: React.ReactNode;
107
109
  enabled: boolean;
108
- }[] = [
109
- {
110
- key: 'phone',
111
- label: text?.loginWithPhone || 'Phone',
112
- icon: <Phone size={moderateScale(16)} />,
113
- enabled: phoneEnabled,
114
- },
115
- {
116
- key: 'email',
117
- label: text?.loginWithEmail || 'Email',
118
- icon: <Mail size={moderateScale(16)} />,
119
- enabled: emailEnabled,
120
- },
121
- ];
110
+ }[] = useMemo(
111
+ () => [
112
+ {
113
+ key: 'phone',
114
+ label: text?.loginWithPhone || 'Phone',
115
+ icon: <Phone size={moderateScale(16)} />,
116
+ enabled: phoneEnabled,
117
+ },
118
+ {
119
+ key: 'email',
120
+ label: text?.loginWithEmail || 'Email',
121
+ icon: <Mail size={moderateScale(16)} />,
122
+ enabled: emailEnabled,
123
+ },
124
+ ],
125
+ [text?.loginWithPhone, text?.loginWithEmail, phoneEnabled, emailEnabled]
126
+ );
122
127
 
123
128
  const renderButtons = () => (
124
129
  <View style={styles.buttonContainer}>
125
130
  {authMethods
126
131
  .filter((item) => item.enabled)
127
132
  .map((item) => (
128
- <Button.Secondary
129
- key={item.key}
130
- containerStyle={{
131
- backgroundColor:
132
- activeTab === item.key ? colors.button : 'transparent',
133
- borderWidth: 1.2,
134
- borderColor: colors.button,
135
- }}
136
- titleStyle={{
137
- color:
138
- activeTab === item.key ? colors.buttonText : colors.textPrimary,
139
- }}
140
- title={`Continue with ${item.label}`}
141
- onPress={() => handlePress(item.key)}
142
- leftIcon={React.cloneElement(item.icon as any, {
143
- color:
144
- activeTab === item.key ? colors.buttonText : colors.textPrimary,
145
- size: moderateScale(18),
146
- })}
147
- />
133
+ <React.Fragment key={item.key}>
134
+ {isLoading ? (
135
+ <SkeletonPlaceholder
136
+ backgroundColor={colors.skeletonBaseColor}
137
+ highlightColor={colors.skeletonHighlightColor}
138
+ borderRadius={moderateScale(8)}
139
+ >
140
+ <View
141
+ style={{
142
+ width: '100%',
143
+ height: verticalScale(48),
144
+ borderRadius: moderateScale(8),
145
+ }}
146
+ />
147
+ </SkeletonPlaceholder>
148
+ ) : (
149
+ <Button.Secondary
150
+ containerStyle={{
151
+ backgroundColor:
152
+ activeTab === item.key ? colors.button : 'transparent',
153
+ borderWidth: 1.2,
154
+ borderColor: colors.button,
155
+ }}
156
+ titleStyle={{
157
+ color:
158
+ activeTab === item.key
159
+ ? colors.buttonText
160
+ : colors.textPrimary,
161
+ }}
162
+ title={`Continue with ${item.label}`}
163
+ onPress={() => handlePress(item.key)}
164
+ leftIcon={React.cloneElement(item.icon as any, {
165
+ color:
166
+ activeTab === item.key
167
+ ? colors.buttonText
168
+ : colors.textPrimary,
169
+ size: moderateScale(18),
170
+ })}
171
+ />
172
+ )}
173
+ </React.Fragment>
148
174
  ))}
149
175
  </View>
150
176
  );
@@ -152,6 +178,25 @@ const AuthProvider: React.FC<AuthProviderProps> = ({
152
178
  // Toggle render without absolute
153
179
  const renderToggle = () => {
154
180
  const enabledMethods = authMethods.filter((m) => m.enabled);
181
+
182
+ if (isLoading) {
183
+ return (
184
+ <SkeletonPlaceholder
185
+ backgroundColor={colors.skeletonBaseColor}
186
+ highlightColor={colors.skeletonHighlightColor}
187
+ borderRadius={50}
188
+ >
189
+ <View
190
+ style={{
191
+ width: '100%',
192
+ height: verticalScale(48),
193
+ borderRadius: 50,
194
+ }}
195
+ />
196
+ </SkeletonPlaceholder>
197
+ );
198
+ }
199
+
155
200
  return (
156
201
  <View
157
202
  style={[
@@ -257,7 +302,7 @@ const styles = StyleSheet.create({
257
302
  bottomSection: {
258
303
  width: '100%',
259
304
  alignItems: 'center',
260
- paddingBottom: verticalScale(Platform.OS === 'ios' ? 40 : 30),
305
+ paddingBottom: verticalScale(30),
261
306
  },
262
307
  title: {
263
308
  fontSize: moderateScale(18),
@@ -24,6 +24,7 @@ import BackBtn from '../../Button/BackBtn';
24
24
  import { Text } from '../../Text';
25
25
  import type { ThemeOverride } from '../../../theme/themes';
26
26
  import { RFValue } from 'react-native-responsive-fontsize';
27
+ import { getResponsiveBottomSpacing } from '../../../utils/Spacing';
27
28
 
28
29
  type FormValues = {
29
30
  email: string;
@@ -313,7 +314,14 @@ const LoginWithEmail: React.FC<LoginWithEmailProps> = ({
313
314
  </View>
314
315
 
315
316
  {!isKeyboardOpen && shouldRender(onSignup || renderSignupPrompt) && (
316
- <View style={styles.signupContainer}>
317
+ <View
318
+ style={[
319
+ styles.signupContainer,
320
+ {
321
+ bottom: getResponsiveBottomSpacing(35),
322
+ },
323
+ ]}
324
+ >
317
325
  {renderSignupPrompt ? (
318
326
  renderSignupPrompt({
319
327
  onPress: () => handleKeyboardDismiss(onSignup),
@@ -388,7 +396,6 @@ const styles = StyleSheet.create({
388
396
  },
389
397
  signupContainer: {
390
398
  position: 'absolute',
391
- bottom: verticalScale(30),
392
399
  left: 0,
393
400
  right: 0,
394
401
  alignItems: 'center',
@@ -47,6 +47,8 @@ type OTPProps = {
47
47
  otpDigitCount?: number;
48
48
  keyboardType?: KeyboardTypeOptions;
49
49
  phoneNumber?: string;
50
+ enableAutoFill?: boolean;
51
+ autoSubmitOnFill?: boolean;
50
52
  text?: {
51
53
  otpLabel?: string;
52
54
  otpPlaceholder?: string;
@@ -110,6 +112,8 @@ const OTP: React.FC<OTPProps> = ({
110
112
  otpDigitCount = 4,
111
113
  keyboardType = 'number-pad',
112
114
  phoneNumber,
115
+ enableAutoFill = true,
116
+ autoSubmitOnFill = true,
113
117
  text = DEFAULT_TEXT,
114
118
  onResendOtp,
115
119
  renderResendButton,
@@ -239,6 +243,31 @@ const OTP: React.FC<OTPProps> = ({
239
243
  }
240
244
  }, [onSubmit, otp, otpDigitCount]);
241
245
 
246
+ // Auto-submit when OTP is auto-filled and complete
247
+ useEffect(() => {
248
+ if (
249
+ autoSubmitOnFill &&
250
+ otp.length === otpDigitCount &&
251
+ !isSubmitting &&
252
+ !loading &&
253
+ onSubmit
254
+ ) {
255
+ const timer = setTimeout(() => {
256
+ handleSubmit();
257
+ }, 300); // Small delay to ensure OTP is fully set
258
+ return () => clearTimeout(timer);
259
+ }
260
+ return;
261
+ }, [
262
+ otp,
263
+ otpDigitCount,
264
+ autoSubmitOnFill,
265
+ isSubmitting,
266
+ loading,
267
+ onSubmit,
268
+ handleSubmit,
269
+ ]);
270
+
242
271
  const handleResendOtp = useCallback(() => {
243
272
  if (onResendOtp) {
244
273
  onResendOtp();
@@ -325,7 +354,14 @@ const OTP: React.FC<OTPProps> = ({
325
354
  cellCount={otpDigitCount}
326
355
  rootStyle={styles.codeFieldRoot}
327
356
  keyboardType={keyboardType}
328
- textContentType="oneTimeCode"
357
+ textContentType={enableAutoFill ? 'oneTimeCode' : 'none'}
358
+ autoComplete={
359
+ enableAutoFill
360
+ ? Platform.OS === 'android'
361
+ ? 'sms-otp'
362
+ : 'off'
363
+ : 'off'
364
+ }
329
365
  renderCell={({ index, symbol, isFocused }) => (
330
366
  <Text
331
367
  key={index}
@@ -25,6 +25,7 @@ import BackBtn from '../../Button/BackBtn';
25
25
  import { Text } from '../../Text';
26
26
  import type { ThemeOverride } from '../../../theme/themes';
27
27
  import { RFValue } from 'react-native-responsive-fontsize';
28
+ import { getResponsiveBottomSpacing } from '../../../utils/Spacing';
28
29
 
29
30
  type FormValues = {
30
31
  username: string;
@@ -349,7 +350,14 @@ const Signup: React.FC<SignupProps> = ({
349
350
  (renderLoginPrompt ? (
350
351
  renderLoginPrompt()
351
352
  ) : (
352
- <View style={styles.loginContainerWrapper}>
353
+ <View
354
+ style={[
355
+ styles.loginContainerWrapper,
356
+ {
357
+ bottom: getResponsiveBottomSpacing(35),
358
+ },
359
+ ]}
360
+ >
353
361
  <View style={styles.loginContainer}>
354
362
  <View style={styles.loginRow}>
355
363
  <Text
@@ -415,7 +423,6 @@ const styles = StyleSheet.create({
415
423
  },
416
424
  loginContainerWrapper: {
417
425
  position: 'absolute',
418
- bottom: verticalScale(30),
419
426
  left: 0,
420
427
  right: 0,
421
428
  alignItems: 'center',
@@ -3,22 +3,14 @@
3
3
  * @lastModified Sat 25 Oct 2025
4
4
  */
5
5
 
6
- import React, {
7
- useMemo,
8
- useCallback,
9
- useRef,
10
- useState,
11
- useEffect,
12
- } from 'react';
13
- import { StyleSheet, Animated, View as RNView } from 'react-native';
6
+ import React, { useMemo, useCallback, useRef, useEffect } from 'react';
7
+ import { StyleSheet, Animated } from 'react-native';
14
8
  import Video, {
15
9
  type OnLoadData,
16
10
  type OnVideoErrorData,
17
11
  } from 'react-native-video';
18
12
  import Display from '../../../../../utils/Display';
19
- import { useInternalTheme } from '../../../../../theme/hook';
20
13
  import { View } from '../../../../View';
21
- import { Loader } from '../../../../Loader/Loader';
22
14
 
23
15
  interface IProps {
24
16
  width?: number;
@@ -43,9 +35,7 @@ const SplashVideo: React.FC<IProps> = ({
43
35
  onLoaded,
44
36
  onError,
45
37
  }) => {
46
- const { theme: applyTheme } = useInternalTheme();
47
38
  const fadeAnim = useRef(new Animated.Value(0)).current;
48
- const [isLoaded, setIsLoaded] = useState(false);
49
39
 
50
40
  /** 🎨 Compute video dimensions */
51
41
  const videoStyle = useMemo(
@@ -74,14 +64,12 @@ const SplashVideo: React.FC<IProps> = ({
74
64
 
75
65
  /** 🔄 Video lifecycle handlers */
76
66
  const handleLoadStart = useCallback(() => {
77
- setIsLoaded(false);
78
67
  fadeAnim.setValue(0);
79
68
  onLoadStart?.();
80
69
  }, [fadeAnim, onLoadStart]);
81
70
 
82
71
  const handleLoad = useCallback(
83
72
  (data: OnLoadData) => {
84
- setIsLoaded(true);
85
73
  animateIn();
86
74
  onLoaded?.(data);
87
75
  },
@@ -95,8 +83,6 @@ const SplashVideo: React.FC<IProps> = ({
95
83
  err?.message ||
96
84
  JSON.stringify(err) ||
97
85
  'Unknown video error';
98
- console.error('🎬 SplashVideo Error:', errorMsg);
99
- setIsLoaded(false);
100
86
  onError?.(errorMsg);
101
87
  },
102
88
  [onError]
@@ -110,13 +96,6 @@ const SplashVideo: React.FC<IProps> = ({
110
96
  /** 🧱 Render */
111
97
  return (
112
98
  <View style={styles.container}>
113
- {/* Loader shown before video fully loads */}
114
- {!isLoaded && (
115
- <RNView style={styles.loaderWrapper}>
116
- <Loader color={applyTheme.colors.primary} />
117
- </RNView>
118
- )}
119
-
120
99
  {/* Video Layer */}
121
100
  <Animated.View
122
101
  style={[videoStyle, { opacity: fadeAnim, position: 'absolute' }]}
@@ -164,16 +143,6 @@ const styles = StyleSheet.create({
164
143
  justifyContent: 'center',
165
144
  alignItems: 'center',
166
145
  },
167
-
168
- loaderWrapper: {
169
- ...StyleSheet.absoluteFillObject,
170
- justifyContent: 'center',
171
- alignItems: 'center',
172
- zIndex: 1,
173
- },
174
- loader: {
175
- transform: [{ scale: 1.2 }],
176
- },
177
146
  });
178
147
 
179
148
  export default React.memo(SplashVideo);