Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contact list empty first run #31

Open
alexlovar opened this issue Aug 24, 2020 · 4 comments
Open

contact list empty first run #31

alexlovar opened this issue Aug 24, 2020 · 4 comments

Comments

@alexlovar
Copy link

alexlovar commented Aug 24, 2020

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
Copy link

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
Copy link
Author

thank you so much, now is working

@alexlovar
Copy link
Author

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 alexlovar reopened this Aug 30, 2020
@kazimad kazimad mentioned this issue Sep 23, 2020
@Mafazkhan
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants