UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Ogra webapp - javascript alerts not working

    Scheduled Pinned Locked Moved App Development
    2 Posts 1 Posters 649 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • lduboeufL Offline
        lduboeuf
        last edited by lduboeuf

        hello,

        i have a webapp that uses Oauth. Tried to publish it as a simple web app with webapp-creator but i am not able to authenticate because every foreign url opens in the browser (ref issue: https://github.com/Jujuyeh/webapp-creator/issues/28 ). So as a work around, i publish my webapp as a Ogra webapp but noticed then that every alert, confirm dialog boxes are not handled.

        It seems to be related to Oxide. Any idea how can i get rid of this ? Any webapp template somewhere ? (i don't really need Ogra).

        Thanks

        lduboeufL 1 Reply Last reply Reply Quote 0
        • lduboeufL Offline
          lduboeuf @lduboeuf
          last edited by lduboeuf

          @lduboeuf ok, finally found a workaround. Build it from scratch. Seems that by allowing all i.e webapp-container --webappUrlPatterns=* ... it's fine.
          source code here: https://github.com/lduboeuf/ut-ttb-wrapper

          1 Reply Last reply Reply Quote 0
          • First post
            Last post