I'm currently working on developing a mobile app that connect to my own Salesforce organizations. I have created the application using forcereact as mentioned in their Official Documentation: https://developer.salesforce.com/docs/atlas.en-us.mobile_sdk.meta/mobile_sdk/react_native_new_project.htm
The app authenticate the user by opening a Secure login webpage and authenticate the user based on Consumer Key provided in android>app>src>main>res>values>bootconfig.xml file. The file contains remoteAccessConsumerKey, oauthRedirectURI and oauthScopes which are configured on Connected app in Salesforce Org. Salesforce link: https://developer.salesforce.com/docs/atlas.en-us.mobile_sdk.meta/mobile_sdk/connected_apps.htm
My goal is to create a generic app that can be downloaded from Mobile app stores and used by individuals with their own Salesforce orgs. However, I'm unsure about the best approach to make the app generic and ensure a seamless connection to users' individual Salesforce orgs without relying on a specific Consumer Key that is provided by Connected App.
I would greatly appreciate any guidance, advice, or best practices you can provide for implementing this functionality to make a generic mobile app which can be used by anyone.