2018-05-10 23:10:12 +02:00
|
|
|
const Constants = {
|
2019-04-22 14:42:47 +02:00
|
|
|
FIRST_RUN_PAGE_WELCOME: "welcome",
|
|
|
|
FIRST_RUN_PAGE_EMAIL_COLLECT: "email-collect",
|
|
|
|
FIRST_RUN_PAGE_WALLET: "wallet",
|
|
|
|
FIRST_RUN_PAGE_SKIP_ACCOUNT: "skip-account",
|
|
|
|
|
2019-05-15 12:00:15 +02:00
|
|
|
VERIFY_PAGE_EMAIL: "email-verify",
|
|
|
|
VERIFY_PAGE_PHONE_NUMBER: "phone-number-verify",
|
|
|
|
|
|
|
|
PHASE_COLLECTION: "collection",
|
|
|
|
PHASE_VERIFICATION: "verification",
|
|
|
|
|
2019-05-02 08:07:26 +02:00
|
|
|
CONTENT_TAB: "content",
|
|
|
|
ABOUT_TAB: "about",
|
|
|
|
|
2018-08-17 20:11:15 +02:00
|
|
|
KEY_FIRST_RUN_EMAIL: "firstRunEmail",
|
2019-04-22 14:42:47 +02:00
|
|
|
KEY_FIRST_RUN_PASSWORD: "firstRunPassword",
|
2018-08-17 20:11:15 +02:00
|
|
|
KEY_SHOULD_VERIFY_EMAIL: "shouldVerifyEmail",
|
2019-02-18 07:50:32 +01:00
|
|
|
KEY_EMAIL_VERIFY_PENDING: "emailVerifyPending",
|
2018-08-16 11:48:34 +02:00
|
|
|
|
2018-08-17 20:11:15 +02:00
|
|
|
SETTING_ALPHA_UNDERSTANDS_RISKS: "alphaUnderstandRisks",
|
2019-02-18 09:30:06 +01:00
|
|
|
SETTING_SUBSCRIPTIONS_VIEW_MODE: "subscriptionsViewMode",
|
2019-02-18 19:19:18 +01:00
|
|
|
SETTING_RATING_REMINDER_LAST_SHOWN: "ratingReminderLastShown",
|
|
|
|
SETTING_RATING_REMINDER_DISABLED: "ratingReminderDisabled",
|
2019-05-15 12:00:15 +02:00
|
|
|
SETTING_BACKUP_DISMISSED: "backupDismissed",
|
|
|
|
SETTING_REWARDS_NOT_INTERESTED: "rewardsNotInterested",
|
2018-08-16 11:48:34 +02:00
|
|
|
|
2018-08-17 20:11:15 +02:00
|
|
|
ACTION_DELETE_COMPLETED_BLOBS: "DELETE_COMPLETED_BLOBS",
|
|
|
|
ACTION_FIRST_RUN_PAGE_CHANGED: "FIRST_RUN_PAGE_CHANGED",
|
2018-12-01 23:56:33 +01:00
|
|
|
|
2019-01-21 14:35:11 +01:00
|
|
|
ACTION_PUSH_DRAWER_STACK: "PUSH_DRAWER_STACK",
|
|
|
|
ACTION_POP_DRAWER_STACK: "POP_DRAWER_STACK",
|
|
|
|
|
|
|
|
PAGE_REWARDS: "rewards",
|
|
|
|
PAGE_SETTINGS: "settings",
|
|
|
|
PAGE_TRENDING: "trending",
|
|
|
|
PAGE_WALLET: "wallet",
|
|
|
|
|
|
|
|
DRAWER_ROUTE_DISCOVER: "Discover",
|
|
|
|
DRAWER_ROUTE_TRENDING: "Trending",
|
|
|
|
DRAWER_ROUTE_SUBSCRIPTIONS: "Subscriptions",
|
|
|
|
DRAWER_ROUTE_MY_LBRY: "Downloads",
|
|
|
|
DRAWER_ROUTE_REWARDS: "Rewards",
|
|
|
|
DRAWER_ROUTE_WALLET: "Wallet",
|
|
|
|
DRAWER_ROUTE_SETTINGS: "Settings",
|
2019-02-18 09:30:06 +01:00
|
|
|
DRAWER_ROUTE_ABOUT: "About",
|
2019-03-01 19:25:01 +01:00
|
|
|
DRAWER_ROUTE_SEARCH: "Search",
|
|
|
|
DRAWER_ROUTE_TRANSACTION_HISTORY: "TransactionHistory",
|
2019-02-18 09:30:06 +01:00
|
|
|
|
|
|
|
SUBSCRIPTIONS_VIEW_ALL: 'view_all',
|
2019-02-18 19:19:18 +01:00
|
|
|
SUBSCRIPTIONS_VIEW_LATEST_FIRST: 'view_latest_first',
|
|
|
|
|
|
|
|
PLAY_STORE_URL: 'https://play.google.com/store/apps/details?id=io.lbry.browser',
|
|
|
|
RATING_REMINDER_INTERVAL: 604800, // 7 days (7 * 24 * 3600s)
|
2018-05-10 23:10:12 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
export default Constants;
|
2019-01-21 14:35:11 +01:00
|
|
|
|
|
|
|
export const DrawerRoutes = [
|
|
|
|
Constants.DRAWER_ROUTE_DISCOVER,
|
|
|
|
Constants.DRAWER_ROUTE_TRENDING,
|
|
|
|
Constants.DRAWER_ROUTE_SUBSCRIPTIONS,
|
|
|
|
Constants.DRAWER_ROUTE_MY_LBRY,
|
|
|
|
Constants.DRAWER_ROUTE_REWARDS,
|
|
|
|
Constants.DRAWER_ROUTE_WALLET,
|
|
|
|
Constants.DRAWER_ROUTE_SETTINGS,
|
2019-03-01 19:25:01 +01:00
|
|
|
Constants.DRAWER_ROUTE_ABOUT,
|
|
|
|
Constants.DRAWER_ROUTE_SEARCH,
|
|
|
|
Constants.DRAWER_ROUTE_TRANSACTION_HISTORY
|
2019-01-21 14:35:11 +01:00
|
|
|
];
|