'use strict';

if (!String.prototype.startsWith) {
  String.prototype.startsWith = function (searchString, position) {
      position = position || 0;
      return this.indexOf(searchString, position) === position;
  };
}

if ( !String.prototype.includes ) {
    String.prototype.includes = function() {
        return String.prototype.indexOf.apply( this, arguments ) !== -1;
    };
}

if ( !String.prototype.capitalize ) {
    String.prototype.capitalize = function() {
        return this.charAt(0).toUpperCase() + this.slice(1);
    }
}

@@ -550,12 +550,298 @@
 %0D%0A    %7D%0D%0A%7D%0D%0A
+%0D%0A//Use cordova-plugin-dialogs for more native looks%0D%0Aif (navigator.notification && typeof navigator.notification.alert === %22function%22 ) %7B%0D%0A  window.alert = navigator.notification.alert;%0D%0A%7D%0D%0A%0D%0A//TODO Do the opposite mockup if we use navigator.notification.alert somewhere in the code %0D%0A

Update sofia.polyfill.js