-
Notifications
You must be signed in to change notification settings - Fork 27
feat: Set app-secret dynamically in code #25
Comments
@dylanvdmerwe, thank you for your feature request and sorry for the delay. In short: in a lifecycle of an app, you can only set the app secret once, before using any of the SDK features. So could you please clarify to us what it is that you want to do:
|
Even though I'm not the author, I think he ment the second thing. That will allow others to change the ID during CI/CD phase easily (the way everyone is used to). |
I would recommend a simple |
@annakocheshkova I, I believe like the author above, want to accomplish the second point: "the ability to set the secret in code..." You say it can be done—how? |
@adamterlson unfortunately, this requires some work to be done in the plugin, that is why this is a feature request. We will keep this thread open for visibility and keep you posted once we plan to support it for Cordova. |
@annakocheshkova I'd also be interested in that feature. As you have outlined correctly in your initial reply, it is indeed about the fallback of setting the Is there any update with regard to that feature request? Otherwise I'd also be happy to contribute accordingly. I really would like to get rid of my hacky Cheers! |
We have many automated build processes which set different variables depending on the OS and environment.
It would be great to be able to set the App Secret value through JS instead of in the config.xml file.
The text was updated successfully, but these errors were encountered: