Consumer key get uppercase or lowercase, whether the Twitter app is installed or not

ios
oauth

#1
  • When Twitter app is not installed in iPhone.
 url NSURL * @"twitterkit-lowercase_consumer_key://callback?app=xxxxxx&oauth_token=xxxxxx"

(lldb) po url.scheme 
twitterkit-[lowercase_consumer_key]
  • When Twitter app is installed in iPhone.
url NSURL * @"twitterkit-uppercase_consumer_key:://secret=xxxxx&token=xxxxxx&username=xxxxx"

(lldb) po url.scheme 
twitterkit-[uppercase_consumer_key]
  • Why does consumer key become uppercase or lowercase?
  • I am using the SDK version below
  pod 'Fabric', '1.6.11'
  pod 'TwitterKit', '3.0.3'
  pod 'TwitterCore', '3.0.0'