configs.js 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. export const settingsConfigs = {
  2. native: {
  3. enable_screens: true, //OLD appSetting('layout', 'native_enable_screens')
  4. lazy_tabs_preload_delay: 10000,
  5. disable_screenshots: false, // OLD appSetting('layout', 'disable_screenshots')
  6. show_tabs_non_logged: true, // OLD appSetting('layout', 'show_nav_non_logged_native')
  7. bluetooth: false, //OLD appSetting('layout', 'bluetooth')
  8. bluetooth_device_name_prefix: 'NEO', //OLD appSetting('layout', 'bluetooth_device_name_prefix')
  9. onesignal_request_on_load: true,
  10. check_version: 'optional', // variants: [no, required, optional]
  11. collapsible_header: true,
  12. backbutton_in_header: false,
  13. scroll_to_top_button: true,
  14. // Paths not stored in tab back-stack (repeat tab tap / header back). String prefix or { prefix }, { regex } on path without query.
  15. tab_history_exclude: [],
  16. allow_font_scaling: true,
  17. },
  18. urls: {
  19. embeds: '/oembed.php?html=1&a=get_link&l=',
  20. embeds_new: 'system/get_url_info/TemplServicePages&params[]=',
  21. cmts: 'system/get_data_api/TemplCmtsServices',
  22. feed_item: 'bx_timeline/get/&params[]=',
  23. },
  24. cache: {
  25. list: true,
  26. compress: true,
  27. items_lifetime: 30,
  28. },
  29. dashboard: {
  30. url: '/dashboard',
  31. switch_theme: true,
  32. modules_list: [
  33. 'friends',
  34. 'followers',
  35. 'bx_ads',
  36. 'bx_forum',
  37. 'bx_posts',
  38. 'bx_events',
  39. 'bx_groups',
  40. 'bx_organizations',
  41. 'bx_spaces',
  42. ],
  43. },
  44. notifications: {
  45. url: '/notifications-view',
  46. count_in_title: true,
  47. show_plain_text: true,
  48. onesignal_prompt_delay_ms: 2 * 60 * 1000,
  49. onesignal_request_on_load: true,
  50. },
  51. messenger: {
  52. url: '/messenger',
  53. back_button: false,
  54. },
  55. // Web smart app banner (iOS Safari meta + Android custom bar). Empty apple_app_id = no iOS meta.
  56. smart_app_banner: {
  57. apple_app_id: '',
  58. apple_app_argument: '',
  59. play_store_url: '',
  60. app_icon_url: '',
  61. },
  62. }