Automating searches may violate Microsoft Rewards terms. I built this for personal use, so proceed at your own risk.
Bing Rewards Automator started as a fork of spin311's microsoft_rewards_app, a Flutter app for automating daily mobile Bing searches. It worked, but shipping a multi-platform Flutter runtime just to drive an Android WebView and a search loop felt bloated. The original app also lacked basic quality-of-life features like dark mode.
I rewrote the app from scratch in native Kotlin and Jetpack Compose to drop the framework overhead and make it more efficient on Android. That also gave me room to add dark mode, AMOLED screen-off overlays, Material 3 Expressive components, and Android 16 Live Updates without breaking upgrades for anyone still on the old Flutter builds.
Keeping in-place upgrades
Anyone updating from the old Flutter release (v2.0.0 and earlier) already had their login session, search settings, and daily streak saved in Flutter's SharedPreferences format. To keep that data intact across an update:
- I kept the same
applicationId(com.znarfm.bing) and release keystore (upload-keystore.jks). PreferencesRepositoryreads and writes directly toFlutterSharedPreferencesusingflutter.*keys andLong-encoded integers, matching what Flutter'sshared_preferencesplugin expects.
Updating from Flutter to the native Kotlin build works like a normal app update, and your Microsoft session, theme choice, and streak carry over.
Architecture
The app uses a single Activity and a single ViewModel with no dependency injection framework:
MainActivityhosts Compose (LoginScreenuntil signed in, thenSearchScreen) and handles keep-screen-on, immersive AMOLED mode, and foreground/background transitions.SearchViewModelexposes aStateFlow<AppUiState>and runs the serial search loop.- One-shot navigation commands go to the persistent
WebViewthrough a KotlinChannel(webViewUrlCommands) instead of aSharedFlow, so URL commands are never dropped during recomposition.
Before starting a run, SearchViewModel checks CookieManager for Bing's _U auth cookie so searches count toward your account. WordGenerator then builds distinct queries from templates (cities, foods, animals, hobbies) instead of repeating single-word spam.
Each search waits for WebViewClient to report a main-frame finish on bing.com/search (with a 20-second timeout and one retry), then pauses for a randomized delay (±30% jitter around your configured interval, floored at 1 second) before firing the next query. Turning on Data Saver blocks WebView images and media so runs stay fast on mobile data.
Material 3 Expressive UI
I built the interface with Material 3 Expressive (material3:1.5.0-rc01) using MaterialExpressiveTheme and MotionScheme.expressive().
Both LinearWavyProgressIndicator and CircularWavyProgressIndicator flatten their wave near 0% and 100% by default, so I forced amplitude = { 1f } with wavelength = 20.dp and an indeterminate state during the initial 0% load. Settings sit inside SegmentedListItem rows and fixed-row connected ToggleButton groups (connectedLeadingButtonShapes() and connectedTrailingButtonShapes()).
For theming, the app supports Material You dynamic wallpaper colors on Android 12+, a Microsoft Blue (#0061B0) seed fallback, a vector adaptive icon with Android 13+ monochrome tinting, and a pure-black #000000 AMOLED theme.
Android 16 Live Updates and screen-saving tools
Running 20 to 30 searches takes a few minutes, so the app tries to stay out of your way while it works:
- Backed by a
dataSyncforeground service (SearchForegroundService),NotificationHelpersetsPOST_PROMOTED_NOTIFICATIONS,android.requestPromotedOngoing, a compactshortCriticalTextstatus-bar chip (x/y), aStopaction button, andProgressStyleprogress tracking. - An optional AMOLED screen-off overlay covers the display in sticky immersive black during active runs, with a 1.5-second hold-to-wake ring (or double-back) when you want to check progress.
- During a run, the app can dim the backlight to minimum and use the proximity sensor to turn the screen off when placed face-down or in a pocket.
WorkManagerschedules daily reminders that skip if you already finished your searches that day, andUpdateCheckerpolls GitHub Releases for ABI-aware APK updates installed viaFileProvider.
Build and release
The native rewrite is on GitHub with CI unit tests (./gradlew testDebugUnitTest), ktlint formatting, and tagged release builds that output both universal and ABI-split APKs.