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
- I have try to use the appwrite in to the...
Invalid Origin. Register your new client (oailedjdbkhlkakmnnapoonllbnfmfij) as a new Web (Chrome Extension) platform on your project console dashboard
- Project Paused
I am the developer of a project and the admin is not able to login into their account for some reason and I can't change the status of the project due to role r...
- what happened with 'never paused' ????
I can already imagine how annoying this is going to be...