Home > Enterprise >  Why my app is working fine on my android emulator but its not working fine on my real android device
Why my app is working fine on my android emulator but its not working fine on my real android device

Time:09-15

My app is working fine on my android emulator but its not working fine on my real android device my i am using react native & nodejs if anyone can has faced this same problem pls help me

NOTE

  • MY REAL PHONE resolution & screen size ARE SAME WITH MY android emulator BOTH ARE SAME
  • MY ANDRIOD EMULTOR API IS 30

ISSUE THAT I CAN SEE IN MY REAL ANDRIOD PHONE

  • Some text are going their on the wrong position
  • Some text are not even seeing to me but their onpress event is working
  • my backend is not connecting with my app. I mean socketio is not connecting in my real phone but its connecting in my emulator i am using enter image description here enter image description here

    BUT HOW IT IS LOOKING IN MY REAL PHONE

    enter image description here enter image description here

    CodePudding user response:

    Add a this on your textinput to make your text visible. This will make your placeholder text visible. placeholderTextColor="#808080"

  • Related