Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SDK onload function not invoked

ANSWERED

With SDK version 4 the onunload function works but the onload function doesn't get invoked.

Author | ch, passion for improvement.

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

onload was deprecated in SDK4, you can run code at the root of index.js instead to achieve the same effects.

View best answer in original post

Best Answer
0 Votes
2 REPLIES 2

Moved to the SDK development board. 

Community Council Member

Nathan | UK

Looking to get more sleep? Join the conversation on the Sleep better forum.

Best Answer
0 Votes

onload was deprecated in SDK4, you can run code at the root of index.js instead to achieve the same effects.

Best Answer
0 Votes