GodSpeed JP1
Posts: 0
Joined: Thu Feb 27, 2014 1:23 pm

navigator.notification is not woking

I want use navigator.notification to alert some message.
But It is not working.Debuger says navigator.notification is undefinded.
When I click button ,I run javascript :
navigator.notification.alert("message", null, "title");
Anything wrong?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

navigator.notification is not woking

Hello,

prenotification.alert/pre

GodSpeed JP1
Posts: 0
Joined: Thu Feb 27, 2014 1:23 pm

navigator.notification is not woking

Thank you Illya.It works on my IOS Tester well.:-)

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

navigator.notification is not woking

Hello!
I have this working fine both on android and ios, when there's no internet connection:
navigator.notification.confirm

but if I put this code on fail event of geolocation, to advice the user to turn locations services, it doesnt show the popup on ios, (7.1), it works fine on android.

If I use alert('some message');
it works fine on both.

Should this code work on geolocation fail event?

Regards

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

navigator.notification is not woking

Hi Alex,

This code should work for all events. Try adding another action on this event please. For example, change label text to make sure the event fires:preApperyio("labelName").text("service failed");/pre

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

navigator.notification is not woking

Thanks! I end up using your code to advice user to turn locations services on.

Return to “Issues”