Got Stuck?
Forum for Lovense Developers
Support
Document Feedback
Life Cycle
Device Ready
Before calling the API, it's necessary to listen for the deviceready
event to ensure that appGallery
is ready. It guarantees that the API will function properly.
- Example
document.addEventListener("deviceready", onAppGalleryReady, false)
function onAppGalleryReady() {
// appGallery is now initialized
}