We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Can’t enter AR on iOS using button in parent doc

Home Forums WebGL & WebXR Troubleshooting Can’t enter AR on iOS using button in parent doc

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #67268
    Brameister
    Participant

    Hi, everyone!

    I’m following the AR example puzzles, but instead of creating the HTML button via puzzles, I wanted to use a button I had already created on the UI. However, when I check the “in parent doc” box in the puzzles, the button simply does not work in iOS devices, but it does work fine in Android.

    I tried both with and without the “if feature available iOS” puzzle you see in the screenshot.

    Why is the button not working in iOS?

    Attachments:
    You must be logged in to view attached files.
    #67271
    kdv
    Participant

    Share the link to your app or at least show the HTML code for that button. Not enough info.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #67274
    Brameister
    Participant

    Sure thing.

    Here’s the link to the app

    #67275
    kdv
    Participant

    And which element on the page is supposed to have an id named “enter_AR_button”? As I see none of them has.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #67276
    Brameister
    Participant

    I changed the ID to “botao_ar”, and later changed it in the puzzles too. I thought I’d leave the original ID in the screenshot above to avoid any confusion. But the ID in the HTML element and in the puzzles is “botao_ar”.

    • This reply was modified 1 year, 1 month ago by Brameister.
    #67278
    kdv
    Participant

    I changed the ID to “botao_ar”, as reflected in the puzzles

    Really? Where?

    And one more very important thing: <div> won’t do for the AR button in iOS. Only <a> will do.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #67280
    Brameister
    Participant

    I changed the ID to “botao_ar”, and later changed it in the puzzles too. I thought I’d leave the original ID in the screenshot above to avoid any confusion. But the ID in the HTML element and in the puzzles is “botao_ar”.

    :yes:

    #67281
    Brameister
    Participant

    And one more very important thing:

    won’t do for the AR button in iOS. Only will do.

    I think that is probably the issue, right? I’ll try to figure out how to use in this case. Thanks for the help!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.