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
- Automatic chunking for large media does ...
Hi! Using https://github.com/appwrite/sdk-for-apple to upload images to Storage, it does not upload images larger than ~2mb. Error message: `Invalid document...
- Is it possible to change the model to a ...
Is it possible to change the model to a custom model, like: https://chatgpt.com/g/g-rmdbtMF7a-expedia , or only the base 3.5 turbo is possible for chatting?
- How many functions can I run simultaneou...
I want to konw, how many functions can I can simultaneously in appwrite cloud? I want to make a chat app where user sends text and text is processed using funct...
