chat21 / chat21-android-sdk

Android Chat SDK built on Firebase
http://www.chat21.org
MIT License
233 stars 98 forks source link

Unable to find other users, android #35

Open Grimshire opened 5 years ago

Grimshire commented 5 years ago

Chat21's activities load fine, but no other users appear when attempting to search in the search bar at the top of the contact activity. My configuration: `ChatManager.Configuration mChatConfiguration = new ChatManager.Configuration.Builder("quicklore") //BuildConfig.APPLICATION_ID .firebaseUrl(QuickloreConstants.configuredDatabaseUrl) .storageBucket("lorebuilder-c1940.appspot.com") .build();

    FirebaseUser currentUser = FirebaseAuth.getInstance().getCurrentUser();
    // assuming you have a login, check if the logged user (converted to IChatUser) is valid
    if (currentUser != null) {
        IChatUser iChatUser = new ChatUser();
        iChatUser.setId(currentUser.getUid());
        iChatUser.setEmail(currentUser.getEmail());
        ChatManager.start(_context, mChatConfiguration, iChatUser);`