I was testing using rive animation in Chrome and it works perfectly, but as the appliacation is for mobile, I connected to android and... failed.
I get an error:
Since web works and mobile version does not I expect it to be a kind of a bug? Is there someone who solved it?
Related
I learned dart and I want to access flutter, but I was surprised by android studio because my computer is weak.so,can i create android and apple applications with flutter without android emulator , with just flutter pack and vs code and browser
If you only work with simple UI widgets yes you can use the embedded development tools within the browser to get the dimensions of the device you working on like so
But, most of the cases there are libraries work differently according to the platform so it might work with the web but not with android or iphone and you can not test it without the actual device.
And yes VS code is a very good with flutter and might be better than android studio but it won`t make the difference you expected, in my opinion what make it faster is to use an actual device for testing and not using the emulator, also don't use a lot of application along side with the IDE, like if you are using spotify, listening to youtube video or following a tutorial just use your phone because browsers as bad as emulator.
You can use a text editor and the command line tools to build flutter apps and test them on a real device.
I wouldn't recommend it though.
You could give VSCode a try as it is a more lightweight environment.
Your computer should handle testing on a real device, which requires only a USB cable. Accessing the application in the browser would probably eat a lot more memory. You can read about how to use the real device with flutter here.
I'm using AutofillHints.creditCardNumber on Flutter Web, everything is ok with HTTPS, it even works on iPhone. However, on Chrome Android the option to scan the card appears, then activates the camera, but does not return anything to the TextField.
If using HTML5 with cc-number it also works normal on Android Chrome to scan card with camera. The problem only happens with Flutter Web.
Has anyone gone through this?
Thanks
I have initialized admob using the admob plugin in my flutter app. Tested using testAdUnitId and everything works perfectly fine. Then I changed my testAdUnitId with the real one geneated from admob. Now when it comes to testing on real devices i tested it on android 5 and android 10. Thus the rewardedApp loads in mobile with Android version 5 but do not load in device with android 10. I have asked for internet persmission in AndroidMenifest.xml and my app also contains firebase authentication which works perfectly fine. Please help me if you can ! I am unable to find solution to this problem.
It seems that using Flutter Web on iOS device(Safari and Chrome tried so far) with this plugin, if the audio is not ready(still buffering) if you try to play it, will block the execution. Should be handle or should be something to update in the documentation?
Same case on Flutter Web but on desktop device does not cause the same issue.
I experienced the very same issue but on flutter web. In my case, it turned out to be a wrong path. It worked in Chrome and Firefox, but not Safari. Once I removed assets/ from the path (which was in the example I found), then it worked on all the browsers.
I want to add agora_rtc_engine plugin into my app , but I'm facing a problem with it . When i debugging the app on real device it is working and when i installing it on another device it doesn't work and show me that on the device screen
agora video call flutter keep stopping
I'm using the agora quick start example https://github.com/AgoraIO-Community/Agora-Flutter-Quickstart
can any one know the wrong with it ?
It happens to me when I rewrite code or copy lib. But when I download examples like this one https://github.com/AgoraIO-Community/Agora-Flutter-Quickstart everything works.
Temporary you can build your project on this one, just changing name and reinstalling it on your phone.