Friend can’t join my Minecraft world on PE

Whenever I invite my friend she doesn’t get the invite and when she send an invite I can’t see the invite and sometimes we can’t join each others worlds


Usually a notification pops up try to invite when the one device is off and press the notification OR see if Xbox didn’t sign you out and your Minecraft is the same update version.