The Google Play Store no longer allows uploading bundles for which Target SDK <= 30. This diff:
- Bumps the Target SDK to 31
- Makes required changes to AndroidManifest.xml to support SDK v31
- Includes patch from @ashoat to ensure that react-native-firebase continues to work as expected (see below)
From @ashoat's commit (https://github.com/CommE2E/comm/commit/19c0e0a2f114c12dea19ae6512a86add1a03690f):
Patch react-native-firebase to specify PendingIntent.FLAG_MUTABLE
Android notifs weren't working and I was seeing this error: https://gist.github.com/Ashoat/62cf37d7b180798cf63555660c8a84a8
This was triggering because we had just started targeting SDK 31. I solved it by specifying FLAG_MUTABLE to match behavior from old version of Android. More details here.