@oxyhq/services 5.21.7 → 5.22.0

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 (392) hide show
  1. package/README.md +201 -2
  2. package/lib/commonjs/assets/assets/fonts/Inter/Inter_18pt-Black.ttf +0 -0
  3. package/lib/commonjs/assets/assets/fonts/Inter/Inter_18pt-Bold.ttf +0 -0
  4. package/lib/commonjs/assets/assets/fonts/Inter/Inter_18pt-ExtraBold.ttf +0 -0
  5. package/lib/commonjs/assets/assets/fonts/Inter/Inter_18pt-Light.ttf +0 -0
  6. package/lib/commonjs/assets/assets/fonts/Inter/Inter_18pt-Medium.ttf +0 -0
  7. package/lib/commonjs/assets/assets/fonts/Inter/Inter_18pt-Regular.ttf +0 -0
  8. package/lib/commonjs/assets/assets/fonts/Inter/Inter_18pt-SemiBold.ttf +0 -0
  9. package/lib/commonjs/assets/fonts/Inter/Inter_18pt-Black.ttf +0 -0
  10. package/lib/commonjs/assets/fonts/Inter/Inter_18pt-Bold.ttf +0 -0
  11. package/lib/commonjs/assets/fonts/Inter/Inter_18pt-ExtraBold.ttf +0 -0
  12. package/lib/commonjs/assets/fonts/Inter/Inter_18pt-Light.ttf +0 -0
  13. package/lib/commonjs/assets/fonts/Inter/Inter_18pt-Medium.ttf +0 -0
  14. package/lib/commonjs/assets/fonts/Inter/Inter_18pt-Regular.ttf +0 -0
  15. package/lib/commonjs/assets/fonts/Inter/Inter_18pt-SemiBold.ttf +0 -0
  16. package/lib/commonjs/core/HttpService.js +87 -2
  17. package/lib/commonjs/core/HttpService.js.map +1 -1
  18. package/lib/commonjs/core/mixins/OxyServices.assets.js +3 -1
  19. package/lib/commonjs/core/mixins/OxyServices.assets.js.map +1 -1
  20. package/lib/commonjs/i18n/locales/en-US.json +3 -3
  21. package/lib/commonjs/i18n/locales/es-ES.json +240 -19
  22. package/lib/commonjs/ui/components/Avatar.js +1 -1
  23. package/lib/commonjs/ui/components/Avatar.js.map +1 -1
  24. package/lib/commonjs/ui/components/FollowButton.js +1 -1
  25. package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
  26. package/lib/commonjs/ui/components/FontLoader.js +34 -34
  27. package/lib/commonjs/ui/components/FontLoader.js.map +1 -1
  28. package/lib/commonjs/ui/components/Header.js +4 -4
  29. package/lib/commonjs/ui/components/Header.js.map +1 -1
  30. package/lib/commonjs/ui/components/OxyPayButton.js +1 -1
  31. package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -1
  32. package/lib/commonjs/ui/components/OxySignInButton.js +2 -1
  33. package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
  34. package/lib/commonjs/ui/components/ProfileCard.js +1 -1
  35. package/lib/commonjs/ui/components/ProfileCard.js.map +1 -1
  36. package/lib/commonjs/ui/components/SectionTitle.js +1 -1
  37. package/lib/commonjs/ui/components/SectionTitle.js.map +1 -1
  38. package/lib/commonjs/ui/components/StepBasedScreen.js +2 -1
  39. package/lib/commonjs/ui/components/StepBasedScreen.js.map +1 -1
  40. package/lib/commonjs/ui/components/feedback/feedbackStyles.js +2 -1
  41. package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +1 -1
  42. package/lib/commonjs/ui/components/fileManagement/styles.js +17 -17
  43. package/lib/commonjs/ui/components/fileManagement/styles.js.map +1 -1
  44. package/lib/commonjs/ui/components/payment/paymentStyles.js +7 -7
  45. package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -1
  46. package/lib/commonjs/ui/navigation/routes.js +2 -0
  47. package/lib/commonjs/ui/navigation/routes.js.map +1 -1
  48. package/lib/commonjs/ui/screens/AccountCenterScreen.js +4 -2
  49. package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
  50. package/lib/commonjs/ui/screens/AccountOverviewScreen.js +13 -5
  51. package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
  52. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +273 -1820
  53. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
  54. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +1 -1
  55. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
  56. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +3 -1
  57. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
  58. package/lib/commonjs/ui/screens/AppInfoScreen.js +2 -2
  59. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
  60. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +640 -0
  61. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -0
  62. package/lib/commonjs/ui/screens/FileManagementScreen.js +39 -21
  63. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  64. package/lib/commonjs/ui/screens/HistoryViewScreen.js +9 -3
  65. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
  66. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +4 -2
  67. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
  68. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +3 -1
  69. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
  70. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +11 -12
  71. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  72. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +12 -4
  73. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  74. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +3 -1
  75. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
  76. package/lib/commonjs/ui/screens/SessionManagementScreen.js +15 -5
  77. package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
  78. package/lib/commonjs/ui/screens/UserLinksScreen.js +3 -1
  79. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
  80. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +2 -1
  81. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  82. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +2 -4
  83. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
  84. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +3 -3
  85. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
  86. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +3 -3
  87. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
  88. package/lib/commonjs/ui/styles/authStyles.js +5 -4
  89. package/lib/commonjs/ui/styles/authStyles.js.map +1 -1
  90. package/lib/commonjs/ui/styles/fonts.js +27 -27
  91. package/lib/commonjs/ui/styles/fonts.js.map +1 -1
  92. package/lib/commonjs/ui/styles/theme.js +3 -3
  93. package/lib/commonjs/ui/styles/theme.js.map +1 -1
  94. package/lib/commonjs/web.js +682 -0
  95. package/lib/commonjs/web.js.map +1 -0
  96. package/lib/module/assets/assets/fonts/Inter/Inter_18pt-Black.ttf +0 -0
  97. package/lib/module/assets/assets/fonts/Inter/Inter_18pt-Bold.ttf +0 -0
  98. package/lib/module/assets/assets/fonts/Inter/Inter_18pt-ExtraBold.ttf +0 -0
  99. package/lib/module/assets/assets/fonts/Inter/Inter_18pt-Light.ttf +0 -0
  100. package/lib/module/assets/assets/fonts/Inter/Inter_18pt-Medium.ttf +0 -0
  101. package/lib/module/assets/assets/fonts/Inter/Inter_18pt-Regular.ttf +0 -0
  102. package/lib/module/assets/assets/fonts/Inter/Inter_18pt-SemiBold.ttf +0 -0
  103. package/lib/module/assets/fonts/Inter/Inter_18pt-Black.ttf +0 -0
  104. package/lib/module/assets/fonts/Inter/Inter_18pt-Bold.ttf +0 -0
  105. package/lib/module/assets/fonts/Inter/Inter_18pt-ExtraBold.ttf +0 -0
  106. package/lib/module/assets/fonts/Inter/Inter_18pt-Light.ttf +0 -0
  107. package/lib/module/assets/fonts/Inter/Inter_18pt-Medium.ttf +0 -0
  108. package/lib/module/assets/fonts/Inter/Inter_18pt-Regular.ttf +0 -0
  109. package/lib/module/assets/fonts/Inter/Inter_18pt-SemiBold.ttf +0 -0
  110. package/lib/module/core/HttpService.js +87 -2
  111. package/lib/module/core/HttpService.js.map +1 -1
  112. package/lib/module/core/mixins/OxyServices.assets.js +3 -1
  113. package/lib/module/core/mixins/OxyServices.assets.js.map +1 -1
  114. package/lib/module/i18n/locales/en-US.json +3 -3
  115. package/lib/module/i18n/locales/es-ES.json +240 -19
  116. package/lib/module/ui/components/Avatar.js +1 -1
  117. package/lib/module/ui/components/Avatar.js.map +1 -1
  118. package/lib/module/ui/components/FollowButton.js +1 -1
  119. package/lib/module/ui/components/FollowButton.js.map +1 -1
  120. package/lib/module/ui/components/FontLoader.js +34 -34
  121. package/lib/module/ui/components/FontLoader.js.map +1 -1
  122. package/lib/module/ui/components/Header.js +4 -4
  123. package/lib/module/ui/components/Header.js.map +1 -1
  124. package/lib/module/ui/components/OxyPayButton.js +1 -1
  125. package/lib/module/ui/components/OxyPayButton.js.map +1 -1
  126. package/lib/module/ui/components/OxySignInButton.js +2 -1
  127. package/lib/module/ui/components/OxySignInButton.js.map +1 -1
  128. package/lib/module/ui/components/ProfileCard.js +1 -1
  129. package/lib/module/ui/components/ProfileCard.js.map +1 -1
  130. package/lib/module/ui/components/SectionTitle.js +1 -1
  131. package/lib/module/ui/components/SectionTitle.js.map +1 -1
  132. package/lib/module/ui/components/StepBasedScreen.js +2 -1
  133. package/lib/module/ui/components/StepBasedScreen.js.map +1 -1
  134. package/lib/module/ui/components/feedback/feedbackStyles.js +2 -1
  135. package/lib/module/ui/components/feedback/feedbackStyles.js.map +1 -1
  136. package/lib/module/ui/components/fileManagement/styles.js +17 -17
  137. package/lib/module/ui/components/fileManagement/styles.js.map +1 -1
  138. package/lib/module/ui/components/payment/paymentStyles.js +7 -7
  139. package/lib/module/ui/components/payment/paymentStyles.js.map +1 -1
  140. package/lib/module/ui/navigation/routes.js +2 -0
  141. package/lib/module/ui/navigation/routes.js.map +1 -1
  142. package/lib/module/ui/screens/AccountCenterScreen.js +4 -2
  143. package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
  144. package/lib/module/ui/screens/AccountOverviewScreen.js +13 -5
  145. package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
  146. package/lib/module/ui/screens/AccountSettingsScreen.js +277 -1824
  147. package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
  148. package/lib/module/ui/screens/AccountSwitcherScreen.js +1 -1
  149. package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
  150. package/lib/module/ui/screens/AccountVerificationScreen.js +3 -1
  151. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
  152. package/lib/module/ui/screens/AppInfoScreen.js +2 -2
  153. package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
  154. package/lib/module/ui/screens/EditProfileFieldScreen.js +635 -0
  155. package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -0
  156. package/lib/module/ui/screens/FileManagementScreen.js +39 -21
  157. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  158. package/lib/module/ui/screens/HistoryViewScreen.js +9 -3
  159. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
  160. package/lib/module/ui/screens/LanguageSelectorScreen.js +4 -2
  161. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
  162. package/lib/module/ui/screens/LegalDocumentsScreen.js +3 -1
  163. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
  164. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +11 -12
  165. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  166. package/lib/module/ui/screens/PrivacySettingsScreen.js +12 -4
  167. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
  168. package/lib/module/ui/screens/SearchSettingsScreen.js +3 -1
  169. package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
  170. package/lib/module/ui/screens/SessionManagementScreen.js +15 -5
  171. package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
  172. package/lib/module/ui/screens/UserLinksScreen.js +3 -1
  173. package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
  174. package/lib/module/ui/screens/WelcomeNewUserScreen.js +2 -1
  175. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  176. package/lib/module/ui/screens/karma/KarmaAboutScreen.js +2 -4
  177. package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
  178. package/lib/module/ui/screens/karma/KarmaCenterScreen.js +3 -3
  179. package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
  180. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +3 -3
  181. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
  182. package/lib/module/ui/styles/authStyles.js +5 -4
  183. package/lib/module/ui/styles/authStyles.js.map +1 -1
  184. package/lib/module/ui/styles/fonts.js +27 -27
  185. package/lib/module/ui/styles/fonts.js.map +1 -1
  186. package/lib/module/ui/styles/theme.js +3 -3
  187. package/lib/module/ui/styles/theme.js.map +1 -1
  188. package/lib/module/web.js +75 -0
  189. package/lib/module/web.js.map +1 -0
  190. package/lib/typescript/commonjs/core/HttpService.d.ts +5 -0
  191. package/lib/typescript/commonjs/core/HttpService.d.ts.map +1 -1
  192. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -1
  193. package/lib/typescript/commonjs/ui/components/StepBasedScreen.d.ts.map +1 -1
  194. package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts.map +1 -1
  195. package/lib/typescript/commonjs/ui/navigation/routes.d.ts +1 -1
  196. package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -1
  197. package/lib/typescript/commonjs/ui/screens/AccountCenterScreen.d.ts.map +1 -1
  198. package/lib/typescript/commonjs/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
  199. package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
  200. package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
  201. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts +13 -0
  202. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -0
  203. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
  204. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  205. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  206. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  207. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
  208. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  209. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  210. package/lib/typescript/commonjs/ui/screens/SessionManagementScreen.d.ts.map +1 -1
  211. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -1
  212. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  213. package/lib/typescript/commonjs/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -1
  214. package/lib/typescript/commonjs/ui/styles/fonts.d.ts +7 -7
  215. package/lib/typescript/commonjs/ui/styles/theme.d.ts.map +1 -1
  216. package/lib/typescript/commonjs/web.d.ts +54 -0
  217. package/lib/typescript/commonjs/web.d.ts.map +1 -0
  218. package/lib/typescript/module/core/HttpService.d.ts +5 -0
  219. package/lib/typescript/module/core/HttpService.d.ts.map +1 -1
  220. package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -1
  221. package/lib/typescript/module/ui/components/StepBasedScreen.d.ts.map +1 -1
  222. package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts.map +1 -1
  223. package/lib/typescript/module/ui/navigation/routes.d.ts +1 -1
  224. package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -1
  225. package/lib/typescript/module/ui/screens/AccountCenterScreen.d.ts.map +1 -1
  226. package/lib/typescript/module/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
  227. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
  228. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
  229. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts +13 -0
  230. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -0
  231. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
  232. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  233. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  234. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  235. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
  236. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  237. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  238. package/lib/typescript/module/ui/screens/SessionManagementScreen.d.ts.map +1 -1
  239. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -1
  240. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  241. package/lib/typescript/module/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -1
  242. package/lib/typescript/module/ui/styles/fonts.d.ts +7 -7
  243. package/lib/typescript/module/ui/styles/theme.d.ts.map +1 -1
  244. package/lib/typescript/module/web.d.ts +54 -0
  245. package/lib/typescript/module/web.d.ts.map +1 -0
  246. package/package.json +27 -41
  247. package/src/assets/fonts/Inter/Inter_18pt-Black.ttf +0 -0
  248. package/src/assets/fonts/Inter/Inter_18pt-Bold.ttf +0 -0
  249. package/src/assets/fonts/Inter/Inter_18pt-ExtraBold.ttf +0 -0
  250. package/src/assets/fonts/Inter/Inter_18pt-Light.ttf +0 -0
  251. package/src/assets/fonts/Inter/Inter_18pt-Medium.ttf +0 -0
  252. package/src/assets/fonts/Inter/Inter_18pt-Regular.ttf +0 -0
  253. package/src/assets/fonts/Inter/Inter_18pt-SemiBold.ttf +0 -0
  254. package/src/core/HttpService.ts +91 -0
  255. package/src/core/mixins/OxyServices.assets.ts +1 -1
  256. package/src/i18n/locales/en-US.json +3 -3
  257. package/src/i18n/locales/es-ES.json +240 -19
  258. package/src/ui/components/Avatar.tsx +1 -1
  259. package/src/ui/components/FollowButton.tsx +1 -1
  260. package/src/ui/components/FontLoader.tsx +34 -34
  261. package/src/ui/components/Header.tsx +4 -4
  262. package/src/ui/components/OxyPayButton.tsx +1 -1
  263. package/src/ui/components/OxySignInButton.tsx +2 -1
  264. package/src/ui/components/ProfileCard.tsx +1 -1
  265. package/src/ui/components/SectionTitle.tsx +1 -1
  266. package/src/ui/components/StepBasedScreen.tsx +2 -1
  267. package/src/ui/components/feedback/feedbackStyles.ts +2 -1
  268. package/src/ui/components/fileManagement/styles.ts +17 -17
  269. package/src/ui/components/payment/paymentStyles.ts +7 -7
  270. package/src/ui/navigation/routes.ts +3 -0
  271. package/src/ui/screens/AccountCenterScreen.tsx +4 -2
  272. package/src/ui/screens/AccountOverviewScreen.tsx +13 -5
  273. package/src/ui/screens/AccountSettingsScreen.tsx +35 -1511
  274. package/src/ui/screens/AccountSwitcherScreen.tsx +1 -1
  275. package/src/ui/screens/AccountVerificationScreen.tsx +3 -1
  276. package/src/ui/screens/AppInfoScreen.tsx +2 -2
  277. package/src/ui/screens/EditProfileFieldScreen.tsx +685 -0
  278. package/src/ui/screens/FileManagementScreen.tsx +33 -15
  279. package/src/ui/screens/HistoryViewScreen.tsx +9 -3
  280. package/src/ui/screens/LanguageSelectorScreen.tsx +4 -2
  281. package/src/ui/screens/LegalDocumentsScreen.tsx +3 -1
  282. package/src/ui/screens/PremiumSubscriptionScreen.tsx +11 -13
  283. package/src/ui/screens/PrivacySettingsScreen.tsx +12 -4
  284. package/src/ui/screens/SearchSettingsScreen.tsx +3 -1
  285. package/src/ui/screens/SessionManagementScreen.tsx +15 -5
  286. package/src/ui/screens/UserLinksScreen.tsx +3 -1
  287. package/src/ui/screens/WelcomeNewUserScreen.tsx +2 -1
  288. package/src/ui/screens/karma/KarmaAboutScreen.tsx +6 -8
  289. package/src/ui/screens/karma/KarmaCenterScreen.tsx +3 -3
  290. package/src/ui/screens/karma/KarmaRewardsScreen.tsx +3 -3
  291. package/src/ui/styles/authStyles.ts +4 -4
  292. package/src/ui/styles/fonts.ts +26 -26
  293. package/src/ui/styles/theme.ts +3 -5
  294. package/src/web.ts +230 -0
  295. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  296. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  297. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  298. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  299. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  300. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  301. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  302. package/lib/commonjs/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  303. package/lib/commonjs/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  304. package/lib/commonjs/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  305. package/lib/commonjs/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  306. package/lib/commonjs/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  307. package/lib/commonjs/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  308. package/lib/commonjs/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  309. package/lib/commonjs/ui/components/profile/EditBioModal.js +0 -49
  310. package/lib/commonjs/ui/components/profile/EditBioModal.js.map +0 -1
  311. package/lib/commonjs/ui/components/profile/EditDisplayNameModal.js +0 -54
  312. package/lib/commonjs/ui/components/profile/EditDisplayNameModal.js.map +0 -1
  313. package/lib/commonjs/ui/components/profile/EditEmailModal.js +0 -57
  314. package/lib/commonjs/ui/components/profile/EditEmailModal.js.map +0 -1
  315. package/lib/commonjs/ui/components/profile/EditFieldModal.js +0 -412
  316. package/lib/commonjs/ui/components/profile/EditFieldModal.js.map +0 -1
  317. package/lib/commonjs/ui/components/profile/EditLinksModal.js +0 -315
  318. package/lib/commonjs/ui/components/profile/EditLinksModal.js.map +0 -1
  319. package/lib/commonjs/ui/components/profile/EditLocationModal.js +0 -91
  320. package/lib/commonjs/ui/components/profile/EditLocationModal.js.map +0 -1
  321. package/lib/commonjs/ui/components/profile/EditUsernameModal.js +0 -55
  322. package/lib/commonjs/ui/components/profile/EditUsernameModal.js.map +0 -1
  323. package/lib/module/assets/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  324. package/lib/module/assets/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  325. package/lib/module/assets/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  326. package/lib/module/assets/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  327. package/lib/module/assets/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  328. package/lib/module/assets/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  329. package/lib/module/assets/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  330. package/lib/module/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  331. package/lib/module/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  332. package/lib/module/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  333. package/lib/module/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  334. package/lib/module/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  335. package/lib/module/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  336. package/lib/module/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  337. package/lib/module/ui/components/profile/EditBioModal.js +0 -43
  338. package/lib/module/ui/components/profile/EditBioModal.js.map +0 -1
  339. package/lib/module/ui/components/profile/EditDisplayNameModal.js +0 -48
  340. package/lib/module/ui/components/profile/EditDisplayNameModal.js.map +0 -1
  341. package/lib/module/ui/components/profile/EditEmailModal.js +0 -51
  342. package/lib/module/ui/components/profile/EditEmailModal.js.map +0 -1
  343. package/lib/module/ui/components/profile/EditFieldModal.js +0 -406
  344. package/lib/module/ui/components/profile/EditFieldModal.js.map +0 -1
  345. package/lib/module/ui/components/profile/EditLinksModal.js +0 -309
  346. package/lib/module/ui/components/profile/EditLinksModal.js.map +0 -1
  347. package/lib/module/ui/components/profile/EditLocationModal.js +0 -85
  348. package/lib/module/ui/components/profile/EditLocationModal.js.map +0 -1
  349. package/lib/module/ui/components/profile/EditUsernameModal.js +0 -49
  350. package/lib/module/ui/components/profile/EditUsernameModal.js.map +0 -1
  351. package/lib/typescript/commonjs/ui/components/profile/EditBioModal.d.ts +0 -11
  352. package/lib/typescript/commonjs/ui/components/profile/EditBioModal.d.ts.map +0 -1
  353. package/lib/typescript/commonjs/ui/components/profile/EditDisplayNameModal.d.ts +0 -12
  354. package/lib/typescript/commonjs/ui/components/profile/EditDisplayNameModal.d.ts.map +0 -1
  355. package/lib/typescript/commonjs/ui/components/profile/EditEmailModal.d.ts +0 -11
  356. package/lib/typescript/commonjs/ui/components/profile/EditEmailModal.d.ts.map +0 -1
  357. package/lib/typescript/commonjs/ui/components/profile/EditFieldModal.d.ts +0 -110
  358. package/lib/typescript/commonjs/ui/components/profile/EditFieldModal.d.ts.map +0 -1
  359. package/lib/typescript/commonjs/ui/components/profile/EditLinksModal.d.ts +0 -18
  360. package/lib/typescript/commonjs/ui/components/profile/EditLinksModal.d.ts.map +0 -1
  361. package/lib/typescript/commonjs/ui/components/profile/EditLocationModal.d.ts +0 -21
  362. package/lib/typescript/commonjs/ui/components/profile/EditLocationModal.d.ts.map +0 -1
  363. package/lib/typescript/commonjs/ui/components/profile/EditUsernameModal.d.ts +0 -11
  364. package/lib/typescript/commonjs/ui/components/profile/EditUsernameModal.d.ts.map +0 -1
  365. package/lib/typescript/module/ui/components/profile/EditBioModal.d.ts +0 -11
  366. package/lib/typescript/module/ui/components/profile/EditBioModal.d.ts.map +0 -1
  367. package/lib/typescript/module/ui/components/profile/EditDisplayNameModal.d.ts +0 -12
  368. package/lib/typescript/module/ui/components/profile/EditDisplayNameModal.d.ts.map +0 -1
  369. package/lib/typescript/module/ui/components/profile/EditEmailModal.d.ts +0 -11
  370. package/lib/typescript/module/ui/components/profile/EditEmailModal.d.ts.map +0 -1
  371. package/lib/typescript/module/ui/components/profile/EditFieldModal.d.ts +0 -110
  372. package/lib/typescript/module/ui/components/profile/EditFieldModal.d.ts.map +0 -1
  373. package/lib/typescript/module/ui/components/profile/EditLinksModal.d.ts +0 -18
  374. package/lib/typescript/module/ui/components/profile/EditLinksModal.d.ts.map +0 -1
  375. package/lib/typescript/module/ui/components/profile/EditLocationModal.d.ts +0 -21
  376. package/lib/typescript/module/ui/components/profile/EditLocationModal.d.ts.map +0 -1
  377. package/lib/typescript/module/ui/components/profile/EditUsernameModal.d.ts +0 -11
  378. package/lib/typescript/module/ui/components/profile/EditUsernameModal.d.ts.map +0 -1
  379. package/src/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  380. package/src/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  381. package/src/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  382. package/src/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  383. package/src/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  384. package/src/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  385. package/src/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  386. package/src/ui/components/profile/EditBioModal.tsx +0 -46
  387. package/src/ui/components/profile/EditDisplayNameModal.tsx +0 -56
  388. package/src/ui/components/profile/EditEmailModal.tsx +0 -57
  389. package/src/ui/components/profile/EditFieldModal.tsx +0 -465
  390. package/src/ui/components/profile/EditLinksModal.tsx +0 -316
  391. package/src/ui/components/profile/EditLocationModal.tsx +0 -91
  392. package/src/ui/components/profile/EditUsernameModal.tsx +0 -55
