-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with iOS 16 #50
Comments
I have the same issue and I'm interested in any follow up information. |
@Panyeczky I am still waiting for a response from the authors of this plugin. It still does not work on iOS 16+ |
Sorry for a late reply. I'm not an iOS developer, so I want to add a "help wanted" label for this issue. After some searching, here are some information I can provide: Because this package uses webview_flutter to display a web page (you can see here), on iOS webview_flutter uses WKWebView. According to an issue's comment on WebKit Bugzilla :
According to a comment under USDZ AR QuickLook support in WKWebView inconsistencies:
This PR of model-viewer gave us an test website. I use webview_flutter to open it, it turns out that the WKWebView used by webview_flutter does not support "Quick Look" view -- that's why the AR button disappear. Currently I have no idea about how to solve the issue😢 References: |
@Foldblade thanks for update. This should help plugin developers tackle the issue. I still cannot understand how this works just fine on iOS <16 |
Before iOS 16, due to the bug of WKWebView, After iOS 16 and some updates of There was one issue related with AR on iOS 15: #8, you may take a look and know how I solved it in commit |
This is the answer using 'quick_look' package you can use local or .usdz from web. You can add buttons beneath model viewer model by checking Platform.isIOS . |
any updates here? |
any updates? |
This solution works, but you have to convert usdz files correctly, otherwise your output 3d object will be rubbish. |
still not working in ios 17+ |
Describe the bug
Same code used to work fine on iOS up to 15. However, users who recently updated their iOS to 16 reported that they no longer see the AR icon in the model anymore. So the modal still shows fine, but the AR button at the bottom of the view disappeared.
We verified this by running same code on iPhone/iPad versions 13,14,15 with no problem, however, when we test with iOS 16, the icon disappears.
To reproduce
Steps to reproduce the behavior:
Expected behavior
Model viewer should show the AR button
Screenshots
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: