launchdarkly / ios-client-sdk

LaunchDarkly Client-side SDK for iOS (Swift and Obj-C)
https://docs.launchdarkly.com/sdk/client-side/ios
Other
68 stars 82 forks source link

Using LaunchDarkly inside SPM packages #372

Open ahmdyasser opened 2 months ago

ahmdyasser commented 2 months ago

I have a tech question, is it a good practice to use LaunchDarkly SDK in an SPM, and the iOS app that uses that SPM also uses LaunchDarkly SDK. Is this normal or it will cause issues?

tanderson-ld commented 2 months ago

Hi @ahmdyasser, we haven't tested this and anticipate there could be issues due to how the instances persist data in storage. We will be discussing this case tomorrow. I will respond with conclusions from that discussion.

ahmdyasser commented 2 months ago

@tanderson-ld I really appreciate it, waiting for your response

tanderson-ld commented 2 months ago

@ahmdyasser, we discussed on team yesterday, but we didn't reach a conclusion in those discussions. The problem is not trivial due to requirements from many different parties involved in a software stack and distributed application. We plan to continue discussing this problem and working towards a solution that can work for the iOS SDK as well as our other client SDKs. I can't really give a good estimate of when we might officially support this and don't want to give unrealistic expectations.

ahmdyasser commented 2 months ago

Really appreciated, thank you. I'll be glad to hear any update