@@ -524,7 +524,9 @@ const FileManagementScreen: React.FC<FileManagementScreenProps> = ({
524
524
  // Validate file before upload
525
525
  if (!raw || !raw.name || raw.size === undefined || raw.size <= 0) {
526
526
  const errorMsg = `Invalid file: ${fileName}`;
527
- console.error('Upload validation failed:', { file: raw, error: errorMsg });
527
+ if (__DEV__) {
528
+ console.error('Upload validation failed:', { file: raw, error: errorMsg });
529
+ }
528
530
  failureCount++;
529
531
  errors.push(`${fileName}: Invalid file (missing name or size)`);
530
532
  continue;
@@ -569,7 +571,9 @@ const FileManagementScreen: React.FC<FileManagementScreenProps> = ({
569
571
  } else {
570
572
  // Fallback: will reconcile on later list refresh
571
573
  useFileStore.getState().updateFile(optimisticId, { metadata: { uploading: false } as any });
572
- console.warn('Upload completed but no file data returned:', { fileName, result });
574
+ if (__DEV__) {
575
+ console.warn('Upload completed but no file data returned:', { fileName, result });
576
+ }
573
577
  // Still count as success if upload didn't throw
574
578
  successCount++;
575
579
  }
@@ -578,13 +582,15 @@ const FileManagementScreen: React.FC<FileManagementScreenProps> = ({
578
582
  const errorMessage = error.message || error.toString() || 'Upload failed';
579
583
  const fullError = `${fileName}: ${errorMessage}`;
580
584
  errors.push(fullError);
581
- console.error('File upload failed:', {
582
- fileName,
583
- fileSize: raw.size,
584
- fileType: raw.type,
585
- error: errorMessage,
586
- stack: error.stack
587
- });
585
+ if (__DEV__) {
586
+ console.error('File upload failed:', {
587
+ fileName,
588
+ fileSize: raw.size,
589
+ fileType: raw.type,
590
+ error: errorMessage,
591
+ stack: error.stack
592
+ });
593
+ }
588
594
 
589
595
  // Remove optimistic file on error (use the same optimisticId from above)
590
596
  useFileStore.getState().removeFile(optimisticId);
@@ -619,25 +625,33 @@ const FileManagementScreen: React.FC<FileManagementScreenProps> = ({
619
625
  for (const file of selectedFiles) {
620
626
  // Validate file has required properties
621
627
  if (!file) {
622
- console.error('Invalid file: file is null or undefined');
628
+ if (__DEV__) {
629
+ console.error('Invalid file: file is null or undefined');
630
+ }
623
631
  toast.error('Invalid file: file is missing');
624
632
  continue;
625
633
  }
626
634
 
627
635
  if (!file.name || typeof file.name !== 'string') {
628
- console.error('Invalid file: missing or invalid name property', file);
636
+ if (__DEV__) {
637
+ console.error('Invalid file: missing or invalid name property', file);
638
+ }
629
639
  toast.error('Invalid file: missing file name');
630
640
  continue;
631
641
  }
632
642
 
633
643
  if (file.size === undefined || file.size === null || isNaN(file.size)) {
634
- console.error('Invalid file: missing or invalid size property', file);
644
+ if (__DEV__) {
645
+ console.error('Invalid file: missing or invalid size property', file);
646
+ }
635
647
  toast.error(`Invalid file "${file.name || 'unknown'}": missing file size`);
636
648
  continue;
637
649
  }
638
650
 
639
651
  if (file.size <= 0) {
640
- console.error('Invalid file: file size is zero or negative', file);
652
+ if (__DEV__) {
653
+ console.error('Invalid file: file size is zero or negative', file);
654
+ }
641
655
  toast.error(`File "${file.name}" is empty`);
642
656
  continue;
643
657
  }
@@ -668,7 +682,9 @@ const FileManagementScreen: React.FC<FileManagementScreenProps> = ({
668
682
  preview = URL.createObjectURL(file);
669
683
  }
670
684
  } catch (error: any) {
671
- console.warn('Failed to create preview URL:', error);
685
+ if (__DEV__) {
686
+ console.warn('Failed to create preview URL:', error);
687
+ }
672
688
  // Preview is optional, continue without it
673
689
  }
674
690
  }
@@ -858,7 +874,9 @@ const FileManagementScreen: React.FC<FileManagementScreenProps> = ({
858
874
  toast.error('No files could be processed. Please try selecting files again.');
859
875
  }
860
876
  } catch (error: any) {
861
- console.error('File upload error:', error);
877
+ if (__DEV__) {
878
+ console.error('File upload error:', error);
879
+ }
862
880
  if (error.message?.includes('expo-document-picker') || error.message?.includes('Different document picking in progress')) {
863
881
  if (error.message?.includes('Different document picking in progress')) {
864
882
  toast.error('Please wait for the current file selection to complete');
@@ -48,7 +48,9 @@ const HistoryViewScreen: React.FC<BaseScreenProps> = ({
48
48
  removeItem: storage.removeItem.bind(storage),
49
49
  };
50
50
  } catch (error) {
51
- console.error('AsyncStorage not available:', error);
51
+ if (__DEV__) {
52
+ console.error('AsyncStorage not available:', error);
53
+ }
52
54
  throw new Error('AsyncStorage is required in React Native environment');
53
55
  }
54
56
  } else {
@@ -122,7 +124,9 @@ const HistoryViewScreen: React.FC<BaseScreenProps> = ({
122
124
 
123
125
  toast.success(t('history.deleteLast15Minutes.success') || 'Last 15 minutes deleted');
124
126
  } catch (error) {
125
- console.error('Failed to delete history:', error);
127
+ if (__DEV__) {
128
+ console.error('Failed to delete history:', error);
129
+ }
126
130
  toast.error(t('history.deleteLast15Minutes.error') || 'Failed to delete history');
127
131
  } finally {
128
132
  setIsDeleting(false);
@@ -146,7 +150,9 @@ const HistoryViewScreen: React.FC<BaseScreenProps> = ({
146
150
 
147
151
  toast.success(t('history.clearAll.success') || 'History cleared');
148
152
  } catch (error) {
149
- console.error('Failed to clear history:', error);
153
+ if (__DEV__) {
154
+ console.error('Failed to clear history:', error);
155
+ }
150
156
  toast.error(t('history.clearAll.error') || 'Failed to clear history');
151
157
  } finally {
152
158
  setIsDeleting(false);
@@ -86,7 +86,9 @@ const LanguageSelectorScreen: React.FC<LanguageSelectorScreenProps> = ({
86
86
 
87
87
  } catch (error) {
88
88
  // Only show error if local storage also failed
89
- console.error('Error saving language preference:', error);
89
+ if (__DEV__) {
90
+ console.error('Error saving language preference:', error);
91
+ }
90
92
  toast.error('Failed to save language preference');
91
93
  setIsLoading(false);
92
94
  }
@@ -177,7 +179,7 @@ const styles = StyleSheet.create({
177
179
  bigTitle: {
178
180
  fontSize: 34,
179
181
  fontWeight: Platform.OS === 'web' ? 'bold' : undefined,
180
- fontFamily: fontFamilies.phuduBold,
182
+ fontFamily: fontFamilies.interBold,
181
183
  lineHeight: 40,
182
184
  marginBottom: 8,
183
185
  letterSpacing: -0.5,
@@ -57,7 +57,9 @@ const LegalDocumentsScreen: React.FC<BaseScreenProps> = ({
57
57
  toast.error(t('legal.openError') || 'Failed to open document');
58
58
  }
59
59
  } catch (error) {
60
- console.error(`Failed to open ${policyKey} policy:`, error);
60
+ if (__DEV__) {
61
+ console.error(`Failed to open ${policyKey} policy:`, error);
62
+ }
61
63
  toast.error(t('legal.openError') || 'Failed to open document');
62
64
  } finally {
63
65
  setLoading(false);
@@ -342,10 +342,6 @@ const PremiumSubscriptionScreen: React.FC<BaseScreenProps> = ({
342
342
  const detectedApp = 'mention'; // This would be dynamic in real implementation
343
343
 
344
344
  setCurrentAppPackage(detectedApp);
345
-
346
- // Log for debugging
347
- console.log('Detected app package:', detectedApp);
348
- console.log('Available plans for this app will be filtered accordingly');
349
345
  };
350
346
 
351
347
  const loadSubscriptionData = async () => {
@@ -391,7 +387,9 @@ const PremiumSubscriptionScreen: React.FC<BaseScreenProps> = ({
391
387
  setIndividualFeatures(updatedFeatures);
392
388
 
393
389
  } catch (error) {
394
- console.error('Failed to load subscription data:', error);
390
+ if (__DEV__) {
391
+ console.error('Failed to load subscription data:', error);
392
+ }
395
393
  toast.error('Failed to load subscription information');
396
394
  } finally {
397
395
  setLoading(false);
@@ -407,20 +405,16 @@ const PremiumSubscriptionScreen: React.FC<BaseScreenProps> = ({
407
405
  // Check if plan is available for current app
408
406
  const selectedPlan = mockPlans.find(plan => plan.id === planId);
409
407
  if (!selectedPlan?.applicableApps.includes(currentAppPackage)) {
410
- console.log(`❌ Subscription blocked: Plan "${selectedPlan?.name}" not available for app "${currentAppPackage}"`);
411
408
  toast.error(t('premium.toasts.planUnavailable', { app: currentAppPackage }) || `This plan is not available for the current app (${currentAppPackage})`);
412
409
  return;
413
410
  }
414
411
 
415
412
  // Special restriction for Mention+ plan - only available in mention app
416
413
  if (planId === 'mention-plus' && currentAppPackage !== 'mention') {
417
- console.log(`❌ Subscription blocked: Mention+ plan requires app to be "mention", current app is "${currentAppPackage}"`);
418
414
  toast.error(t('premium.toasts.mentionOnly') || 'Mention+ is only available in the Mention app');
419
415
  return;
420
416
  }
421
417
 
422
- console.log(`✅ Subscription allowed: Plan "${selectedPlan.name}" is available for app "${currentAppPackage}"`);
423
-
424
418
  setProcessingPayment(true);
425
419
 
426
420
  // Mock payment processing
@@ -442,7 +436,9 @@ const PremiumSubscriptionScreen: React.FC<BaseScreenProps> = ({
442
436
  loadSubscriptionData();
443
437
 
444
438
  } catch (error) {
445
- console.error('Payment failed:', error);
439
+ if (__DEV__) {
440
+ console.error('Payment failed:', error);
441
+ }
446
442
  toast.error(t('premium.toasts.paymentFailed') || 'Payment failed. Please try again.');
447
443
  } finally {
448
444
  setProcessingPayment(false);
@@ -533,7 +529,9 @@ const PremiumSubscriptionScreen: React.FC<BaseScreenProps> = ({
533
529
  toast.success((t('premium.toasts.featureSubscribed', { name: feature?.name ?? '' }) ?? `Subscribed to ${feature?.name} successfully!`));
534
530
 
535
531
  } catch (error) {
536
- console.error('Feature subscription failed:', error);
532
+ if (__DEV__) {
533
+ console.error('Feature subscription failed:', error);
534
+ }
537
535
  toast.error(t('premium.toasts.featureSubscribeFailed') || 'Feature subscription failed. Please try again.');
538
536
  } finally {
539
537
  setProcessingPayment(false);
@@ -1168,7 +1166,7 @@ const styles = StyleSheet.create({
1168
1166
  headerTitle: {
1169
1167
  fontSize: 20,
1170
1168
  fontWeight: '600',
1171
- fontFamily: fontFamilies.phuduSemiBold,
1169
+ fontFamily: fontFamilies.interSemiBold,
1172
1170
  },
1173
1171
  headerTitleContainer: {
1174
1172
  flex: 1,
@@ -1191,7 +1189,7 @@ const styles = StyleSheet.create({
1191
1189
  sectionTitle: {
1192
1190
  fontSize: 24,
1193
1191
  fontWeight: 'bold',
1194
- fontFamily: fontFamilies.phuduBold,
1192
+ fontFamily: fontFamilies.interBold,
1195
1193
  marginBottom: 8,
1196
1194
  },
1197
1195
  sectionSubtitle: {
@@ -96,7 +96,9 @@ const PrivacySettingsScreen: React.FC<BaseScreenProps> = ({
96
96
  }
97
97
  }
98
98
  } catch (error) {
99
- console.error('Failed to load privacy settings:', error);
99
+ if (__DEV__) {
100
+ console.error('Failed to load privacy settings:', error);
101
+ }
100
102
  toast.error(t('privacySettings.loadError') || 'Failed to load privacy settings');
101
103
  } finally {
102
104
  setIsLoading(false);
@@ -119,7 +121,9 @@ const PrivacySettingsScreen: React.FC<BaseScreenProps> = ({
119
121
  setBlockedUsers(blocked);
120
122
  setRestrictedUsers(restricted);
121
123
  } catch (error) {
122
- console.error('Failed to load blocked/restricted users:', error);
124
+ if (__DEV__) {
125
+ console.error('Failed to load blocked/restricted users:', error);
126
+ }
123
127
  } finally {
124
128
  setIsLoadingUsers(false);
125
129
  }
@@ -138,7 +142,9 @@ const PrivacySettingsScreen: React.FC<BaseScreenProps> = ({
138
142
  }));
139
143
  toast.success(t('privacySettings.userUnblocked') || 'User unblocked');
140
144
  } catch (error) {
141
- console.error('Failed to unblock user:', error);
145
+ if (__DEV__) {
146
+ console.error('Failed to unblock user:', error);
147
+ }
142
148
  toast.error(t('privacySettings.unblockError') || 'Failed to unblock user');
143
149
  }
144
150
  }, [oxyServices, t]);
@@ -153,7 +159,9 @@ const PrivacySettingsScreen: React.FC<BaseScreenProps> = ({
153
159
  }));
154
160
  toast.success(t('privacySettings.userUnrestricted') || 'User unrestricted');
155
161
  } catch (error) {
156
- console.error('Failed to unrestrict user:', error);
162
+ if (__DEV__) {
163
+ console.error('Failed to unrestrict user:', error);
164
+ }
157
165
  toast.error(t('privacySettings.unrestrictError') || 'Failed to unrestrict user');
158
166
  }
159
167
  }, [oxyServices, t]);
@@ -64,7 +64,9 @@ const SearchSettingsScreen: React.FC<BaseScreenProps> = ({
64
64
  });
65
65
  }
66
66
  } catch (error) {
67
- console.error('Failed to load search settings:', error);
67
+ if (__DEV__) {
68
+ console.error('Failed to load search settings:', error);
69
+ }
68
70
  } finally {
69
71
  setIsLoading(false);
70
72
  }
@@ -70,7 +70,9 @@ const SessionManagementScreen: React.FC<BaseScreenProps> = ({
70
70
  await refreshSessions();
71
71
  setLastRefreshed(new Date());
72
72
  } catch (error) {
73
- console.error('Failed to load sessions:', error);
73
+ if (__DEV__) {
74
+ console.error('Failed to load sessions:', error);
75
+ }
74
76
  if (Platform.OS === 'web') {
75
77
  toast.error('Failed to load sessions. Please try again.');
76
78
  } else {
@@ -95,7 +97,9 @@ const SessionManagementScreen: React.FC<BaseScreenProps> = ({
95
97
  await refreshSessions();
96
98
  toast.success('Session logged out successfully');
97
99
  } catch (error) {
98
- console.error('Logout session failed:', error);
100
+ if (__DEV__) {
101
+ console.error('Logout session failed:', error);
102
+ }
99
103
  toast.error('Failed to logout session. Please try again.');
100
104
  } finally {
101
105
  setActionLoading(null);
@@ -128,7 +132,9 @@ const SessionManagementScreen: React.FC<BaseScreenProps> = ({
128
132
  await refreshSessions();
129
133
  toast.success('Other sessions logged out successfully');
130
134
  } catch (error) {
131
- console.error('Logout other sessions failed:', error);
135
+ if (__DEV__) {
136
+ console.error('Logout other sessions failed:', error);
137
+ }
132
138
  toast.error('Failed to logout other sessions. Please try again.');
133
139
  } finally {
134
140
  setActionLoading(null);
@@ -146,7 +152,9 @@ const SessionManagementScreen: React.FC<BaseScreenProps> = ({
146
152
  setActionLoading('all');
147
153
  await logoutAll();
148
154
  } catch (error) {
149
- console.error('Logout all sessions failed:', error);
155
+ if (__DEV__) {
156
+ console.error('Logout all sessions failed:', error);
157
+ }
150
158
  toast.error('Failed to logout all sessions. Please try again.');
151
159
  } finally {
152
160
  setActionLoading(null);
@@ -181,7 +189,9 @@ const SessionManagementScreen: React.FC<BaseScreenProps> = ({
181
189
  await switchSession(sessionId);
182
190
  toast.success('Switched session');
183
191
  } catch (e) {
184
- console.error('Switch session failed', e);
192
+ if (__DEV__) {
193
+ console.error('Switch session failed', e);
194
+ }
185
195
  toast.error('Failed to switch session');
186
196
  } finally {
187
197
  setSwitchLoading(null);
@@ -33,7 +33,9 @@ const UserLinksScreen: React.FC<UserLinksScreenProps> = ({
33
33
  try {
34
34
  await Linking.openURL(url);
35
35
  } catch (error) {
36
- console.error('Error opening link:', error);
36
+ if (__DEV__) {
37
+ console.error('Error opening link:', error);
38
+ }
37
39
  }
38
40
  };
39
41
 
@@ -7,6 +7,7 @@ import { Ionicons } from '@expo/vector-icons';
7
7
  import { toast } from '../../lib/sonner';
8
8
  import { useAuthStore } from '../stores/authStore';
9
9
  import { useThemeColors } from '../styles';
10
+ import { fontFamilies } from '../styles/fonts';
10
11
  import { normalizeTheme } from '../utils/themeUtils';
11
12
  import GroupedPillButtons from '../components/internal/GroupedPillButtons';
12
13
  import { useI18n } from '../hooks/useI18n';
@@ -275,7 +276,7 @@ const createStyles = (theme: string) => {
275
276
  },
276
277
  title: {
277
278
  fontSize: 42,
278
- fontFamily: Platform.OS === 'web' ? 'Phudu' : 'Phudu-Bold',
279
+ fontFamily: fontFamilies.interBold,
279
280
  fontWeight: Platform.OS === 'web' ? 'bold' : undefined,
280
281
  letterSpacing: -1,
281
282
  textAlign: 'left',
@@ -53,21 +53,19 @@ const KarmaAboutScreen: React.FC<BaseScreenProps> = ({ goBack, theme }) => {
53
53
  const styles = StyleSheet.create({
54
54
  container: { flex: 1 },
55
55
  title: {
56
- fontFamily: Platform.OS === 'web'
57
- ? 'Phudu' // Use CSS font name directly for web
58
- : 'Phudu-Bold', // Use exact font name as registered with Font.loadAsync
56
+ fontFamily: fontFamilies.interBold,
59
57
  fontWeight: Platform.OS === 'web' ? 'bold' : undefined, // Only apply fontWeight on web
60
58
  fontSize: 54,
61
59
  margin: 24,
62
60
  marginBottom: 24,
63
61
  },
64
62
  contentContainer: { padding: 24, paddingTop: 20 },
65
- section: {
66
- fontSize: 18,
63
+ section: {
64
+ fontSize: 18,
67
65
  fontWeight: Platform.OS === 'web' ? 'bold' : undefined,
68
- fontFamily: fontFamilies.phuduBold,
69
- marginTop: 24,
70
- marginBottom: 8
66
+ fontFamily: fontFamilies.interBold,
67
+ marginTop: 24,
68
+ marginBottom: 8
71
69
  },
72
70
  paragraph: { fontSize: 16, marginBottom: 12 },
73
71
  });
@@ -179,13 +179,13 @@ const styles = StyleSheet.create({
179
179
  karmaLabel: {
180
180
  fontSize: 16,
181
181
  marginBottom: 18,
182
- fontFamily: fontFamilies.phudu,
182
+ fontFamily: fontFamilies.inter,
183
183
  },
184
184
  karmaAmount: {
185
185
  fontSize: 48,
186
186
  fontWeight: 'bold',
187
187
  marginBottom: 4,
188
- fontFamily: fontFamilies.phudu,
188
+ fontFamily: fontFamilies.inter,
189
189
  },
190
190
  actionContainer: {
191
191
  marginBottom: 18,
@@ -224,7 +224,7 @@ const styles = StyleSheet.create({
224
224
  sectionTitle: {
225
225
  fontSize: 18,
226
226
  fontWeight: Platform.OS === 'web' ? '600' : undefined,
227
- fontFamily: fontFamilies.phuduSemiBold,
227
+ fontFamily: fontFamilies.interSemiBold,
228
228
  marginTop: 8,
229
229
  alignSelf: 'flex-start',
230
230
  marginLeft: 24,
@@ -458,7 +458,7 @@ const styles = StyleSheet.create({
458
458
  currentKarma: {
459
459
  fontSize: 36,
460
460
  fontWeight: Platform.OS === 'web' ? 'bold' : undefined,
461
- fontFamily: fontFamilies.phuduBold,
461
+ fontFamily: fontFamilies.interBold,
462
462
  marginBottom: 4,
463
463
  },
464
464
  achievementStats: {
@@ -467,7 +467,7 @@ const styles = StyleSheet.create({
467
467
  achievementCount: {
468
468
  fontSize: 36,
469
469
  fontWeight: Platform.OS === 'web' ? 'bold' : undefined,
470
- fontFamily: fontFamilies.phuduBold,
470
+ fontFamily: fontFamilies.interBold,
471
471
  marginBottom: 4,
472
472
  },
473
473
  achievementCountLabel: {
@@ -496,7 +496,7 @@ const styles = StyleSheet.create({
496
496
  sectionTitle: {
497
497
  fontSize: 20,
498
498
  fontWeight: Platform.OS === 'web' ? '600' : undefined,
499
- fontFamily: fontFamilies.phuduSemiBold,
499
+ fontFamily: fontFamilies.interSemiBold,
500
500
  marginTop: 8,
501
501
  },
502
502
  achievementsGrid: {
@@ -32,7 +32,7 @@ export const createAuthStyles = (colors: AuthThemeColors, theme: string) => Styl
32
32
  marginBottom: 24,
33
33
  },
34
34
  modernTitle: {
35
- fontFamily: Platform.OS === 'web' ? 'Phudu' : 'Phudu-Bold',
35
+ fontFamily: fontFamilies.interBold,
36
36
  fontWeight: Platform.OS === 'web' ? 'bold' : undefined,
37
37
  fontSize: 62,
38
38
  lineHeight: 74.4, // 62 * 1.2
@@ -47,7 +47,7 @@ export const createAuthStyles = (colors: AuthThemeColors, theme: string) => Styl
47
47
  opacity: 0.8,
48
48
  },
49
49
  welcomeTitle: {
50
- fontFamily: Platform.OS === 'web' ? 'Phudu' : 'Phudu-Bold',
50
+ fontFamily: fontFamilies.interBold,
51
51
  fontWeight: Platform.OS === 'web' ? 'bold' : undefined,
52
52
  fontSize: 42,
53
53
  lineHeight: 50.4, // 42 * 1.2
@@ -56,7 +56,7 @@ export const createAuthStyles = (colors: AuthThemeColors, theme: string) => Styl
56
56
  letterSpacing: -1,
57
57
  },
58
58
  stepTitle: {
59
- fontFamily: Platform.OS === 'web' ? 'Phudu' : 'Phudu-Bold',
59
+ fontFamily: fontFamilies.interBold,
60
60
  fontWeight: Platform.OS === 'web' ? 'bold' : undefined,
61
61
  fontSize: 42,
62
62
  lineHeight: 50.4, // 42 * 1.2
@@ -257,7 +257,7 @@ export const createAuthStyles = (colors: AuthThemeColors, theme: string) => Styl
257
257
  borderColor: '#FFFFFF',
258
258
  },
259
259
  modernUserDisplayName: {
260
- fontFamily: Platform.OS === 'web' ? 'Phudu' : 'Phudu-Bold',
260
+ fontFamily: fontFamilies.interBold,
261
261
  fontWeight: Platform.OS === 'web' ? 'bold' : undefined,
262
262
  fontSize: 42,
263
263
  marginBottom: 4,
@@ -2,51 +2,51 @@ import { Platform, type TextStyle } from 'react-native';
2
2
 
3
3
  /**
4
4
  * Font family names for use across the app
5
- *
5
+ *
6
6
  * For web platforms, we use the CSS font name with weights
7
7
  * For native platforms, we use the specific static font file names
8
8
  */
9
9
  export const fontFamilies = {
10
10
  // Regular weight (400)
11
- phudu: Platform.select({
12
- web: 'Phudu', // Web projects will use standard CSS font name
13
- default: 'Phudu-Regular' // Native projects use the specific weight font
11
+ inter: Platform.select({
12
+ web: 'Inter', // Web projects will use standard CSS font name
13
+ default: 'Inter-Regular' // Native projects use the specific weight font
14
14
  }),
15
15
 
16
16
  // Light weight (300)
17
- phuduLight: Platform.select({
18
- web: 'Phudu', // Web uses CSS weight
19
- default: 'Phudu-Light' // Native uses specific font
17
+ interLight: Platform.select({
18
+ web: 'Inter', // Web uses CSS weight
19
+ default: 'Inter-Light' // Native uses specific font
20
20
  }),
21
21
 
22
22
  // Medium weight (500)
23
- phuduMedium: Platform.select({
24
- web: 'Phudu', // Web uses CSS weight
25
- default: 'Phudu-Medium' // Native uses specific font
23
+ interMedium: Platform.select({
24
+ web: 'Inter', // Web uses CSS weight
25
+ default: 'Inter-Medium' // Native uses specific font
26
26
  }),
27
27
 
28
28
  // SemiBold weight (600)
29
- phuduSemiBold: Platform.select({
30
- web: 'Phudu', // Web uses CSS weight
31
- default: 'Phudu-SemiBold' // Native uses specific font
29
+ interSemiBold: Platform.select({
30
+ web: 'Inter', // Web uses CSS weight
31
+ default: 'Inter-SemiBold' // Native uses specific font
32
32
  }),
33
33
 
34
34
  // Bold weight (700)
35
- phuduBold: Platform.select({
36
- web: 'Phudu', // Web uses CSS weight
37
- default: 'Phudu-Bold' // Native uses specific font
35
+ interBold: Platform.select({
36
+ web: 'Inter', // Web uses CSS weight
37
+ default: 'Inter-Bold' // Native uses specific font
38
38
  }),
39
39
 
40
40
  // ExtraBold weight (800)
41
- phuduExtraBold: Platform.select({
42
- web: 'Phudu', // Web uses CSS weight
43
- default: 'Phudu-ExtraBold' // Native uses specific font
41
+ interExtraBold: Platform.select({
42
+ web: 'Inter', // Web uses CSS weight
43
+ default: 'Inter-ExtraBold' // Native uses specific font
44
44
  }),
45
45
 
46
46
  // Black weight (900)
47
- phuduBlack: Platform.select({
48
- web: 'Phudu', // Web uses CSS weight
49
- default: 'Phudu-Black' // Native uses specific font
47
+ interBlack: Platform.select({
48
+ web: 'Inter', // Web uses CSS weight
49
+ default: 'Inter-Black' // Native uses specific font
50
50
  }),
51
51
  };
52
52
 
@@ -55,22 +55,22 @@ export const fontFamilies = {
55
55
  */
56
56
  export const fontStyles: Record<string, TextStyle> = {
57
57
  titleLarge: {
58
- fontFamily: Platform.OS === 'web' ? 'Phudu' : 'Phudu-Bold',
58
+ fontFamily: fontFamilies.interBold,
59
59
  fontSize: 54,
60
60
  fontWeight: Platform.OS === 'web' ? 'bold' : undefined, // Only apply fontWeight on web
61
61
  },
62
62
  titleMedium: {
63
- fontFamily: Platform.OS === 'web' ? 'Phudu' : 'Phudu-Bold',
63
+ fontFamily: fontFamilies.interBold,
64
64
  fontSize: 24,
65
65
  fontWeight: Platform.OS === 'web' ? 'bold' : undefined, // Only apply fontWeight on web
66
66
  },
67
67
  titleSmall: {
68
- fontFamily: Platform.OS === 'web' ? 'Phudu' : 'Phudu-Bold',
68
+ fontFamily: fontFamilies.interBold,
69
69
  fontSize: 20,
70
70
  fontWeight: Platform.OS === 'web' ? 'bold' : undefined, // Only apply fontWeight on web
71
71
  },
72
72
  buttonText: {
73
- fontFamily: Platform.OS === 'web' ? 'Phudu' : 'Phudu-SemiBold',
73
+ fontFamily: fontFamilies.interSemiBold,
74
74
  fontSize: 16,
75
75
  fontWeight: Platform.OS === 'web' ? '600' : undefined, // Only apply fontWeight on web
76
76
  },
@@ -57,9 +57,7 @@ const createTheme = (isDark: boolean): Theme => {
57
57
  colors,
58
58
  fonts: {
59
59
  title: {
60
- fontFamily: Platform.OS === 'web'
61
- ? 'Phudu'
62
- : 'Phudu-Bold',
60
+ fontFamily: fontFamilies.interBold,
63
61
  fontWeight: Platform.OS === 'web' ? 'bold' : undefined,
64
62
  fontSize: 34,
65
63
  },
@@ -68,7 +66,7 @@ const createTheme = (isDark: boolean): Theme => {
68
66
  lineHeight: 24,
69
67
  },
70
68
  button: {
71
- fontFamily: fontFamilies.phuduSemiBold,
69
+ fontFamily: fontFamilies.interSemiBold,
72
70
  fontSize: 16,
73
71
  fontWeight: '600',
74
72
  color: '#FFFFFF',
@@ -121,7 +119,7 @@ export const createCommonStyles = (theme: 'light' | 'dark') => {
121
119
  marginTop: 24,
122
120
  },
123
121
  buttonText: {
124
- fontFamily: fontFamilies.phuduSemiBold,
122
+ fontFamily: fontFamilies.interSemiBold,
125
123
  fontSize: 16,
126
124
  fontWeight: '600',
127
125
  color: '#FFFFFF',