platform-specific code
nounUK /ˈplætfɔːm spəˈsɪfɪk kəʊd/
US /ˈplætfɔːrm spəˈsɪfɪk koʊd/
Code written to work on only one kind of computer or device.
The app uses platform-specific code so it can use the phone's camera.
OTHER MEANINGS
2. Instructions that only run on one operating system, like Windows or Android.
That game has platform-specific code for each console.
3. Parts of a program that must be changed before it works on another device.
The team separated the platform-specific code from the shared logic.
4. Code that uses features unique to one hardware or software environment.
Push notifications needed platform-specific code for iOS and Android.