how can i get the BODY of push token ID like this
anyone help please
Hello! Anyone to help. ?
I find the soluation and I Edit the this line to in AppNAvigator.js
const token = await Notifications.getExpoPushTokenAsync();
to
const token = (await Notifications.getExpoPushTokenAsync()).data;
and import the Notifications + Permissions
import * as Notifications from "expo-notifications";
import * as Permissions from "expo-permissions";