gdesmott / manger-veggie

GNU Affero General Public License v3.0
5 stars 4 forks source link

added a recognosable User-Agent string inside the Android in-app browser #19

Closed drzraf closed 8 years ago

drzraf commented 8 years ago

added add_mobile_link() which use the specific UA string in order to add a specific menu links for non-Android and non-Android-app visitors

Psycojoker commented 8 years ago

Regarding the discussion in #20, this javascript code will probably need to end up in a vegoresto django app, otherwise it will end up appearing on the manger-veggie website on which installing vegoresto doesn't make that much sens for now.

Or is it a subtile proposition of merging our two projects :D?

Psycojoker commented 8 years ago

For the java part I'll let @rberiot answer.

drzraf commented 8 years ago

the JS-function is a bit out-of-scope, but it's just a declaration and, although unused, should not hurt. We could wait and see how the things evolves (manger-veggie may or may not use this function or a derivative), and then later move the function where it should belong to.