Quantcast
Viewing all articles
Browse latest Browse all 49227

Navigator.notification.activityStart not working in IOS

@ashish1416 wrote:

Hi,

I am new to ionic, here is my code for loading dialog on page load event in InAppBrowser. It is working fine with the android, but the same it not showing in IOS.

var ref=window.open(url, '_blank');
ref.addEventListener('loadstart', function() {
navigator.notification.activityStart("Please Wait", "It'll only take a moment...\nPlease don`t press back button.");
});
ref.addEventListener('loadstop', function() {
navigator.notification.activityStop();
});

Please go through my code and let me know why it is not showing up in IOS only. Else is there any alternative way to show loading in between page load in InAppBrowser.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49227

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>