Replies: 8 comments
-
did you find any solution ? |
Beta Was this translation helpful? Give feedback.
-
We need to document best practices how to do so for both platforms. |
Beta Was this translation helpful? Give feedback.
-
We are currently using the mapbox-gl, for a component. We are customizing the component as required and export our component in index. For the example App for make it work, we have added the mapbox-gl package in example project too. Is it required to add the mapbox-gl package in the Application where we install our library ,since the mapbox-gl is mentioned in the library dependencies ? This should be automatically installed while we installed the library right ? |
Beta Was this translation helpful? Give feedback.
-
I'm struggling with this too; I want to create a rn package that uses 3rd party sdk but I'm pretty lost on how to approach it :( |
Beta Was this translation helpful? Give feedback.
-
Anyone found a solution to this? Seems like a very common issue (also asked in #83 I believe). P.S. I tried doing |
Beta Was this translation helpful? Give feedback.
-
I ended up adding the dependencies that require linking to my |
Beta Was this translation helpful? Give feedback.
-
@sandys From what I'm understanding from your question - you would like 2 different implementations for a single use SDK that is used dynamically by Android and iOS. You could simply create a higher-order-component or higher-order-function that renders the specific implementation that you want based on A good example would be |
Beta Was this translation helpful? Give feedback.
-
@vlu Thanks ! |
Beta Was this translation helpful? Give feedback.
-
hi
we are looking to build a SDK using react native that is usable on ios and android.
one of the functionality we want to include is the Razorpay payment gateway - https://razorpay.com/docs/payment-gateway/react-native-integration/standard/
how do we integrate this kind of a package into a Bob build ?
Beta Was this translation helpful? Give feedback.
All reactions