Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions for integration into existing app #314

Open
djMax opened this issue Feb 15, 2023 · 20 comments
Open

Instructions for integration into existing app #314

djMax opened this issue Feb 15, 2023 · 20 comments

Comments

@djMax
Copy link

djMax commented Feb 15, 2023

The forcereact cli provides an easy way to get started if you are generating a new app. It contains some best practices that can be used to figure out how to integrate the SF RN sdk and the native sdk's, but it would be even better if a clearly documented step by step approach would be published about how to integrate the sdk's into an existing React Native app.

@bbirman
Copy link
Member

bbirman commented Feb 23, 2023

Thanks for the feedback, we'll look into it

@oktalk
Copy link

oktalk commented Apr 19, 2023

Has anybody successfully done this? I would like to use a RN framework (like ignite) so it would be nice to have some guidance on integrating forcereact into an existing project.

@JFoxUK
Copy link

JFoxUK commented May 2, 2023

@bbirman is there any documentation you can point us to for this or any rough instructions you can give us while you write the official docs?

@JFoxUK
Copy link

JFoxUK commented Jun 7, 2023

@djMax - did you ever manage this?

@djMax
Copy link
Author

djMax commented Jun 7, 2023

Nope

@JFoxUK
Copy link

JFoxUK commented Jun 20, 2023

@wmathurin any update here? @bbirman ?

@JFoxUK
Copy link

JFoxUK commented Jul 26, 2023

@wmathurin @bbirman any updates?

@JFoxUK
Copy link

JFoxUK commented Oct 12, 2023

@wmathurin @bbirman - any update?

@galensalesforce
Copy link

galensalesforce commented Oct 12, 2023

Hi @JFoxUK -- I'm a new PM on the Mobile SDK team. Thanks for following up on this. I just added this documentation update to our backlog. This documentation update requires more dev work than a typical docs update -- to verify that our instructions are correct, we'll spin up an RN app from scratch and follow our own steps to integrate MSDK into it. I'll keep you in the loop as we make progress.

@marissajmc
Copy link

marissajmc commented Oct 31, 2023

Hi @galensalesforce is there an example in the current documentation of how to implement SFMC mobile app event tracking in React Native?

@JFoxUK
Copy link

JFoxUK commented Dec 5, 2023

@galensalesforce - any news?

@vishnudastk2005
Copy link

@galensalesforce . Hi galen, any updates.

@JFoxUK
Copy link

JFoxUK commented Jan 17, 2024

@galensalesforce its really disappointing that this keeps been ignored.

@galensalesforce
Copy link

Thanks all for following up about this -- and we appreciate your patience! MSDK is a small, open-source team that supports multiple platforms.

More info on this topic here. To summarize, we've decided that the best first step is to upgrade Mobile SDK support for React Native so that our forcereact command runs the RN CLI internally. This way, there will be far fewer steps required to add MSDK into an existing RN app to begin with. Our team is currently working on this upgrade for our 12.0 release.

@RohitSyngenta
Copy link

Is there anyway to handle the progress percentage with this SDK ?

@wmathurin
Copy link
Contributor

@RohitSyngenta What did you mean by "Is there anyway to handle the progress percentage with this SDK ?"

@JFoxUK
Copy link

JFoxUK commented Apr 27, 2024

@galensalesforce @wmathurin - any updates here?

@ivanoikon
Copy link

16 months and still no updates? It's absolutely annoying that this SDK doesn't have a way to integrate into an existing RN project.

@JFoxUK
Copy link

JFoxUK commented Jun 20, 2024

Yep, @galensalesforce promised to keep us in the loop 5mo ago and never did.

@kqisalesforce
Copy link

Hi @JFoxUK, apologies for the delay. Galen has rotated onto a new team and is no longer on Mobile SDK. Here’s an update that was also posted on the Trailblazer Community.

The main reason we cannot provide step-by-step documentation for Mobile SDK integration into an existing RN app is our deep level of integration with the consuming app. We expect the generated app structure to allow these deeper integrations like biometric auth to work out of the box. I will make sure the team responds to any specific integration questions or issues that come up when trying to integrate Mobile SDK into your existing RN app. One thing we recommend is generating a sample app with forcereact then moving the assets into your existing app. One thing we have discussed is having forcereact leverage RN's CLI vs our own. This would have the generated application structure more closely align to RN CLI structure which could help with integrations into existing apps.

I'm curious what type of app are you integrating or how are you wanting to use the Mobile SDK in your RN app. This could help us better understand how to help and possibly evolve the Mobile SDK.

Again, I apologize if we caused you frustration our team is very small and we try to address every issue and question that comes in from our over 3000+ bespoke application teams.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests