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

ModelViewer widget does not load after publishing on Google Play #27

Open
roked opened this issue Apr 7, 2021 · 2 comments
Open

ModelViewer widget does not load after publishing on Google Play #27

roked opened this issue Apr 7, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@roked
Copy link

roked commented Apr 7, 2021

Hello,

Recently I developed an app and under the assets folder I uploaded several models in the .glb format. While I am running the app on physical device (using Android Studio) everything works fine and the models load. As soon as I publish a release on google play when I navigate to the same page where the 3D model is expected to load, nothing happens and the screen stays white.

What could be the reason for that?

I am running latest version of the plug in as well as latest stable version of flutter.

Thank you.

@roked roked added the bug Something isn't working label Apr 7, 2021
@ben-xD
Copy link

ben-xD commented Apr 8, 2021

Is @roked the same person that posted this: https://stackoverflow.com/questions/66992871/3d-model-viewer-not-loading?noredirect=1#comment118419997_66992871

In that case, this bug was caused because readme/ documentation for this repo doesn't include <uses-permission android:name="android.permission.INTERNET"/> to the Android manifest. This is actually a confusing problem, because its automatically added to debug builds, and will only stop working for release. Most people won't face this since their app will get the permission for another reason: all apps want internet 😅

We should add something like this: https://docs.microsoft.com/en-us/xamarin/android/troubleshooting/questions/android-internet

@roked
Copy link
Author

roked commented Apr 9, 2021

Yes, I am the owner of the StackOverflow thread. It's frustrating because you actually won't take that in account if you are doing an offline 3D app (just like me 😂).

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

2 participants