cross-platform code
nounUK /ˌkrɒs ˈplætfɔːm kəʊd/
US /ˌkrɔːs ˈplætfɔːrm koʊd/
Code that works on many kinds of computers and devices.
The team wrote cross-platform code so the game runs on phones and laptops.
OTHER MEANINGS
2. Software source that can be built for several operating systems without major changes.
Their cross-platform code compiles for Windows, macOS, and Linux.
3. A coding style that avoids features tied to one device or system.
Writing cross-platform code means skipping system-specific shortcuts.
4. Shared code used by apps on mobile and desktop at the same time.
The app's cross-platform code keeps the phone and desktop versions in sync.