 			callback(errorMessage: "\(e)")
 		}
 	}
-	
-	func itemsToPayloadString(notificationItems: [IOSNotificationItem]) throws -> String {
+	*/
+	func itemsToPayloadString(notificationItems: [IOSNotificationItem]) -> String {
 		var dict = [String:Any]()
 		var aps = [String:Any]()
 		var alert = [String:Any]()


	}
	
	/// Push one message to one device.
	/// Provide the previously set configuration name, device token.
	/// Provide the expiration and priority as described here:
	///		https://developer.apple.com/library/mac/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/APNsProviderAPI.html
	/// Provide a list of IOSNotificationItems.
	/// Provide a callback with which to receive any errors which may have occurred.
	/// nil is passed to the callback if the push was successful.
	public func pushIOS(configurationName: String, deviceToken: String, expiration: UInt32, priority: UInt8, notificationItems: [IOSNotificationItem], callback: (errorMessage: String?) -> ()) {
		
		do {
			let jsond = try self.itemsToPayloadString(notificationItems)

		}
		
		dict["aps"] = aps
		do {
			return try dict.jsonEncodedString()
		}
		catch {}
		return "{}"
	}
}

