This is a migrated thread and some comments may be shown as answers.

navigator.splashscreen.hide(); undefined

2 Answers 426 Views
Apache Cordova
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
wku
Top achievements
Rank 1
wku asked on 28 Jan 2015, 09:55 AM
Hi,

I just did an update and the navigator.splashscreen.hide(); is not working.

Telerik AppBuilder 2015.1.116.1
Kendo UI Core 2014.1.1316

Please advise, thanks in advance.

2 Answers, 1 is accepted

Sort by
0
wku
Top achievements
Rank 1
answered on 29 Jan 2015, 04:18 AM
managed to resolve this.
if  navigator.splashscreen.hide(); is placed in $(document).ready(), it is undefined
but it will work if it is in the deviceready listener

0
Kaloyan
Telerik team
answered on 30 Jan 2015, 11:00 AM
Hi wku,

I am glad to hear that you have found a solution for the issue by your own.

Still, you can check this stackoverflow thread for your further references why the above might had happened. I hope it helps.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Apache Cordova
Asked by
wku
Top achievements
Rank 1
Answers by
wku
Top achievements
Rank 1
Kaloyan
Telerik team
Share this question
or