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
| Client | Sample | Step-by-step guide |
|---|---|---|
| Web | widget/web | Quick Start Wink Widget |
| Android | widget/android-webview | Quick Start In Android Webview |
| iOS | widget/iOS-webview | Quick Start In iOS Webview |
| React Native | widget/react-native | Quick Start In React Native Webview |
| Flutter | widget/flutter_webview | Quick 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:8000GET /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 Name | Full Name | Mobile Phone | Password | Verification Code | SS Number | |
|---|---|---|---|---|---|---|
| George | George Palomero Jr. | [email protected] | (+63) 9559991234 | 123456 | 1234 | 3300000008 |
| Ryan | Ryan Lestari | [email protected] | (+62) 8119994321 | 654321 | 1234 | N/A |
| Christina | Christina Tan | [email protected] | (+65) 99996789 | YGUS1 | 1234 | N/A |
| Anisha | Anisha Bhatia | [email protected] | (+91) 9511198765 | 123456 | 1234 | N/A |
Every Sandbox link returns mock employment data. A successful run ends with status: COMPLETED and the account in the CONNECTED state.
NoteArchives 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
| Step | Expect |
|---|---|
| Open the sample page | The widget entry renders and the page has a token |
| Link an account | The hosted flow completes and onAccountConnected fires |
| Demo server stopped | The page reports that it cannot get a token |
| Mobile viewport | The widget fills the screen without horizontal scrolling |

