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.

Yet another AR issue – both Android and iOS, but not the same one !

Home Forums Bug Reports and Feature Requests Yet another AR issue – both Android and iOS, but not the same one !

Tagged: , , ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #76632
    NaxosCG
    Customer

    Hello guys : (sorry if duplicate post, something went wrong)

    I’m now on a new small project where i found some issues with AR, both on iOS and Android :

    https://v3d.net/12e9
    https://v3d.net/12e9

    – iOS :
    > the first time you go into AR : not entering AR, and it adds a small “3D cube” icon on top of html, i guess Apple did that.
    > second time we click on the anterAR button, it first prompt-asks “Open this 3D model ?” then it is ok, we can play with 3D model in AR.
    > exit AR, then change some choices : color, number…) and ask for AR again : it works but shows the last AR 3D model, not reflecting the changes i’ve made.
    > exit AR, then go back (no change this time) : now it is ok, the changes are taken into account.
    >>> i thought about sort of new iOS cache system, so i tried to generate random name for USDZ scene export (with the “set prop download” puzzle) : no way.
    ——————–
    Android :
    > Entering AR is fine, and works ok, but when i exit, and then go back (with or without changes), the “prompt move around” does not hide, the “indicator group” does not hide, and it kinda works. Exit again, enter again, and no more “prompt move around”, no more “indicator group”, and no way to get AR to work.
    > it seams that the exit of AR is not so clean, and “bug” is somewhere cumulating stuff.
    > Of course, i’ve started from the very last “Augmented reality” demo app, using same names and structure. I’ve only added an exit button so i can use “End AR/VR session” puzzle to get things nicely stopped.
    > Only way i found to make it work is to refresh / reload (in js) after exit AR : works but not ideal as the user loses his choices he made before and start over.

    Anys help would be nice. And if you remind me where to send files (i forgot where to send), i’ll send them.

    "1+1=3... for large values of 1"

    #76633
    kdv
    Participant

    then change some choices : color, number…) and ask for AR again : it works but shows the last AR 3D model

    it’s just a mistake in your logic. you don’t remove the “href” attribute before clicking the second time.

    the first time you go into AR : not entering AR

    the same reason. wrong logic.

    See this puzzle set https://www.soft8soft.com/topic/ar-plugin-for-ios/page/2/ to avoid those mistakes.

    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.

    #76636
    NaxosCG
    Customer

    Hello kdv,
    I’ve made the change (for unexplained reason the script were there, but disabled), and i’ve cipied the script for exit AR on android part, and it works (at least on iOS, i will test Android later) !

    Many thanks for that, but i have to admit that i don’t really understand why this occurs, nor why the fix.

    @dev team :
    Also, i think that the “Augmented reality” demo app should get this proper ending / exit from AR, that would help not-so-dev guys like me.

    "1+1=3... for large values of 1"

    #76637
    kdv
    Participant

    i don’t really understand why this occurs, nor why the fix.

    because <a> with “href” is a working and clickable hyper-link. it doesn’t require any additional event listener to work. <a> without “href” is just a block with no interaction.

    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.

    #76638
    NaxosCG
    Customer

    i don’t really understand why this occurs, nor why the fix.

    because with “href” is a working and clickable hyper-link. it doesn’t require any additional event listener to work. without “href” is just a block with no interaction.

    So, the second time i click on it, it messes up things ?

    Mmmh, ok, makes sense, but i would never find out that issue alone : again thank you !

    "1+1=3... for large values of 1"

    #76642
    kdv
    Participant

    the second time i click on it, it messes up things ?

    When you click the second time you download previously generated model and only after that your event listener is triggered to generate a new model. But the point is to download a newly generated model right after it has been exported.

    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.

    #76643
    NaxosCG
    Customer

    the second time i click on it, it messes up things ?

    When you click the second time you download previously generated model and only after that your event listener is triggered to generate a new model. But the point is to download a newly generated model right after it has been exported.

    Ok, now i get it, thanks !

    "1+1=3... for large values of 1"

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