facebook

How can I know if I’m in Web simulator

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #350742 Reply

    cor9003
    Member

    Hello,

    I’ve added several libraries that only run whe the app is deployed to one device and for this reason I cannot do any testing in the web simulator from Mobione.
    If I could know if I’m running the app in the web simulatior, I could add some If statemet in order only run the library if I’d be in the device, in order to avoid errors that stop the app for testing.

    how can I know if I’m running the app in the web simulator from Mobione or it is running in a device ?. Any variable ?

    Thanks
    David

    #350749 Reply

    Hi cor9003,

    Next example should be helpful for you:

    Attachments:
    You must be logged in to view attached files.
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: How can I know if I’m in Web simulator

You must be logged in to post in the forum log in