CleverTap / CTNotificationContent

A Notification Content Extension class to display custom content interfaces for iOS 10 push notifications
MIT License
14 stars 7 forks source link

CocoaPods support import from static lib and frameworks #27

Closed nzagorchev closed 1 year ago

nzagorchev commented 1 year ago

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 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.

Testing steps

Manually integrating the pod.

Backwards compatible

Yes