Skype-Clone icon indicating copy to clipboard operation
Skype-Clone copied to clipboard

contact list empty first run

Open alexlovar opened this issue 4 years ago • 4 comments

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

alexlovar avatar Aug 24 '20 00:08 alexlovar

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)

takiuddin93 avatar Aug 24 '20 08:08 takiuddin93

thank you so much, now is working

alexlovar avatar Aug 30 '20 02:08 alexlovar

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

alexlovar avatar Aug 30 '20 04:08 alexlovar

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

Mafazkhan avatar Nov 18 '20 13:11 Mafazkhan