twilio / twilio-conversations-demo-ios-swift Goto Github PK
View Code? Open in Web Editor NEWTwilio Conversations for iOS Demo application in Swift
License: MIT License
Twilio Conversations for iOS Demo application in Swift
License: MIT License
Hi team, i am using pod 'TwilioConversationsClient', '2.1.0' and not able to get temporary media url.
Please Help!
the sdk keeps returning this error message when i try to send media
🎦💥 Cannot read from done
, closed
or notStarted
state
I am getting notification from Twilio but Notification service's didReceive method not being called.
Don't know what exactly the issue is.
When we send any image if there are any older messages with the image then all images are flickering.
Following is the preview when we send any image as a message.
This func message.updateAttribues(attributes:) return error message that the attributes too long. We've discovered that, although the documentation we've reviewed (https://www.twilio.com/docs/conversations/attributes) states that the JSON file in the message attributes can be up to 16KB, we're only able to send message attributes JSON of about 6-7KB for each message.
Have there been any changes to the maximum size of message attributes JSON recently?
Twilio Conversations assigns the "system" identity to messages created without an author. This means that some ConversationMessage records will have an identity but no participantSid.
The schema for the ConversationMessage in this app requires a participantSid property. When you attempt to view conversations with system messages, the app crashes with the log "NSLocalizedDescription=participantSid is a required value" and Xcode brings you to line 64 of ConversationsApp/Models/CoreData/CoreDataManager.swift.
Here is screenshot of Xcode during a crash
curl -X POST "https://conversations.twilio.com/v1/Conversations/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages" \
--data-urlencode "Body=System test" \
-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN
Message is sending and receiving on iOS to iOS devices. but not receiving any messages on iOS from any other platform like Android and Web(React).
In my code,
user1 creates a conversation, and if use conversation(withSidOrUniqueName:)
, user1 can join the conversation.
But if user2 uses conversation(withSidOrUniqueName:)
directly, the error DataFetchError.requiredDataCallsFailed
comes back.
In the opposite , user2 creates a conversion but user1 can't join the conversation.
I'm sure there is correct channelId in backend and be used correctly in iOS...
So is there any conditions for joinConversation or attributes for conversation?
Thanks in advance.
Here there is one functionality where you can add reactions to the messages. But when the app is killed state how we can modify the messages attributes. I don't want to redownload all the messages from twilio that are already there in my local db as it will create an overhead of downloading messages for each conversation and saving in db again. Can you tell me how can I fix this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.