Support adding CTNotificationContent as a static library using CocoaPods. This should be useful for ReactNative projects which use static libs by default.
Before these changes, the pod can be integrated using dynamic frameworks use_frameworks! or static frameworksuse_frameworks! :linkage => :static. This is no longer required.
Implementation
Add a macro to check if the module header is available.
Background
Support adding
CTNotificationContent
as a static library using CocoaPods. This should be useful for ReactNative projects which use static libs by default. Before these changes, the pod can be integrated using dynamic frameworksuse_frameworks!
or static frameworksuse_frameworks! :linkage => :static
. This is no longer required.Implementation
Add a macro to check if the module header is available.
Testing steps
Manually integrating the pod.
Backwards compatible
Yes