How to dynamically generate react-navigation drawer navigation according to the permissions returned by the background?

how to dynamically generate react-navigation drawer navigation based on the permissions returned by the background?

Jul.13,2021
Menu