My friend and I can only connect too each other’s worlds if it’s a LAN world. This is because the game says that she is offline while I know she’s on and tells her I’m offline while I’m on. We are both connected to WiFi. Even weirder it only my one friend with anyone else it works just fine.This happened after an account glitch I had where I couldn’t sign into any account on my mobile device. It was fixed but then this happened.
Related issues
Comments

Thank you for your report!
We're actually already tracking this issue in MCPE-36190, so I've resolved and linked this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki