diff --git a/plugin.xml b/plugin.xml
index a895a0b..7892137 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -17,8 +17,8 @@
https://github.com/Pushwoosh/pushwoosh-phonegap-plugin/issues
-
-
+
+
diff --git a/src/ios/PushNotification.m b/src/ios/PushNotification.m
index b658dc8..ce6d9d6 100755
--- a/src/ios/PushNotification.m
+++ b/src/ios/PushNotification.m
@@ -368,8 +368,8 @@ - (void)setLanguage:(CDVInvokedUrlCommand *)command {
}
- (void)setShowPushnotificationAlert:(CDVInvokedUrlCommand *)command {
- BOOL showPushnotificationAlert = command.arguments[0];
- self.pushManager.showPushnotificationAlert = showPushnotificationAlert;
+ id showPushnotificationAlert = command.arguments[0];
+ self.pushManager.showPushnotificationAlert = [showPushnotificationAlert boolValue];
}
- (void)startBeaconPushes:(CDVInvokedUrlCommand *)command {