Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (16 sloc) 1.34 KB
<Page xmlns="http://schemas.nativescript.org/tns.xsd"
xmlns:Facebook="nativescript-facebook"
loaded="pageLoaded" class="page">
<StackLayout class="login-buttons">
<Facebook:LoginButton automationText="fbLogin" login="{{ onLogin }}"></Facebook:LoginButton>
<Button tap="{{ login }}" text="Continue with Facebook (Custom)" automationText="facebookCustom"></Button>
<Button tap="{{ getCurrentAccessToken }}" text="Get current access token"></Button>
<Facebook:ShareButton content="{{ linkContent }}"></Facebook:ShareButton>
<Facebook:SendButton content="{{ genericContent }}"></Facebook:SendButton>
<Button tap="{{ onShareDialog }}" automationText="Open Share dialog" text="Open Share dialog (link)" visibility="{{ canShowLinksShareDialog ? 'visible' : 'collapsed' }}" ></Button>
<Button tap="{{ onShareDialogPhotos }}" text="Open Share dialog (photos)" visibility="{{ canShowPhotosShareDialog ? 'visible' : 'collapsed' }}"></Button>
<Button tap="{{ onSendDialog }}" text="Open Message Share dialog" visibility="{{ canShowLinksMessageDialog ? 'visible' : 'collapsed' }}"></Button>
<Button tap="{{ onSendGenericDialog }}" text="Share Message Generic Template" visibility="{{ canShowGenericMessageDialog ? 'visible' : 'collapsed' }}"></Button>
<Button tap="{{ logEventAction }}" text="Log Event"></Button>
</StackLayout>
</Page>
You can’t perform that action at this time.