added
2022-03-22: SDK Update #169
about 3 years ago by Allan Bush
Dual cameras, accelerometer, new docs, bug fixes, and more
Added
- Accelerometer API allowing the device's accelerometer to be used in a module
- A/B testing documentation
- Dual camera support check to see if the device supports this feature
Changed
- getMediaFromGallery() now returns an array of assets instead of a single asset
- The o3h.js file is now generated from typescript and packed for faster module loading
- API documentation now hosted on this site as well
- Replay events will re-fire if the associated timer loops or seeks backwards
- Both the front and rear camera can be used at the same time on devices that support it
- Camera resolution changes are applied more optimistically
- HTML audio using autoplay can now start playing slightly sooner
Fixed
- Mock Data options in the SDK work again
- Two camera components can be active at the same time now
- Several issues around camera access / loading in multiple layouts at once
- Issues with native controls and prompts appearing during module startup sequence
- Saving PerOooh persistent data works in creator mode in the SDK
- Saving Module settings data works when working under the Custom Module