joelrorseth / atme Goto Github PK
View Code? Open in Web Editor NEWA simple, lightweight instant messaging application for iOS
License: Apache License 2.0
A simple, lightweight instant messaging application for iOS
License: Apache License 2.0
Hello
the project is very well developed but the i cant find any users i have enabled the database {
"rules": {
".read": true,
".write": true
}
}
and
userInformationRef.keepSynced(true)
registeredUsernamesRef.keepSynced(true)
reportedUsersRecordRef.keepSynced(true)
are in AuthController.swift but still cant see any users can you please help me
thank you
Can no longer select a user when a search has been made. Most likely due to the gesture recognizer added in an earlier commit that dismisses the keyboard.
All messages render at the same vertical position. Almost certainly due to relocation of UICollectionView delegate methods (to class extension).
In order to make way for proper unit testing, the model classes require major refactoring. To test authentication, database operations, or anything to do with Firebase, complete mocks will be created. The first step in achieving this is creating protocols for the model classes. Mock models can then be made for the unit tests.
Planning to integrate a dedicated, full screen view for viewing photos in the conversations. This will be an important increment to the eventual goal of supporting video, GIF and document messaging. The existing photo bubbles in the conversation view controller should be improved, and will need to trigger a segue to an instance of this proposed viewer upon press.
App crashes when user receives a message when already inside the ConvoViewController. Message is not retrieved properly in observeReceivedMessages(). Crash report states: Could not cast value of type 'NSNull' (0x111b99918) to 'NSString' (0x1111a4c60).
After downloading the app, any users that have joined after that point in time cannot be found in the search. In general, the search function seems to not be working, and is checking a cached copy of the database instead of the live one.
Hey when setting the profile picture in the app it doesn’t save would that be something to do with Firebase
Cannot create a new user. "Sign up" button's action is being called successfully, but the action block in observeSingleEvent() is never executed.
Hi, I’d like to contribute to the effort of creating a great Firebase Chat library for iOS written in Swift. There are currently 780 repos on GitHub and I am in a process of writing the 781st one. Which kind of doesn’t make sense.
Would you be interested in joining forces and working together on a common library?
https://github.com/kutakmir/OpenFirebaseChat/
I made an incentive to create a community-driven Firebase Chat library that we all can use and will be better than any of the individual ones that are out there at the moment. We can start by forking one of the existing ones and then keep on improving it together.
�
Push Notifications are not working. When a message is sent the other user does not receive a notification. This is happening because the code that sends the notification is not being called. I would appreciate if anyone can fix it.
for notificationID in notificationIDs.values {
NotificationsController.send(to: notificationID, title: message.sender, message: message.text ?? Constants.Placeholders.pictureMessagePlaceholder)
}
This code is not being executed from the send message and no notifications is being sent.
func send(message: Message) {
// Write the message to Firebase
let randomMessageId = messagesRef!.childByAutoId().key
// Since we are sending this message, we can cache it as most recent
mostRecentMessageTimestamp = message.timestamp
// If there are inactive members, attempt to rejoin them
// Otherwise you would manually have to rejoin to be added again
for (uid, username) in inactiveMembers {
databaseManager.attemptRejoinIntoConversation(convoID: convoId, uid: uid, username: username, completion: {_ in})
}
// Each message record (uniquely identified) will record sender and message text
if let text = message.text {
messagesRef?.child(randomMessageId!).setValue(
["sender" : message.sender, "text" : text, "timestamp" : message.timestamp.timeIntervalSince1970]
)
} else if let imageURL = message.imageURL {
messagesRef?.child(randomMessageId!).setValue(
["imageURL": imageURL, "sender" : message.sender, "timestamp" : message.timestamp.timeIntervalSince1970]
)
}
// Set timestamp for most recent conversation viewing
// This is required to later determine if messages loaded have already been seen
updateLastSeenTimestamp(convoID: convoId)
// TODO: Internet speed may prevent sending notification if observers do not find out about newly reactivated users in time
// Ask NotificationController to send this message as a push notification
for notificationID in notificationIDs.values {
NotificationsController.send(to: notificationID, title: message.sender, message: message.text ?? Constants.Placeholders.pictureMessagePlaceholder)
}
}
Let me know if you know how to fix this issue!
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.