You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 5, 2021. It is now read-only.
whenever I try to add an account on thw Xamain.Social Twitter UI, my app freezes and Android asks me whether to close or wait. Below is the minimal application based on the sample app. On the twitter side I added read and write permissions as well as checked "Allow this application to use 'Sign in with Twitter'". I filled in some arbitrary values for website/description and app name, I left callback URL blank.
Tested on Android 4.4 (Api Level 19).
[Activity(Label ="Xamarin.Social Sample", MainLauncher =true)]publicclassMainActivity:Activity{privatestaticreadonlyTwitterServiceTwitter=new TwitterService {ConsumerKey="XXX",ConsumerSecret="XXX"//CallbackUrl = new Uri("Callback URL from https://dev.twitter.com/apps")};protectedoverridevoidOnCreate(Bundlebundle){base.OnCreate(bundle);
SetContentView(Resource.Layout.Main);ButtontwitterButton=FindViewById<Button>(Resource.Id.Twitter);
twitterButton.Click +=delegate{Itemitem=new Item {Text="I'm sharing great things using Xamarin!",};Intentintent= Twitter.GetShareUI(this, item,null);
StartActivity(intent);};}}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
whenever I try to add an account on thw Xamain.Social Twitter UI, my app freezes and Android asks me whether to close or wait. Below is the minimal application based on the sample app. On the twitter side I added read and write permissions as well as checked "Allow this application to use 'Sign in with Twitter'". I filled in some arbitrary values for website/description and app name, I left callback URL blank.
Tested on Android 4.4 (Api Level 19).
The text was updated successfully, but these errors were encountered: