Today we're releasing Structure Sensor SDK v0.5.5, which includes a workaround that improves behavior and Structure Sensor battery life on iOS 9.2+. Recent versions of iOS 9 introduced unexpected behavior when a Structure Sensor is plugged into iOS devices, including waking up Structure Sensor apps in the background which sometimes triggered camera access dialogs, reduced Structure Sensor battery life (iOS battery life was unaffected), and could cause the message "Please connect Structure Sensor" despite the sensor being plugged in.
This release also includes:
IMPORTANT: If you have apps in the App Store, please update your apps, rebuilding with Structure Sensor SDK version 0.5.5 and communicate the update to your users.
See our Forum post on Updating Structure Apps for iOS 9 with SDK Version 0.5.5.
Download Structure SDK 0.5.5
Structure SDK 0.5.5 updates Structure.framework and sample app code. There is a small API change from Structure SDK 0.5.4.
Starting with iOS 9.2, iOS will launch all Structure SDK apps in the background when Structure Sensor is plugged in. This causes two issues:
Structure SDK apps assume the user has launched them and try to connect to Structure Sensor. This can unnecessarily drain the Structure battery and cause Structure SDK app instability.
Structure SDK apps usually turn on the iPad/iPhone camera. When the user first plugs in the Structure Sensor they get bombarded with “[APPNAME] app wants to use the camera” alerts.
Structure SDK no longer supports connecting to the Structure Sensor if the app is in the background state. This is to make Structure SDK apps automatically interoperate better with iOS9.2+. Because of this change [[STSensorController sharedController] initializeSensorConnection] now returns STSensorControllerInitStatusAppInBackground when the app is in the background state and tries to connect to the Structure Sensor.
Fixed Build for Unity Version 5.3.2 - plugin script now includes libz, and enables usage on iPad or iPhone by default