Just an update. I’ve found where the key and secret are defined (On the FabricSettings.asset) and my keys and secret were set to the values for the app in app.twitter.com rather than the fabric generated apps. Is this correct?
I changed them to the fabric key and secret to investigate but it made no difference.
EDIT:
Well turns out you were right! I had been using a filtered version of logcat for some testing and forgot about it, so I was missing all the important log messages.
09-15 15:47:24.631 9493 14352 E TweetUploadService: Post Tweet failed
09-15 15:47:24.631 9493 14352 E TweetUploadService: com.twitter.sdk.android.core.TwitterException: Uri file path resolved to null
09-15 15:47:24.631 9493 14352 E TweetUploadService: at com.twitter.sdk.android.tweetcomposer.TweetUploadService.uploadAppCardTweet(TweetUploadService.java:107)
09-15 15:47:24.631 9493 14352 E TweetUploadService: at com.twitter.sdk.android.tweetcomposer.TweetUploadService.onHandleIntent(TweetUploadService.java:79)
09-15 15:47:24.631 9493 14352 E TweetUploadService: at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)
09-15 15:47:24.631 9493 14352 E TweetUploadService: at android.os.Handler.dispatchMessage(Handler.java:102)
09-15 15:47:24.631 9493 14352 E TweetUploadService: at android.os.Looper.loop(Looper.java:148)
09-15 15:47:24.631 9493 14352 E TweetUploadService: at android.os.HandlerThread.run(HandlerThread.java:61)
So the path I am passing in seems to be failing, I’m sure it will work once I fix that.
This is the path I am using “/storage/emulated/0/Android/data/uk.co.company.myapp/files/AppCardImage.png”, is there something wrong with this as a URI?