I was seeing Android build errors with Reanimated, which were resolved after updating.
project.pbxproj change comes from https://github.com/software-mansion/react-native-reanimated/pull/3547
Paths
| Differential D5918 Authored by ashoat on Dec 18 2022, 7:41 PM.
Details Summary I was seeing Android build errors with Reanimated, which were resolved after updating. project.pbxproj change comes from https://github.com/software-mansion/react-native-reanimated/pull/3547 Test Plan
Depends on D5917
Diff Detail
Event TimelineHerald added a subscriber: atul. · View Herald TranscriptDec 18 2022, 7:41 PM2022-12-18 19:41:49 (UTC-8) Harbormaster returned this revision to the author for changes because remote builds failed.Dec 18 2022, 7:42 PM2022-12-18 19:42:26 (UTC-8) ashoat retitled this revision from [native] [22/40] RN 0.70: Update to react-native-reanimated@2.12.0 to [native] [23/40] RN 0.70: Update to react-native-reanimated@2.12.0.Dec 18 2022, 7:44 PM2022-12-18 19:44:33 (UTC-8) ashoat retitled this revision from [native] [23/40] RN 0.70: Update to react-native-reanimated@2.12.0 to [native] [24/40] RN 0.70: Update to react-native-reanimated@2.12.0.Dec 18 2022, 8:05 PM2022-12-18 20:05:25 (UTC-8) Harbormaster returned this revision to the author for changes because remote builds failed.Dec 18 2022, 8:29 PM2022-12-18 20:29:12 (UTC-8) Harbormaster returned this revision to the author for changes because remote builds failed.Dec 18 2022, 9:03 PM2022-12-18 21:03:04 (UTC-8) Harbormaster failed remote builds in B14348: Diff 19597!Dec 19 2022, 8:43 AM2022-12-19 08:43:50 (UTC-8) Harbormaster returned this revision to the author for changes because remote builds failed.Dec 19 2022, 9:10 AM2022-12-19 09:10:23 (UTC-8) Harbormaster failed remote builds in B14448: Diff 19703!Dec 19 2022, 12:44 PM2022-12-19 12:44:54 (UTC-8) This revision is now accepted and ready to land.Dec 20 2022, 3:18 AM2022-12-20 03:18:15 (UTC-8) Harbormaster failed remote builds in B14504: Diff 19761!Dec 20 2022, 6:31 AM2022-12-20 06:31:44 (UTC-8) Harbormaster failed remote builds in B14563: Diff 19823!Dec 20 2022, 11:20 AM2022-12-20 11:20:38 (UTC-8) This revision was landed with ongoing or failed builds.Dec 20 2022, 12:01 PM2022-12-20 12:01:14 (UTC-8) Closed by commit rCOMM72622cf0c4bc: [native] [24/40] RN 0.70: Update to react-native-reanimated@2.12.0 (authored by ashoat). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 19486 native/ios/Comm.xcodeproj/project.pbxproj
native/ios/Podfile.lock
native/package.json
yarn.lock
|
We definitely should return something from this lambda since otherwise it is useless to assign it to variable.
If we find that we don't have permissions then just calling await this.requestAndroidNotificationsPermission(); would result in a prompt asking for notifications permissions. However if the user grants those permissions then hasPermissions is still falsy (since promise returned nothing), so deviceToken will be set to null. Nevertheless permissions are actually granted byt the OS, so the state on the device and keyserver would heal itself on next render.
This differential fixes this case so that if user grants permissions correct state is achieved immediately without need for additional re-render to heal the state.