-
Notifications
You must be signed in to change notification settings - Fork 651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Request] ionic serve --platform="android" #314
Comments
I like this suggestion. I'll look at adding it soon. Thanks. |
+1 I would really like this feature! I'm working on a smartphone and tablet app with Ionic with specific iOS and Android styles. To style these specific elements it would be nice to serve as Android. Another option I would like is to serve lab and I could change the frame size from smartphone to smartphone landscape en tablet portrait + landscape. Now I have to change the iframe size with my Firebug. Thanks! |
+1 all day long. Was looking for how to do this and assumed it would already exist. |
Why do you need to serve for special platform, if you can simply switch platform in browser? If you confused with platform classes, which added during app build, here is a notice in add_platform_class.js
It just helps to speedup layout rendering with embedding necessary classes. |
Hi @AlexYankee changing the emulator device was the first things that i try, but for me it change only the screen size but not the style, can you post a short video tutorial for this or some hints? Thank you |
@kurtommy you probably missed a small notice in the status bar about need to reload page after device change in chrome. Try it one more time, but do Ctrl+R after device type changed. |
I done refresh! but nothing happen! Tommaso Rossi Contacts: Website: Short CV:
Rispetta l’ambiente. Hai davvero bisogno di stampare questa mail? Informativa Privacy - Ai sensi del D. Lgs n. 196/2003 (Codice Privacy) si precisa che le informazioni contenute in questo messaggio sono riservate e ad uso esclusivo del destinatario. Qualora il messaggio in parola Le fosse pervenuto per errore, La preghiamo di eliminarlo senza copiarlo e di non inoltrarlo a terzi, dandocene gentilmente comunicazione. Grazie. Privacy Information - This message, for the D. Lgs n. 196/2003 (Privacy Code), may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.
|
@kurtommy hmm, what browser it was? Chrome? Write me in Skype - aimar4enko, i can do screen share of my browser working perfectly. |
Hello, This feature is out in 1.4.2 - |
Hi, not working here. My body keeps the platform-ios class and other IOS related css classes. However, I can go to localhost:8100/ionic-lab to see both platforms. |
@VinceOPS I figured out why my app wasn't doing
|
Add the flag for decide wich type of platform to load on browser, ios, android etc
The text was updated successfully, but these errors were encountered: