Error trying to call .createPush() - does not show in Xcode autofill as an option either.
- 0
- Messaging
- Apple
- Cloud

I have been following the docs: (https://appwrite.io/docs/products/messaging/send-push-notifications) and (https://appwrite.io/docs/references/1.5.x/server-swift/messaging), getting started trying to implement a simple push notification system for my iOS App but am running into an error when I try to call '.createPush()'. I am using Appwrite package version 5.0.0 and Cloud hosting. When I look at the Xcode autofill recommendations it only shows '.createSubscriber()' and '.deleteSubscriber()'. I was able to successfully create a push target and I am probably just missing something really dumb here, can you please point me in the right direction?
let messaging = Messaging(client)
messageId: "",
title: "",
body: "",
targets: notificationData.target,
badge: ""
)```
Xcode error:
```Value of type 'Messaging' has no member 'createPush'```
Recommended threads
- Appwrite Cloud Function runs forever, ev...
It just keeps running, and there's no way to manually stop it.
- WebSocket connection failed - Realtime g...
I am using appwrite cloud + angular (appwrite 21.2.1). On Chrome, when I have a realtime subscribtion and I reload the page or navigate to another page, realtim...
- Function deployment is stuck on original...
It seems that anything to do with deployments gets stuck at a previous version no matter what I do. I don't know what to do except abandon appwrite altogether s...
