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 785 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 Online
        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 Online
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post