I'm trying to implement Fabric into my app. The problem is, that the app isn't working correctly and I have no idea what code to place in my AppDelegate. I can't find any information on the web what should I implement there. Can anyone give me a tip, what functions should I implement in my AppDelegate?
Assuming you used the build script to setup Fabric, it will have placed the appropriate consumerKey
and consumerSecret
in your project's info.plist.
You can initialize Fabric with this method:
Swift
Fabric.with(Twitter(), Crashlytics()) // Add whichever Kits you are using
ObjectiveC
[Fabric with:@[[Twitter sharedInstance]]] // Add whichever Kits you are using
Double check that your plist contains an entry for Fabric and add this line of code to your application:didFinishingLaunchWithOptions:
method.
https://dev.twitter.com/twitter-kit/ios/configure
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With