All jobs / Mobile developer / Cross-Platform
Mobile developer interview question · 1–3 years
Flutter needs a platform API the plugin ecosystem does not cover. How do you reach it?
The strongest answer
A small platform channel (or FFI where it fits) with a clear boundary, errors surfaced to Dart, and a test on both OS versions you claim
Why it works
Exactly. One boundary, typed errors, tested on both sides.
What a good answer covers
- Keep the native surface small.
- Surface errors; do not swallow them.
- Test iOS and Android.
- Prefer a maintained plugin when it exists.
Answers that fall short
- Close, but not the strongest: Copy-paste platform code into every screen that needs it
Duplicated platform code is how the two OS copies drift. - Weak: Call into Android internals with a MethodChannel name I guess at runtime
Guessed channel names are production crashes. - Red flag: Ask users on iOS to skip the feature; channels are Android-only
Channels exist on both platforms.
Who gets asked this
More Cross-Platform questions
- A React Native app is still on the old bridge. When do you move to the New Architecture?
- A Flutter screen parses a large file and the UI freezes for about a second while it does. Why, and what do…
- A cross-platform codebase has is-iOS / is-Android checks scattered through the screens, and a fix for one…
- A Flutter upgrade enables Impeller everywhere. What do you do before the store push?
- A native app will host one React Native flow. What do you insist on?
- An RN screen is slow and the team wants to “rewrite in native.” What do you do first?
- You will migrate a native app toward RN (or the other way) over a year. What does the programme look like?
- Frontend web engineers will contribute to RN. What ownership model actually works?