search

Home  >  Q&A  >  body text

angular.js - APP developed using ionic, using angular $cookies to pass the value on the computer, why not on the mobile phone?

Using the APP developed by ionic, using angular $cookies to pass the value can be passed on the computer, why can’t it be done on the mobile phone? Please give me an answer

ringa_leeringa_lee2826 days ago570

reply all(2)I'll reply

  • 滿天的星座

    滿天的星座2017-05-15 17:04:03

    Recommended to use localStorage

    reply
    0
  • ringa_lee

    ringa_lee2017-05-15 17:04:03

    It’s not that all mobile phones don’t support it. If the code is OK, it may be that some mobile browsers don’t support it. Do you need to use cookies to pass values ​​in mobile? There are many ways to pass values.

    reply
    0
  • Cancelreply