Ronak99 / Skype-Clone

Making a fully functional skype clone in flutter.
MIT License
319 stars 173 forks source link

contact list empty first run #31

Open alexlovar opened 4 years ago

alexlovar commented 4 years ago

hi, the app is not asking for permission to read contacts, the start searching screen is empty , and when you press any letter on the key board the app return an error:

The method 'toLowerCase' was called on null. Receiver: null Tried calling: toLowerCase() _SearchScreenState.buildSuggestions. (package:skype_clone/screens/search_screen.dart:95:53)

Screenshot_1598231090 Screenshot_1598231078 Screenshot_1598231086

takiuddin93 commented 4 years ago

hi, the app is not asking for permission to read contacts,

why will it need permission? you are not taking contacts locally from the phone, are you?

the start searching screen is empty , and when you press any letter on the key board the app return an error:

The method 'toLowerCase' was called on null.

this is because it failed to fetch contacts from firebase database. check if firebase database is working properly.

Receiver: null Tried calling: toLowerCase() _SearchScreenState.buildSuggestions. (package:skype_clone/screens/search_screen.dart:95:53)

alexlovar commented 4 years ago

thank you so much, now is working

alexlovar commented 4 years ago

hi, the code in the section contacts is empty and show only a a text: "Contact Screen" home page screen.dart line 118

    ChatListScreen(),
            LogScreen(),
            Center(
                child: Text(
              "Contact Screen",
              style: TextStyle(color: Colors.white),
            )),
          ],

where i can find the code to show the contact page, like the image in the readme section?

image

Mafazkhan commented 3 years ago

hi, the app is not asking for permission to read contacts,

why will it need permission? you are not taking contacts locally from the phone, are you?

the start searching screen is empty , and when you press any letter on the key board the app return an error: The method 'toLowerCase' was called on null.

this is because it failed to fetch contacts from firebase database. check if firebase database is working properly.

Receiver: null Tried calling: toLowerCase() _SearchScreenState.buildSuggestions. (package:skype_clone/screens/search_screen.dart:95:53)

Hii Mr Takiuddun sir I hope you are well Sir I have a problem my contact screen return empty just by showing text as like contact screen can you please help me fetch contacts from my phone using permission to access my contacts it will be a great help if you do so