Push Notification: After Update api 31 apk, not working with android 13

Friends I am try all methods for update ‘api31’ but there is problem with android 13 like
Push Notification not working and some app crash
If any solution please help me

Simple export apk from kodular

After api31 update apk

I’m trying to add push notifications, I already did the firebase part and the onesignal part, but I can’t get it to work, I get the following error

Your user failed to be subscribed.

  • This user is no longer receiving notifications.

Please follow our troubleshooting steps here to try to solve the issue.

If you’re still having trouble, contact us for support.

Does anyone have an idea how to fix it?

Read more about this here