token = (await Notifications.getExpoPushTokenAsync()).data; try { uid = await firebase.auth().currentUser.uidr; } catch (error) { console.log(err