CariusLars / ar_flutter_plugin

Flutter Plugin for AR (Augmented Reality) - Supports ARKit on iOS and ARCore on Android devices
MIT License
318 stars 229 forks source link

Fix iOS cloud anchors not being able to upload #123

Closed dnkoulouris closed 2 years ago

dnkoulouris commented 2 years ago

Based on Cloud Anchors documentation, some additional configuration needed to be set in order to host cloud anchors. I made some additions to my fork for my requirements, so I reverted main branch to the one before any change and created another branch for my requirements.

                                    let configuration = GARSessionConfiguration();
                                    configuration.cloudAnchorMode = .enabled;
                                    arcoreSession?.setConfiguration(configuration, error: nil);
CariusLars commented 2 years ago

thanks @dnkoulouris !