Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Facebook login using foreign code

This sample shows how we can get Facebook login working with Fuse using the Facebook Android and iOS SDKs. It is part of the tutorial over at Fuse's docs page, so head over there if that's not where you came from!

The main login functionality is implemented in the FacebookLogin Uno project in the FacebookLogin folder.

Setup

You will need to register for a Facebook App ID and fill it in as Facebook.AppID in FacebookAppId.uxl.

Building

To build for Android, we need to enable Gradle. The Facebook SDK for Android dependency will then be handled automatically by Gradle.

Use e.g. uno build --target=Android -DGRADLE --run.

To build for iOS, use .e.g uno build --target=iOS --run. The Facebook SDK for iOS will be downloaded automatically.