You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

actions.js 853B

123456789101112131415161718192021
  1. import { DISMISS_MOBILE_APP_PROMO } from './actionTypes';
  2. /**
  3. * Returns a Redux action which signals that the UnsupportedMobileBrowser which
  4. * was rendered as a promotion of the mobile app on a browser was dismissed by
  5. * the user. For example, the Web app may possibly run in Google Chrome
  6. * on Android but we choose to promote the mobile app anyway claiming the user
  7. * experience provided by the Web app is inferior to that of the mobile app.
  8. * Eventually, the user may choose to dismiss the promotion of the mobile app
  9. * and take their chances with the Web app instead. If unused, then we have
  10. * chosen to force the mobile app and not allow the Web app in mobile browsers.
  11. *
  12. * @returns {{
  13. * type: DISMISS_MOBILE_APP_PROMO
  14. * }}
  15. */
  16. export function dismissMobileAppPromo() {
  17. return {
  18. type: DISMISS_MOBILE_APP_PROMO
  19. };
  20. }