TWTRSession object getting nil when we use the "App dynamic framework" We can't able to retrieve session

ios
fabric
twitterkit

#1

Here you go detailed description :

We are using TwitterKit latest version installed via Cocoapods with fabric stuff.The configuration done by using below reference doc.

https://docs.fabric.io/apple/fabric/overview.html

application didFinishLaunchingWithOptions method the following setup added

[[Twitter sharedInstance]startWithConsumerKey:@“key value” consumerSecret:@“key value”];
[Fabric with:@[TwitterKit]];

//App Dynamics setup
[ADEumInstrumentation initWithKey : @“key value”];

[[Twitter sharedInstance] logInWithCompletion:^(TWTRSession *session, NSError *error)
{
if (session) // Session object getting nil here.
{
[[[Twitter sharedInstance] APIClient] loadUserWithID:[session userID]
completion:^(TWTRUser *user,
NSError *error)
{
// Pushing Twitter contrller;
}];
}
else
DLog(@“error: %@”, [error localizedDescription]);
}];

Console Log :[TwitterKit] “initWithAuthToken:authTokenSecret:userName:userID: Invalid parameter not satisfying: authToken”

Note : Issue happening only when use the App dynamic set up added.
Example : //App Dynamics setup
[ADEumInstrumentation initWithKey : @“key value”];
With out using app dynamic we do login with Twitter account but concern is we have to manage the both the framework (TwitterKit and AppDynamic)

Please let us know is there any other way to maintain the session object.Looking forward your solution ASAP.

Thanks in advance !!!.


TWTRSession object getting nil when we use the "App dynamic framework" We can't able to retrieve session
#2

If the issue doesn’t occur without App Dynamics included, then we may not be able to help much as it looks like they are interfering with storing sessions. Can you delay the init of App Dynamics until after the Login is finished? I’d also recommend reporting the bug to App Dynamics.

-Mike