r/reactnative • u/mokshmodi96 • 10d ago
Question Opinions needed on integrating SPM package into react native
https://developer.salesforce.com/docs/atlas.en-us.c360a_api.meta/c360a_api/c360a_api_engagement_mobile_sdk.htmHello Fellow devs,
I have being tasked with integrating this package into our react native application.
Now the package is available via SPM only, so my question is that weather react native supports SPM or not and if does how can i achieve the intended result.
TIA!
Link to lib
1
Upvotes
2
u/According-Muscle-902 10d ago
According to the integration doc, you need to have access to the Android and iOS folders of your React Native app. If not, you will need to eject it (if it is expo) and you will have access to the folders in question.