Sample Apps

Runnable samples for Web, Android, iOS, React Native and Flutter live in the Smile Quickstart repository; the Wink examples are under widget/.

Each sample opens the same widget page, asks the demo server for a Link token, and prints every callback. Use them to watch a working integration before you build your own — or to compare against it when something behaves differently.

Supported clients

ClientSampleStep-by-step guide
Webwidget/webQuick Start Wink Widget
Androidwidget/android-webviewQuick Start In Android Webview
iOSwidget/iOS-webviewQuick Start In iOS Webview
React Nativewidget/react-nativeQuick Start In React Native Webview
Flutterwidget/flutter_webviewQuick Start In Flutter Webview

Run the demo server

Every sample asks this Node server for a token, so your API secret never leaves the backend:

git clone https://github.com/SmileAPI/quickstart
cd quickstart/node
cp .env.example .env     # APP_PORT, API_KEY, API_SECRET, OPEN_API_HOST
npm install
npm start                # http://localhost:8000

GET /api/create_link_token exchanges the Open API key in .env for the token the widget opens with. The web sample is then at http://localhost:8000/widget/index.html.

Test in Sandbox

Sign in to a provider with one of these test accounts — never a real user's credentials:

User NameFull NameEmailMobile PhonePasswordVerification CodeSS Number
GeorgeGeorge Palomero Jr.[email protected](+63) 955999123412345612343300000008
RyanRyan Lestari[email protected](+62) 81199943216543211234N/A
ChristinaChristina Tan[email protected](+65) 99996789YGUS11234N/A
AnishaAnisha Bhatia[email protected](+91) 95111987651234561234N/A

Every Sandbox link returns mock employment data. A successful run ends with status: COMPLETED and the account in the CONNECTED state.

📘

Note

Archives in Sandbox Mode return only specific payslips. To test Archives, download the sample payslips in the Developer Portal and upload them through the widget or the API; other files return errors.

What to check

StepExpect
Open the sample pageThe widget entry renders and the page has a token
Link an accountThe hosted flow completes and onAccountConnected fires
Demo server stoppedThe page reports that it cannot get a token
Mobile viewportThe widget fills the screen without horizontal scrolling