So location services are running on my flutter WebView in JS.
"app" asks for permission and gets it "while using app". Info.plist is set correctly
But ARKit use on the flutter side goes black screen for
worldAlignment: ARWorldAlignment.gravityAndHeading
without worldAlignment set everything is fine.
Is there something else I have to do?
edit: Turns out I need to enable :
Privacy .. Location .. System Services .. Compass Calibration (which was off)
however this setting being OFF did not seem to stop any other IOS apps that use location, or the compass, from working fine. I'm not sure why ARKit gets annoyed. Still investigating.
this describes the issue and as pointed out , the user of an app will not know how about this setting, if it is off. And it can be off with maps and other location stuff on the phone working ok. And the compass app working ok as well. So that would require catching the specific error and putting out some help bubble for the user...
So location services are running on my flutter WebView in JS. "app" asks for permission and gets it "while using app". Info.plist is set correctly
But ARKit use on the flutter side goes black screen for worldAlignment: ARWorldAlignment.gravityAndHeading
without worldAlignment set everything is fine.
Is there something else I have to do?
edit: Turns out I need to enable : Privacy .. Location .. System Services .. Compass Calibration (which was off)
however this setting being OFF did not seem to stop any other IOS apps that use location, or the compass, from working fine. I'm not sure why ARKit gets annoyed. Still investigating.
Another edit: https://stackoverflow.com/questions/49058263/arkit-setting-worldtrackingconfiguration-to-gravityandheading-produces-error
this describes the issue and as pointed out , the user of an app will not know how about this setting, if it is off. And it can be off with maps and other location stuff on the phone working ok. And the compass app working ok as well. So that would require catching the specific error and putting out some help bubble for the user...