Skip to content
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

Blank Screen Running on IOS #25

Open
karasu1 opened this issue Feb 2, 2021 · 0 comments
Open

Blank Screen Running on IOS #25

karasu1 opened this issue Feb 2, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@karasu1
Copy link

karasu1 commented Feb 2, 2021

Hello Guys I got this kind of error when first time to run the Model-Viewer in IOS, tried to run in Android it's worked fine, but nothing show in IOS, is it implemented in IOS or is it the WebView from IOS is not supported??(try with chrome installed, read from previous issue, but nothing happens)

To reproduce
Steps to reproduce the behavior:

just putting this kind of code in my project:

Scaffold(
        body: ModelViewer(
           src: src,
          iosSrc: 'https://modelviewer.dev/shared-assets/models/Astronaut.usdz',
          ar: true,
          autoRotate: true,
          cameraControls: true,
          backgroundColor: Colors.white,
          autoPlay: true,
          autoRotateDelay: 1500,
          arScale: 'auto',
        ))

with src: http://xxx/3dobject/Astronaut.glb --> this is on local server
then flutter run

LogCat:

Launching lib/main.dart on xxx’s iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: xxxx
Running Xcode build...
Xcode build done.                                           18.2s
Installing and launching...
Waiting for xxx’s iPhone to report its views...
Debug service listening on ws://localhost:52430/ws
Syncing files to device xxxs iPhone...
flutter: >>>> ModelViewer initializing... <http://127.0.0.1:50045/>

ScreenShot
This is the SS I got from my Real Device

IMG_0052

Device Info
I'm using real device iPhone XR to compile
Screen Shot 2021-02-02 at 09 31 12

Additional context
I have put the requirement according from this site request
Screen Shot 2021-02-02 at 09 48 18

@karasu1 karasu1 added the bug Something isn't working label Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant