You should try this library instead.
react-native init TodayWidgetTest- Added
TodayWidgettoday widget extension target - Set
TodayViewControlleras theNSExtensionPrincipalClassin theTodayWidgetInfo.plist file - Removed the storyboard file that came with it
- Added this code and this code
- Added
App Transport Security Settingsin order toAllow Arbitrary Loadsin the Info.plist file - Under Build Phases, add all React Native binary libraries in the Link Binary with Libraries for the
TodayWidgettarget - Under Build Settings, add
-ObjClinker flag - Set Deployment Target to 7.0
This works on the iOS Simulator, but unfortunately doesn't work on an actual phone.