react-native-safe-area-context icon indicating copy to clipboard operation
react-native-safe-area-context copied to clipboard

Build Failing in iOS, 'sharedApplication' is unavailable

Open rohitkum28 opened this issue 6 years ago • 4 comments

I am unable to build my react-native app in iOS because I am getting the following error in RNCSafeAreaProviderManager.m

'sharedApplication' is unavailable: not available on iOS (App Extension) - Use view controller based solutions where appropriate instead.

Environment react-native:0.63.3 react-native-safe-area-context: 3.1.7 ios: 14 Xcode - 12

Any help will be appreciated.

rohitkum28 avatar Oct 12 '20 07:10 rohitkum28

+1

what is the solution?

halilbilen avatar Feb 06 '21 15:02 halilbilen

+1 same here, any solution ?

chrisarts avatar Mar 24 '21 03:03 chrisarts

I installed the react-native-safe-area-view package as specified in the Readme and it went away.

Unless it was just the pod install but putting it here in case it help someone.

p-gag avatar Feb 15 '22 15:02 p-gag

Should be fixed in 3.4.0 (https://github.com/th3rdwave/react-native-safe-area-context/commit/d5fab0b5d3e06d066ed288d68f7385e72ea67ad8)

janicduplessis avatar Feb 16 '22 06:02 janicduplessis