TwitterKit v3 - Embedding consumer secret seems insecure



I’m wondering why the integration instructions show inlining the Consumer Secret - which essentially makes it no longer a secret.

This is new for v3.

Seems like a problem.


I’m aware of this too. Then again the secret was included in the info.plist before so it wasn’t exactly a secret before either. Twitter’s own page exposing the secret to us specifically says to not use the secret like that.

Why is storing consumer secret in IOS app acceptable?