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
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- Our Appwrite organization is suspended
Please give support regarding this , no app is working now , please solve my issue and give support , no one is replying in message section or email.