My local notifications work great on iOS, im now trying to get them to work on Android. I can’t seem to find much information regarding Android notifications online minus the official documentation. First things first though… permissions. This is what I currently have which works for iOS and I would also figure works for Android:
async function getNotificationPermission() {
const { status } = await Permissions.getAsync(Permissions.NOTIFICATIONS);
if (status !== "granted") {
await Permissions.askAsync(Permissions.NOTIFICATIONS);
}
}
But on my AVD it doesn’t ever ask for permission. Does anyone have a snack or some code of what a request for android permission looks like and possibly what setting up scheduled local notifications looks like? I believe I have to create a channel but haven’t gotten that far because of the permission issue.
Thanks