2 Replies Latest reply on May 12, 2017 8:17 AM by maxp58649028

    navigator.notification.alert stop working



      Till 2 days ago the:


      was working just fine, but now with the new build it stopped working.

      Any ideas?


      This is my build.xml declaration:


      <plugin name="cordova-plugin-dialogs" source="npm"/>


      I also tried:


      <plugin name="cordova-plugin-dialogs" source="npm" spec="~1.3.3"/>


      But same result.


      I upload and build my package in the cloud and test on my device.

      I call the navigator.notification.alert(...) only after the user click a button, make an ajax call, and the ajax call ends.


      Any advice will be more than welcome.



        • 1. Re: navigator.notification.alert stop working
          kerrishotts Adobe Employee

          What platform(s) are you testing on? What other plugins do you have installed? Have you checked the JavaScript console for any error messages?

          • 2. Re: navigator.notification.alert stop working
            maxp58649028 Level 1

            I'm testing on IOS physical phone.

            Here is section of the plug in that I use.


                <plugin name="cordova-plugin-battery-status" source="npm" spec="~1.1.1" />

                <!--plugin name="cordova-plugin-camera" source="npm" spec="~2.1.1" /-->

                <!--plugin name="cordova-plugin-media-capture" source="npm" spec="~1.2.0" /-->

                <plugin name="cordova-plugin-console" source="npm" spec="~1.0.2" />

                <!--plugin name="cordova-plugin-contacts" source="npm" spec="~2.0.1" /-->

                <plugin name="cordova-plugin-device" source="npm" spec="~1.1.1" />

                <plugin name="cordova-plugin-device-motion" source="npm" spec="~1.2.0" />

                <plugin name="cordova-plugin-device-orientation" source="npm" spec="~1.0.2" />

                <!--plugin name="cordova-plugin-file" source="npm" spec="~4.1.1" /-->

                <!--plugin name="cordova-plugin-file-transfer" source="npm" spec="~1.5.0" /-->

                <!--plugin name="cordova-plugin-geolocation" source="npm" spec="~2.1.0" /-->

                <plugin name="cordova-plugin-globalization" source="npm" spec="~1.0.3" />

                <plugin name="cordova-plugin-media" source="npm" spec="~2.2.0" />

                <plugin name="cordova-plugin-network-information" source="npm" spec="~1.2.0" />

                <plugin name="cordova-plugin-splashscreen" source="npm" spec="~3.2.1" />

                <plugin name="cordova-plugin-statusbar" source="npm" spec="~2.1.2" />

                <plugin name="cordova-plugin-vibration" source="npm" spec="~2.1.0" />

                <plugin name="cordova-plugin-whitelist" source="npm" spec="~1.2.1" />

                <plugin name="cordova-plugin-inappbrowser" source="npm" spec="~1.3.0" />

                <plugin name="cordova-plugin-dialogs" source="npm"/>