I’ve built a React native Expo internal android application in the apk format. I’ve setup the app and firebase for push notification correctly.
But when I install the apk on an Android phone I always get status = denied
when I call:
const { status } = await Notifications.requestPermissionsAsync();
It is like if the application has by default push notification declied. But then if I manually enable notification for my application in the android preferences, then all push notification is working well.
So I think my setup is correct but I don’t understand why I cannot ask to enable notification from my app with the Notifications.requestPermissionsAsync
method. Is it a normal behaviour for apk?