Allow Flutter to connect to devices with http instead of https. Devices like the RICOH THETA connect to mobile apps with http. This is no allowed by default. Edit the AndroidManifest.xml file to fix the problem.
Fixes
Unhandled Exception: Bad state: Insecure HTTP is not allowed by platform: http://
For debugging
app/src/debub/AndroidManifest.xml
Between <manifest ...>
and </manifest>
add
<application android:usesClearTextTraffic="true" />
</application>