Closed MatiasLjubica closed 1 year ago
Hi @MatiasLjubica
I appreciate you asking this feature request in our config plugin. Just to make sure we understand it right, would it be justified to say that the request is to make the plugin configurable such that even static libraries could be linked in iOS using :linkage => :static
? Feel free to correct me if I am wrong !
Hi @ami-aman Yes is the request to be clear we can have some properties in app.config like:
[
'customerio-expo-plugin',
{
android: {
googleServicesFilePath: 'PATH',
},
ios: {
useFrameworks: 'static', // can be 'none' | 'static' | 'dynamic'
pushNotification: {
useRichPush: true,
},
},
},
]
It will help for project that use some other packages. I think it can be reproduce with a blank Expo project with @react-native-firebase/analytics and try to install the plugin.
They have the same issue on OneSignal Flutter SDK that i found how to resolve it.
This feature has been added and released. See https://github.com/customerio/customerio-expo-plugin/pull/9
Hi ! I try to use this plugin to my Expo projet but I having some trouble to install pod dependency because my project also use Analytics and it's require to use the use_framework! tag but it's break the build with this error:
_- Runner (true) and NotificationService (false) do not both set useframeworks!.
So i add this:
but it fail because he need to be static, so i use this:
and it work !
Can you add an option into the plugin to add this line if the project use use_framework ?
Thank you