I wanted to know what are the best practices you guys follow while integrating let's say 30+ third party SDK's in your app. Also each SDK have a different version for debug and release mode. So how do you keep your code clean and readable and at the same time make sure all the SDKs are initialized correctly.
Cases:
- Should we initialize all the SDKs in MainApplication.kt which is extending the Application class
- Should we initialize all the SDKs in MainActivity.kt which is the single activity holding all the fragments.
- Should we initialize them on Splash Activity which gets finished after few seconds.
- Or any other approaches ?
- Also how do you maintain cleanliness in code for different SDKs having multiple keys for debug/release builds.
Thanks for going through and giving any response if you have.