tried to register two views with the same name rncsafeareaprovider
Invariant Violation: Tried to register two views with the same name RNCSafeAreaProvider
It means you have installed same extension multiple times.
Running "npm dedupe" command solved my problem.
or Yarn install (The dedupe command isn’t necessary. yarn install will already dedupe.)