Sample apps for the Facebetter SDK. Clone this repository, then open the demo for your platform. iOS and Android share filter / sticker assets with the Web demo, so keep the repo intact when you build those apps.
| Platform | Sample | Install |
|---|---|---|
| iOS | demo/ios |
pod install — CocoaPods Facebetter 2.2.1. Open FBDemo.xcworkspace |
| Android | demo/android |
Maven Central net.pixpark:facebetter:2.2.1. Open the folder in Android Studio |
| Web | demo/web/react |
npm install — npm facebetter@2.2.1 |
| macOS | demo/macos |
pod install — CocoaPods Facebetter 2.2.1. Open the .xcworkspace |
| Desktop C++ | demo/cpp |
Unzip the C++ SDK into demo/cpp/sdk/, then cmake -B build. See the Windows / Linux guides |
| Expo | demo/expo |
npm install, then npx expo run:android or npx expo run:ios. Does not run in Expo Go |
# iOS
cd demo/ios && pod install && open FBDemo.xcworkspace
# Android — open demo/android in Android Studio, or:
cd demo/android && ./gradlew :app:installDebug
# Web
cd demo/web/react && npm install && npm run dev
# macOS
cd demo/macos && pod install
# Expo — generates the native project, then installs a debug build
cd demo/expo && npm install && npx expo run:android
cd demo/expo && npx expo run:iosReplace the demo AppID / AppKey (or license token) with credentials from the console, and bind the sample’s bundle ID / package name. Details: License & Auth.
Facebetter documentation — quick start, API reference, and platform guides:
- Website: https://facebetter.net
- SDK download: https://facebetter.net/download